Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test with Python 3.13 #10821

Merged
merged 75 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
2e8b7ad
ci: test with Python 3.13
brettlangdon Sep 26, 2024
d6a9e48
handle changed API in python 3.13
emmettbutler Oct 7, 2024
9a4b0a2
set build_core arg when compiling appsec/_iast/_stacktrace.c
emmettbutler Oct 7, 2024
79f5048
no stack_v2 on 3.13 because it doesnt compile
emmettbutler Oct 7, 2024
f9dddb8
upgrade pyo3 for py3.13 support
emmettbutler Oct 7, 2024
77dec79
change include for 3.13
emmettbutler Oct 7, 2024
6c24c8e
update dockerfile
emmettbutler Oct 7, 2024
d65c2e1
update bytecode dependency
P403n1x87 Oct 28, 2024
291fa65
Merge remote-tracking branch 'origin/main' into brettlangdon/3.13
P403n1x87 Oct 28, 2024
ae5b170
add support to the debugger
P403n1x87 Nov 4, 2024
a73fe2b
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 3, 2024
64647ca
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 9, 2024
9ffe7b3
depend on legacy cgi
emmettbutler Dec 9, 2024
e42adc6
update from dev version in gitlab
emmettbutler Dec 9, 2024
5606d86
missed a spot
emmettbutler Dec 9, 2024
8dee3e5
missed a spot
emmettbutler Dec 9, 2024
6b8c64a
recert some Dockerfile changes
emmettbutler Dec 9, 2024
ae31e7d
fix dockerfile for bookworm
emmettbutler Dec 9, 2024
ffa5852
typo
emmettbutler Dec 9, 2024
96f7c7f
real version
emmettbutler Dec 9, 2024
631e957
update sha
emmettbutler Dec 9, 2024
19b11d9
different SHA?
emmettbutler Dec 10, 2024
edd7b49
redo
emmettbutler Dec 10, 2024
0a50e83
upgrade pyenv
emmettbutler Dec 10, 2024
57d95c3
updated image
emmettbutler Dec 10, 2024
987f20a
typo and loosen requirement
emmettbutler Dec 10, 2024
6fe4d97
limit some suites that do not support 3.13
emmettbutler Dec 10, 2024
fd02700
disable some more
emmettbutler Dec 10, 2024
994cdc8
skip failing test
emmettbutler Dec 10, 2024
109e39d
skip more stuff
emmettbutler Dec 10, 2024
71dfa46
more skips
emmettbutler Dec 11, 2024
e4f44d9
more skips
emmettbutler Dec 11, 2024
80aff57
skip gunicorn test on 3.13
emmettbutler Dec 11, 2024
15abd77
skip symbol db test
emmettbutler Dec 11, 2024
285ec3b
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 11, 2024
c043b57
use different approach to skip iast import
emmettbutler Dec 11, 2024
568b2b1
include setuptools in this lockfile
emmettbutler Dec 11, 2024
f0bbf7c
a skip and a setuptools
emmettbutler Dec 11, 2024
4922861
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 11, 2024
e85c68a
reno
emmettbutler Dec 11, 2024
9faf261
update image in github requirements locks job
emmettbutler Dec 11, 2024
cbac0fd
Update ddtrace/appsec/_common_module_patches.py
emmettbutler Dec 12, 2024
a9803d3
Update hatch.toml
emmettbutler Dec 12, 2024
fd999f9
use gte to align with style norms
emmettbutler Dec 12, 2024
6159844
Revert "Update ddtrace/appsec/_common_module_patches.py"
emmettbutler Dec 13, 2024
ad5a991
don't use TaintRange because it might not be imported'
emmettbutler Dec 13, 2024
aaa2550
Reapply "Update ddtrace/appsec/_common_module_patches.py"
emmettbutler Dec 13, 2024
9b41ebb
Revert "Reapply "Update ddtrace/appsec/_common_module_patches.py""
emmettbutler Dec 13, 2024
d1bd125
typing
emmettbutler Dec 13, 2024
c9e5a96
style
emmettbutler Dec 13, 2024
3fba597
skip
emmettbutler Dec 13, 2024
ffc3551
undo unrelated refactor
emmettbutler Dec 13, 2024
3a801bd
dont revert test changes
emmettbutler Dec 13, 2024
7be0e66
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 13, 2024
8351cc4
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 16, 2024
369133c
undo
emmettbutler Dec 16, 2024
b1e186d
undo
emmettbutler Dec 16, 2024
96d8ae3
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 16, 2024
4a66049
skip failing tests
emmettbutler Dec 16, 2024
d78c403
Update releasenotes/notes/threethirteen-d40d659d8939fe5e.yaml
emmettbutler Dec 16, 2024
a7f69c0
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 16, 2024
56b1d0e
Merge branch 'main' into brettlangdon/3.13
brettlangdon Dec 17, 2024
d9b6a4e
upgrade cibuildwheel and build on 3.13
brettlangdon Dec 17, 2024
4015862
no 313 windows builds for now
emmettbutler Dec 17, 2024
3db58e6
minimum osx update
emmettbutler Dec 17, 2024
42fb931
downgrade
emmettbutler Dec 17, 2024
dfce6eb
nope
emmettbutler Dec 17, 2024
ed494f7
try setting recommended envvar here
emmettbutler Dec 17, 2024
66deb95
musllinux_1_1 -> musllinux_1_2
brettlangdon Dec 17, 2024
4211cba
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 17, 2024
a4cf8aa
remove skips
emmettbutler Dec 17, 2024
82df9bb
Update ddtrace/internal/injection.py
emmettbutler Dec 18, 2024
6aa76d8
Update ddtrace/internal/_threads.cpp
emmettbutler Dec 18, 2024
3495a2f
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 18, 2024
ff569a5
Merge branch 'main' into brettlangdon/3.13
emmettbutler Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .gitlab/package.yml
emmettbutler marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
build_base_venvs:
extends: .testrunner
stage: package
parallel:
matrix:
- PYTHON_VERSION: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
variables:
CMAKE_BUILD_PARALLEL_LEVEL: 12
PIP_VERBOSE: 1
script:
- pip install riot==0.20.0
- riot -P -v generate --python=$PYTHON_VERSION
artifacts:
name: venv_$PYTHON_VERSION
paths:
- .riot/venv_*
- ddtrace/**/*.so*
- ddtrace/internal/datadog/profiling/crashtracker/crashtracker_exe*

download_ddtrace_artifacts:
image: registry.ddbuild.io/github-cli:v27480869-eafb11d-2.43.0
tags: [ "arch:amd64" ]
Expand Down
46 changes: 46 additions & 0 deletions .riot/requirements/10067fd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/10067fd.in
#
aiofiles==24.1.0
anyio==4.6.0
attrs==24.2.0
certifi==2024.8.30
charset-normalizer==3.3.2
coverage[toml]==7.6.1
h11==0.14.0
html5tagger==1.3.0
httpcore==0.16.3
httptools==0.6.1
httpx==0.23.3
hypothesis==6.45.0
idna==3.10
iniconfig==2.0.0
mock==5.1.0
multidict==6.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-asyncio==0.21.1
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
requests==2.32.3
rfc3986[idna2008]==1.5.0
sanic==24.6.0
sanic-routing==23.12.0
sanic-testing==22.3.1
sniffio==1.3.1
sortedcontainers==2.4.0
tracerite==1.1.1
typing-extensions==4.12.2
ujson==5.10.0
urllib3==2.2.3
uvloop==0.20.0
websockets==10.4

# The following packages are considered to be unsafe in a requirements file:
setuptools==75.1.0
20 changes: 20 additions & 0 deletions .riot/requirements/102dfdd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/102dfdd.in
#
attrs==24.2.0
coverage[toml]==7.6.1
hypothesis==6.45.0
iniconfig==2.0.0
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
sortedcontainers==2.4.0
structlog==20.2.0
25 changes: 25 additions & 0 deletions .riot/requirements/104daf8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/104daf8.in
#
attrs==24.2.0
certifi==2024.8.30
charset-normalizer==3.3.2
coverage[toml]==7.6.1
hypothesis==6.45.0
idna==3.10
iniconfig==2.0.0
mock==5.1.0
opensearch-py[requests]==1.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
requests==2.32.3
sortedcontainers==2.4.0
urllib3==1.26.20
20 changes: 20 additions & 0 deletions .riot/requirements/104f450.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/104f450.in
#
attrs==24.2.0
coverage[toml]==7.6.1
hypothesis==6.45.0
iniconfig==2.0.0
logbook==1.0.0
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
sortedcontainers==2.4.0
26 changes: 26 additions & 0 deletions .riot/requirements/1053dce.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1053dce.in
#
attrs==24.2.0
coverage[toml]==7.6.1
gevent==24.2.1
greenlet==3.1.1
hypothesis==6.45.0
iniconfig==2.0.0
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
sortedcontainers==2.4.0
zope-event==5.0
zope-interface==7.0.3

# The following packages are considered to be unsafe in a requirements file:
setuptools==75.1.0
20 changes: 20 additions & 0 deletions .riot/requirements/10be0a3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/10be0a3.in
#
attrs==24.2.0
coverage[toml]==7.6.1
hypothesis==6.45.0
iniconfig==2.0.0
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
psycopg2-binary==2.9.9
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
sortedcontainers==2.4.0
29 changes: 29 additions & 0 deletions .riot/requirements/114bad8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/114bad8.in
#
attrs==24.2.0
blinker==1.8.2
click==8.1.7
coverage[toml]==7.6.1
flask==3.0.3
flask-caching==1.10.1
hypothesis==6.45.0
iniconfig==2.0.0
itsdangerous==2.2.0
jinja2==3.1.4
markupsafe==2.1.5
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
python-memcached==1.62
redis==5.1.1
sortedcontainers==2.4.0
werkzeug==3.0.4
38 changes: 38 additions & 0 deletions .riot/requirements/11f2bd0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/11f2bd0.in
#
annotated-types==0.7.0
attrs==24.2.0
blinker==1.8.2
certifi==2024.8.30
charset-normalizer==3.3.2
click==8.1.7
coverage[toml]==7.6.1
flask==2.3.3
flask-openapi3==4.0.1
hypothesis==6.45.0
idna==3.10
importlib-metadata==8.5.0
iniconfig==2.0.0
itsdangerous==2.2.0
jinja2==3.1.4
markupsafe==2.1.5
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pydantic==2.9.2
pydantic-core==2.23.4
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
requests==2.32.3
sortedcontainers==2.4.0
typing-extensions==4.12.2
urllib3==1.26.20
werkzeug==2.3.8
zipp==3.20.2
44 changes: 44 additions & 0 deletions .riot/requirements/11faf52.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/11faf52.in
#
attrs==24.2.0
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.3.2
coverage[toml]==7.6.1
cryptography==43.0.1
greenlet==3.1.1
hypothesis==6.45.0
idna==3.10
iniconfig==2.0.0
jinja2==3.1.4
linkify-it-py==2.0.3
markdown-it-py[linkify,plugins]==3.0.0
markupsafe==2.1.5
mdit-py-plugins==0.4.2
mdurl==0.1.2
memray==1.14.0
mock==5.1.0
opentracing==2.4.0
packaging==24.1
platformdirs==4.3.6
pluggy==1.5.0
psycopg2-binary==2.9.9
pycparser==2.22
pycryptodome==3.21.0
pygments==2.18.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-memray==1.7.0
pytest-mock==3.14.0
requests==2.32.3
rich==13.9.2
sortedcontainers==2.4.0
sqlalchemy==2.0.22
textual==0.82.0
typing-extensions==4.12.2
uc-micro-py==1.0.3
urllib3==2.2.3
19 changes: 19 additions & 0 deletions .riot/requirements/11fd02a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/11fd02a.in
#
attrs==24.2.0
coverage[toml]==7.6.1
hypothesis==6.45.0
iniconfig==2.0.0
mock==5.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
sortedcontainers==2.4.0
31 changes: 31 additions & 0 deletions .riot/requirements/1261ed3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1261ed3.in
#
aiohappyeyeballs==2.4.3
aiohttp==3.10.9
aiohttp-jinja2==1.5.1
aiosignal==1.3.1
attrs==24.2.0
coverage[toml]==7.6.1
frozenlist==1.4.1
hypothesis==6.45.0
idna==3.10
iniconfig==2.0.0
jinja2==3.1.4
markupsafe==2.1.5
mock==5.1.0
multidict==6.1.0
opentracing==2.4.0
packaging==24.1
pluggy==1.5.0
pytest==8.3.3
pytest-aiohttp==1.0.5
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.15.0
sortedcontainers==2.4.0
yarl==1.13.1
Loading
Loading