Adam Yoblick
853cc05f50
add debugpy entry point
2024-07-25 15:59:49 -05:00
Pavel Minaev
42853a99c4
Add Python 3.12 as officially supported.
2024-01-25 14:22:43 -08:00
Pavel Minaev
b9b09e662f
Fix #1408 : Can no longer expand Numpy arrays to view elements
...
Fix regression when loading pydevd plugins for numpy, pandas, and django.
Add smoke test for numpy arrays.
2023-12-15 00:14:23 -08:00
Pavel Minaev
4a03787784
Don't build or test on Python 3.7
2023-09-12 11:14:55 -07:00
Pavel Minaev
ffec1b2db7
Fix find_namespace_packages
2023-09-05 13:20:31 -07:00
Darren Meehan
70dba8e137
GH-1230 Use find_namespace_packages()
2023-09-05 13:20:31 -07:00
Brett Cannon
dbcc9486e4
Remove the EPL from the list of licenses
...
https://github.com/microsoft/debugpy/blob/main/LICENSE only lists MIT.
2023-06-20 17:20:52 -07:00
Pavel Minaev
7c8172e99c
Fix #1018 : setup.py doesn't fail if compiler is missing
...
Do not build pydevd extensions unless building debugpy.
Expose environment variable to control build failure mode if extensions fail to compile.
2022-10-05 12:01:08 -07:00
Pavel Minaev
1a6c323599
Remove Python 3.6 support.
2022-03-23 15:20:29 -07:00
Fabio Zadrozny
5e80ce1f77
More code changes related to dropping Python 2.7.
2022-03-19 07:57:42 -03:00
Andrii Oriekhov
356f665325
add GitHub URL for PyPy
2022-03-02 14:09:50 -08:00
Pavel Minaev
420a206385
Drop Python 3.5 on all platforms, and Python 3.6 on macOS.
2022-02-24 12:57:56 -08:00
Pavel Minaev
4f12b1b47f
Remove Python 2.7 from supported implementations and update versions of test packages.
2022-02-24 12:57:56 -08:00
Pavel Minaev
7cb12bed8b
Fix versioneer not updating _version.py.
2021-09-09 09:58:14 -07:00
Pavel Minaev
77b0a59bed
Filter vendored binaries based on filename, instead of a hardcoded list.
2021-08-27 12:52:58 -07:00
Pavel Minaev
68d82b02b2
Fix #155 : manylinux wheels don't pass auditwheel checks
...
For platform-specific wheels, do not include attach-to-PID binaries for other platforms.
2021-08-27 12:52:58 -07:00
Pavel Minaev
514e54fa2b
Fix non-universal wheels incorrectly having native code under purelib. (for #155 )
2021-08-20 12:28:11 -07:00
Karthik Nadig
18bd28165b
Add 3.9 classifier
2020-10-26 20:36:40 -07:00
Pavel Minaev
fde27e5a92
Fix #14 : Update package metadata in setup.py
2020-01-31 16:53:58 -08:00
Pavel Minaev
8b4c40e922
Rename ptvsd -> debugpy.
2020-01-17 11:57:13 -08:00
Pavel Minaev
03c75833d4
Reformat product code.
2019-10-03 18:31:37 -07:00
Pavel Minaev
340942aafc
Fix #1695 : Handle IDE, launcher, debug server, and no-debug disconnect
...
Fix #1721 "runInTerminal" is broken on non-Windows platforms.
Fix #1722 : Output is not captured in "noDebug" with "runInTerminal"
Groundwork for #1713 : adapter: multiple concurrent sessions
Move "launch" request parsing and debuggee process spawning, PID reporting and tracking, stdio "output" capture, and exit code reporting into launcher. Launcher now communicates to the adapter via a full-fledged message channel.
Refactor adapter. Add an abstraction for a debug session, and treat IDE, launcher, and debug server as separate components managed by that session.
Improve adapter logging to capture information about current debug session, and current message handler if any.
Fix reporting exceptions from message handlers.
Various test fixes.
2019-09-10 15:12:23 -07:00
Pavel Minaev
f71f0a5b0a
Tests refactoring. ( #1543 )
2019-06-28 10:13:00 -07:00
Pavel Minaev
7fbd5feebf
Fix imports to reflect the new package layout.
2019-05-30 13:47:56 -07:00
Karthik Nadig
4877164466
Fixes issue with building windows wheels ( #1098 )
...
* Try building ABI specific wheels
* Fix typo
* Fix another typo
* Skip cython rebuild
* Try some tweaks
* Revert "Skip cython rebuild"
This reverts commit 3ba6002e9cc1715d9202ec778adc52e6dc7b1732.
* More tweaks
* Fix pathlib install
* Disable 2.7 builds
* Try pure python builds
* Tweak and test pure builds
* Tweak pure builds
* Add universal wheel
* Try universal wheel
* Attempt to fix pyds
* Try re adding platform
* Keep install structure between builds
* Split how we build wheels for windows
* Fix broken sys argv
* Fix setup platform
* Adding some logging for filter
* Fix platform build script
* Ensure ABI tag
* Fix platform abi
* Test platform build of wheels
* fix platform metadata
* Log pyd file generation
* Log dir location for pyd
* recursively include *win*.pyd
* limit to pydevd pyds
* tweak manifest
* remove unused code
* restore manifest changes
* fix proj path
* Remove logging
* Add script for linux wheels (#3 )
* Add linux builds
* Simplify building bdist and sdist wheels.
* Try with frame eval off
* Ensure imports
* Add instructions to build linux wheels locally.
2019-01-18 10:26:55 -08:00
Pavel Minaev
b5b1e4145e
Remove code coverage. ( #1043 )
...
Remove setup.py test (doesn't work with Tox).
2018-11-19 20:59:02 -08:00
Pavel Minaev
a2bdacbe9c
Move ptvsd/ to src/ptvsd/.
2018-11-19 01:54:57 -08:00
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