Skip to content

Commit

Permalink
Add Python 3.13 support (#94)
Browse files Browse the repository at this point in the history
* Update base image

* Update requirements

* Freeze requirements
  • Loading branch information
mattclay committed Jun 11, 2024
1 parent 42ca448 commit 59d9297
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 58 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/ansible/default-test-container:10.0.0
FROM quay.io/ansible/default-test-container:10.1.0

COPY requirements /usr/share/container-setup/ansible-core/requirements/
COPY freeze /usr/share/container-setup/ansible-core/freeze/
Expand Down
30 changes: 15 additions & 15 deletions freeze/3.10.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
bcrypt==4.1.2
certifi==2024.2.2
bcrypt==4.1.3
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
coverage==7.3.2
cryptography==42.0.5
exceptiongroup==1.2.0
execnet==2.1.0
idna==3.6
coverage==7.5.3
cryptography==42.0.8
exceptiongroup==1.2.1
execnet==2.1.1
idna==3.7
iniconfig==2.0.0
Jinja2==3.1.3
Jinja2==3.1.4
MarkupSafe==2.1.5
mock==5.1.0
ntlm-auth==1.5.0
packaging==24.0
packaging==24.1
paramiko==3.4.0
passlib==1.7.4
pexpect==4.9.0
pluggy==1.4.0
pluggy==1.5.0
ptyprocess==0.7.0
pycparser==2.22
PyNaCl==1.5.0
pypsrp==0.8.1
pyspnego==0.10.2
pytest==8.1.1
pytest==8.2.2
pytest-mock==3.14.0
pytest-xdist==3.5.0
pytest-xdist==3.6.1
pywinrm==0.4.3
PyYAML==6.0.1
requests==2.31.0
requests==2.32.3
requests-credssp==2.0.0
requests-ntlm==1.2.0
requests_ntlm==1.3.0
resolvelib==1.0.1
scp==0.14.5
scp==0.15.0
six==1.16.0
tomli==2.0.1
urllib3==2.2.1
Expand Down
28 changes: 14 additions & 14 deletions freeze/3.11.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
bcrypt==4.1.2
certifi==2024.2.2
bcrypt==4.1.3
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
coverage==7.3.2
cryptography==42.0.5
execnet==2.1.0
idna==3.6
coverage==7.5.3
cryptography==42.0.8
execnet==2.1.1
idna==3.7
iniconfig==2.0.0
Jinja2==3.1.3
Jinja2==3.1.4
MarkupSafe==2.1.5
mock==5.1.0
ntlm-auth==1.5.0
packaging==24.0
packaging==24.1
paramiko==3.4.0
passlib==1.7.4
pexpect==4.9.0
pluggy==1.4.0
pluggy==1.5.0
ptyprocess==0.7.0
pycparser==2.22
PyNaCl==1.5.0
pypsrp==0.8.1
pyspnego==0.10.2
pytest==8.1.1
pytest==8.2.2
pytest-mock==3.14.0
pytest-xdist==3.5.0
pytest-xdist==3.6.1
pywinrm==0.4.3
PyYAML==6.0.1
requests==2.31.0
requests==2.32.3
requests-credssp==2.0.0
requests-ntlm==1.2.0
requests_ntlm==1.3.0
resolvelib==1.0.1
scp==0.14.5
scp==0.15.0
six==1.16.0
urllib3==2.2.1
xmltodict==0.13.0
30 changes: 16 additions & 14 deletions freeze/3.12.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
bcrypt==4.1.2
certifi==2024.2.2
bcrypt==4.1.3
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
coverage==7.3.2
cryptography==42.0.5
execnet==2.1.0
idna==3.6
coverage==7.5.3
cryptography==42.0.8
execnet==2.1.1
idna==3.7
iniconfig==2.0.0
Jinja2==3.1.3
Jinja2==3.1.4
MarkupSafe==2.1.5
mock==5.1.0
ntlm-auth==1.5.0
packaging==24.0
packaging==24.1
paramiko==3.4.0
passlib==1.7.4
pexpect==4.9.0
pluggy==1.4.0
pluggy==1.5.0
ptyprocess==0.7.0
pycparser==2.22
PyNaCl==1.5.0
pypsrp==0.8.1
pyspnego==0.10.2
pytest==8.1.1
pytest==8.2.2
pytest-mock==3.14.0
pytest-xdist==3.5.0
pytest-xdist==3.6.1
pywinrm==0.4.3
PyYAML==6.0.1
requests==2.31.0
requests==2.32.3
requests-credssp==2.0.0
requests-ntlm==1.2.0
requests_ntlm==1.3.0
resolvelib==1.0.1
scp==0.14.5
scp==0.15.0
setuptools==70.0.0
six==1.16.0
urllib3==2.2.1
wheel==0.43.0
xmltodict==0.13.0
38 changes: 38 additions & 0 deletions freeze/3.13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
bcrypt==4.1.3
certifi==2024.6.2
cffi==1.17.0rc1
charset-normalizer==3.3.2
coverage==7.5.3
cryptography==42.0.8
execnet==2.1.1
idna==3.7
iniconfig==2.0.0
Jinja2==3.1.4
MarkupSafe==2.1.5
mock==5.1.0
ntlm-auth==1.5.0
packaging==24.1
paramiko==3.4.0
passlib==1.7.4
pexpect==4.9.0
pluggy==1.5.0
ptyprocess==0.7.0
pycparser==2.22
PyNaCl==1.5.0
pypsrp==0.8.1
pyspnego==0.10.2
pytest==8.2.2
pytest-mock==3.14.0
pytest-xdist==3.6.1
pywinrm==0.4.3
PyYAML==6.0.2rc1
requests==2.32.3
requests-credssp==2.0.0
requests_ntlm==1.3.0
resolvelib==1.0.1
scp==0.15.0
setuptools==70.0.0
six==1.16.0
urllib3==2.2.1
wheel==0.43.0
xmltodict==0.13.0
14 changes: 7 additions & 7 deletions freeze/3.8.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
coverage==7.3.2
exceptiongroup==1.2.0
execnet==2.1.0
coverage==7.5.3
exceptiongroup==1.2.1
execnet==2.1.1
iniconfig==2.0.0
mock==5.1.0
packaging==24.0
pluggy==1.4.0
pytest==8.1.1
packaging==24.1
pluggy==1.5.0
pytest==8.2.2
pytest-mock==3.14.0
pytest-xdist==3.5.0
pytest-xdist==3.6.1
PyYAML==6.0.1
tomli==2.0.1
14 changes: 7 additions & 7 deletions freeze/3.9.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
coverage==7.3.2
exceptiongroup==1.2.0
execnet==2.1.0
coverage==7.5.3
exceptiongroup==1.2.1
execnet==2.1.1
iniconfig==2.0.0
mock==5.1.0
packaging==24.0
pluggy==1.4.0
pytest==8.1.1
packaging==24.1
pluggy==1.5.0
pytest==8.2.2
pytest-mock==3.14.0
pytest-xdist==3.5.0
pytest-xdist==3.6.1
PyYAML==6.0.1
tomli==2.0.1
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# do not add a cryptography or pyopenssl constraint to this file, they require special handling, see get_cryptography_requirements in python_requirements.py
# do not add a coverage constraint to this file, it is handled internally by ansible-test
pypsrp < 1.0.0 # in case the next major version is too big of a change
pywinrm >= 0.3.0 ; python_version < '3.11' # message encryption support
pywinrm >= 0.4.3 ; python_version >= '3.11' # support for Python 3.11
pytest >= 4.5.0 # pytest 4.5.0 added support for --strict-markers
Expand All @@ -8,3 +9,5 @@ requests-ntlm >= 1.1.0 # message encryption support
requests-credssp >= 0.1.0 # message encryption support
mock >= 2.0.0 # needed for features backported from Python 3.6 unittest.mock (assert_called, assert_called_once...)
pytest-mock >= 1.4.0 # needed for mock_use_standalone_module pytest option
cffi == 1.17.0rc1 ; python_version >= '3.13' # temporary hack to support Python 3.13
pyyaml == 6.0.2rc1 ; python_version >= '3.13' # temporary hack to support Python 3.13

0 comments on commit 59d9297

Please sign in to comment.