Commit graph

32 commits

Author SHA1 Message Date
Pavel Minaev
5efc9c5470 Refactor timeline:
- implicit freezing on wait
- wait_for_next() and expect_new()
- unobserved occurrences checking
- timeline slicing into intervals
- queue-based timeline for accurate timestamps
- finer-grained timeline tests
- tighen up ptvsd tests
- pretty colors!
2018-10-11 14:01:39 -07:00
Pavel Minaev
23c118aae4 Fix #811: new socket server to receive pid and port for subprocesses (#871)
* Fix #811: new socket server to receive pid and port for subprocesses

* Install test dependencies from test_requirements.txt on Travis

* Multiproc support can't handle os.fork() as implemented.

On Python 3.4+, use set_start_method('spawn') to ensure that multiprocessing module doesn't use fork.

On lower versions, skip the test.

* Restrict the multiprocessing test to Windows for now.
2018-10-11 14:01:39 -07:00
Pavel Minaev
b47df51478
Test & infrastructure cleanup, stage 1 (#850)
* Add new JSON IPC implementation to be shared between the product and the tests.

Add pytest-based test support, and wire it up to setup.py and Travis.

Dial pylint down to complain about important things only.

Various minor fixes exposed by pylint.

Add basic .vscode/settings.json for linter settings (and anything else that's workspace-specific).

Fixes #831.
2018-09-27 00:36:48 -07:00
Karthik Nadig
634926b6a8
Change release type from alpha to production (#759) 2018-08-22 10:54:34 -07:00
Hugues Valois
26fae95019 Update setup.py (#522) 2018-06-25 16:31:45 -07:00
Karthik Nadig
618a107e11
Compatibility python 3.4 (#519)
* Test compat fixes for python 3.4 tests

* Enable python 3.4 CI in travis

* Fix for 3.4 missing text in traceback list

* Fix linter

* Add python 3.4 to classifiers

* Fix for line text
2018-06-25 13:20:22 -07:00
Karthik Nadig
5464b0d3cf
Update pypi info (#480)
* Update pypi info

* Using python_requires to makesure pip only download on supported versions of python
2018-06-15 12:59:01 -07:00
Eric Snow
7ca01fb2de
Clean up handling of vendored projects. (#383)
* Clean up handling of vendored projects.

* Add the ptvsd._vendored package.

* Try the new location and fall back to the old one.

* Fix a typo.

* Add ptvsd._vendored.list_all().

* Fix setup.py and tests/__main__.py.

* Exclude .pyc files (from python 2).

* Deal with implicit relative imports in 2.7.
2018-04-19 18:20:06 -06:00
Pavel Minaev
06f8b73b7a Set up versioneer to auto-generate version numbers from git. 2018-04-11 14:00:48 -07:00
Pavel Minaev
c7d5f0be0c Update version number to 4.0.0a6 2018-04-05 15:18:59 -07:00
Pavel Minaev
2e2f838efd Remove dummy.txt hack 2018-03-28 21:42:18 -07:00
Pavel Minaev
d76bf5676e Disable long_description for now - breaks setup.py sdist. 2018-03-28 21:04:28 -07:00
Pavel Minaev
39d70cca35 Fix ThirdPartyNotices.txt inclusion 2018-03-28 21:01:02 -07:00
Pavel Minaev
6698947e87 Add package information. 2018-03-28 15:18:43 -07:00
Pavel Minaev
84f5c990e4 Update version number to 4.0.0a5 2018-03-28 12:48:31 -07:00
Pavel Minaev
61836b95ed Update version number to 4.0.0a4 2018-03-24 12:41:04 -07:00
Pavel Minaev
f98ea8b4a4 Update version number to 4.0.0a3 2018-03-21 12:13:06 -07:00
Eric Snow
86baf5a0f8 lint 2018-03-20 00:53:45 +00:00
Pavel Minaev
1ea628dbb6 Fix #220: Remove py2 from wheel tag. Gracefully handle Cython extension build failure. 2018-03-19 11:59:40 -07:00
Pavel Minaev
3a63c00330 Include setup_cython.py into dist package 2018-03-19 11:20:16 -07:00
Pavel Minaev
df5d1a1863 Update version number to 4.0.0a2 2018-03-19 10:56:45 -07:00
Steve Dower
a70c560192 Run cython build as part of setup.py, except when using build_all.ps1 2018-03-16 14:41:54 -07:00
Steve Dower
58d50a58da Fixes build and adds support for code signing native binaries. 2018-03-16 13:36:04 -07:00
Eric Snow
645d7182a9 Fix setup.py linting. 2018-02-26 19:31:42 +00:00
Steve Dower
54af7a504c Fixes #107 pip installing ptvsd fails on Python 2 2018-02-23 15:33:08 -08:00
Steve Dower
4746d22ae1
Merge branch 'master' into tpn 2018-02-22 11:58:23 -08:00
Steve Dower
665fec85f5 Makes extension module optional 2018-02-22 09:09:00 -08:00
Steve Dower
b041b98357 Adds third party notices files and ensures it is included in releases 2018-02-22 09:00:17 -08:00
Steve Dower
84ab0eca2f Adds extension module to setup.py 2018-02-21 16:10:54 -08:00
Pavel Minaev
dd90ba101f Vendor pydevd subtree. 2018-02-20 21:55:29 -08:00
Eric Snow
4095e94e6d Fix linting errors. 2018-01-10 19:57:30 +00:00
Pavel Minaev
3543b25329 Initial ptvsd commit 2017-12-12 12:32:17 -08:00