Pavel Minaev
79882c1861
Fix linker flags for attach-to-process binaries to comply with APIScan requirements.
2023-12-13 21:40:57 -08:00
Pavel Minaev
ef9a67fe15
Fix #1337 : Get port info from debugpy
...
Send "debugpySockets" event with information about opened sockets when clients connect and whenever ports get opened or closed.
2023-10-06 09:55:52 -07:00
Adam Yoblick
7d09fb24dd
Merge pull request #1390 from microsoft/add_ruff_config
2023-09-20 14:39:51 -05:00
Adam Yoblick
131afb5a07
allow ruff to fail the build if errors are detected
2023-09-19 15:31:15 -05:00
Adam Yoblick
9cc65eb123
disable this linter error
2023-09-19 15:29:18 -05:00
Adam Yoblick
98032d8d7f
add ruff section to pyproject.toml
2023-09-19 15:25:34 -05:00
Pavel Minaev
4a03787784
Don't build or test on Python 3.7
2023-09-12 11:14:55 -07:00
Pavel Minaev
cbd0c2a1c1
Fix #1379 : Error while enumerating installed packages.
...
When logging environment info, report all errors at "info" level.
2023-09-12 10:10:49 -07:00
Pavel Minaev
5723ed6b1a
Force setuptools version in tests via tox.ini as well.
2023-09-05 13:20:31 -07:00
Pavel Minaev
9e8d1033d0
Use setuptools<66 for Python 3.7
2023-09-05 13:20:31 -07:00
Pavel Minaev
3937f0d10a
Use pip install -U to install setuptools.
2023-09-05 13:20:31 -07:00
Pavel Minaev
6ce72e20c8
Fix pipeline condition syntax.
2023-09-05 13:20:31 -07:00
Pavel Minaev
912bc4fe48
Add timeout for linting job.
2023-09-05 13:20:31 -07:00
Pavel Minaev
9df4bbdbfe
Exclude more exceptional cases from coverage.
2023-09-05 13:20:31 -07:00
Pavel Minaev
9df16cec07
Re-enable coverage for debugpy.common.log and use comments to exclude specific lines instead.
2023-09-05 13:20:31 -07:00
Pavel Minaev
8e91dfb085
Exclude more error paths from codecov.
...
Exclude common/log.py from codecov as there are many debug helpers there.
2023-09-05 13:20:31 -07:00
Pavel Minaev
16d39cc173
Use setuptools<68 for Python 3.7
2023-09-05 13:20:31 -07:00
Pavel Minaev
6340818a0e
Enumerate installed packages & versions in the log as part of environment info.
2023-09-05 13:20:31 -07:00
Pavel Minaev
2fcb85fdfa
Reduce verbosity for successful tests.
2023-09-05 13:20:31 -07:00
Pavel Minaev
ea3904ccb6
Don't force-upgrade pip and setuptools for test runs.
2023-09-05 13:20:31 -07:00
Pavel Minaev
9997094101
Don't force-upgrade setuptools for test runs to avoid pkg_resources deprecation warning in gevent.
2023-09-05 13:20:31 -07:00
Pavel Minaev
ffec1b2db7
Fix find_namespace_packages
2023-09-05 13:20:31 -07:00
Pavel Minaev
7b985fd36b
Use Black formatter only for Python files.
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
Pavel Minaev
86d542e559
Fix Python version mismatch.
2023-08-28 13:14:39 -07:00
Pavel Minaev
88bf2c7827
Fix -Xfrozen_modules use in tests.
2023-08-28 13:14:39 -07:00
Pavel Minaev
119ca8e589
Add Python 3.11 to test matrix.
...
Use Python 3.11 for coverage runs.
2023-08-28 13:14:39 -07:00
Pavel Minaev
1a18cdc5b8
Update attach_to_process binaries. Fixes #1370
2023-08-24 12:28:32 -07:00
Pavel Minaev
85ceaf7d99
Rebuild attach_to_process binaries on changes to attach_to_process.yml.
2023-08-24 10:57:14 -07:00
Pavel Minaev
cd51305592
Fix #1370 : macOS wheel tag mismatched
...
Build macOS attach binaries on macos-11 runner.
2023-08-24 10:57:14 -07:00
Pavel Minaev
2d6a224471
Update injected binaries and helpers for attach-to-process.
2023-08-24 10:18:50 -07:00
Pavel Minaev
f9372813f3
Run attach_to_process pipeline on PRs touching the corresponding directory.
2023-08-23 15:49:31 -07:00
Pavel Minaev
6e08ce2050
Add GitHub Action workflow to build pydevd_attach_to_process binaries.
2023-08-23 15:49:31 -07:00
Adam Yoblick
39ad5f47c5
Merge pull request #1362 from microsoft/testing_internal_pipeline
2023-08-18 14:44:22 -05:00
Adam Yoblick
2f48fc6479
Dummy commit to test internal pipeline trigger
2023-08-18 14:37:16 -05:00
Pavel Minaev
83baa6d302
Fix -Xfrozen_modules warnings in test runs on Python 3.11 and 3.12
2023-08-17 11:00:07 -07:00
Pavel Minaev
db3452db32
Use importlib.module_from_spec instead of imp.new_module (removed in Python 3.12).
2023-08-17 11:00:07 -07:00
Pavel Minaev
10aa6ffc6e
Fix DeprecationWarning in Python 3.12 due to use of co_lnotab
2023-08-17 11:00:07 -07:00
Pavel Minaev
12117683e7
Unpin greenlet in tests/requirements.txt
2023-08-16 14:58:54 -07:00
Kira Bruneau
1569cc8319
Support disabling process timeouts when set to 0
...
Before this change, there wasn't any way to disable process timeouts,
but now you can with:
DEBUGPY_PROCESS_SPAWN_TIMEOUT=0
DEBUGPY_PROCESS_EXIT_TIMEOUT=0
2023-08-16 09:47:13 -07:00
Pavel Minaev
d642538d7b
Don't assume column number to be 1, since this is no longer correct in Python 3.11.
2023-08-14 14:06:06 -07:00
Adam Yoblick
d55e351030
Merge pull request #1353 from microsoft/yaml_cleanup
2023-08-14 15:48:54 -05:00
Adam Yoblick
829957d3e1
Set linter step to continue on error
2023-08-14 15:01:16 -05:00
Adam Yoblick
8df8d343f3
make linter exit with zero, even on failures
2023-08-11 17:32:15 -05:00
Adam Yoblick
d75b1f4ec1
Cleaned up yaml using the redhat yaml linter and azure pipelines schema
2023-08-11 17:17:43 -05:00
Adam Yoblick
014cdac951
Add CI and PR triggers to coverage pipelines
2023-08-11 16:10:40 -05:00
Adam Yoblick
86a0ede4c1
Switch linter from flake8 to ruff
2023-08-11 15:13:14 -05:00
Adam Yoblick
894fd5e4f4
Merge pull request #1349 from microsoft/increase_coverage_timeouts
2023-08-10 13:43:00 -05:00
Adam Yoblick
6bb82234e2
Increase timeouts even more
2023-08-10 13:06:53 -05:00
Adam Yoblick
f22e1851ef
increase coverage timeouts
2023-08-09 16:20:39 -05:00