From fb105129b78af3cc55b81a186a5671a4fab40649 Mon Sep 17 00:00:00 2001 From: Jono Yang Date: Wed, 23 Oct 2024 16:35:44 -0700 Subject: [PATCH] Update dependencies * Support Python 3.13.0 Signed-off-by: Jono Yang --- CHANGELOG.rst | 2 ++ azure-pipelines.yml | 34 +++++++++++++++++----------------- requirements-dev.txt | 2 +- requirements-native.txt | 4 ++-- requirements.txt | 6 +++--- setup.cfg | 3 ++- 6 files changed, 27 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ec6546f4d41..28016f16d35 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -37,6 +37,8 @@ v33.0.0 (next next, roadmap) of these in other summary plugins. See https://github.com/nexB/scancode-toolkit/issues/1745 +- Update intbitset and related dependencies for Python 3.13.0 support. + v32.3.0 - 2024-10-21 -------------------- diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d6348b0d529..8d8e4d9f65e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -123,7 +123,7 @@ jobs: job_name: ubuntu20_cpython image_name: ubuntu-20.04 python_architecture: x64 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2 @@ -132,7 +132,7 @@ jobs: job_name: ubuntu22_cpython image_name: ubuntu-22.04 python_architecture: x64 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2 @@ -140,7 +140,7 @@ jobs: parameters: job_name: macos12_cpython image_name: macOS-12 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] python_architecture: x64 test_suites: all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2 @@ -149,7 +149,7 @@ jobs: parameters: job_name: macos13_cpython image_name: macOS-13 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py --reruns 2 @@ -167,7 +167,7 @@ jobs: job_name: win2022_cpython image_name: windows-2022 python_architecture: x64 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py --reruns 2 @@ -184,7 +184,7 @@ jobs: parameters: job_name: win2022_cpython_2 image_name: windows-2022 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] python_architecture: x64 test_suites: all: venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py --reruns 2 @@ -199,15 +199,15 @@ jobs: parameters: job_name: ubuntu20_test_all_supported_click_versions image_name: ubuntu-20.04 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] python_architecture: x64 test_suites: click_versions: | - for clk_ver in 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.3 8.0.2 8.0.1 7.1.2 7.1.1 7.1 6.7; + for clk_ver in 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.3 8.0.2 8.0.1 7.1.2 7.1.1 7.1 6.7; do venv/bin/pip install click==$clk_ver; - venv/bin/scancode -i samples/ -n3 --json foo.json; - venv/bin/scancode -i --verbose samples/ -n3 --json foo.json; + venv/bin/scancode -i samples/ -n3 --json foo.json; + venv/bin/scancode -i --verbose samples/ -n3 --json foo.json; done @@ -219,7 +219,7 @@ jobs: parameters: job_name: ubuntu22_cpython_latest_from_pip image_name: ubuntu-22.04 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py @@ -227,15 +227,15 @@ jobs: parameters: job_name: ubuntu20_cpython_latest_from_pip image_name: ubuntu-20.04 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py - + - template: etc/ci/azure-posix.yml parameters: job_name: macos12_cpython_latest_from_pip image_name: macos-12 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py @@ -243,7 +243,7 @@ jobs: parameters: job_name: macos13_cpython_latest_from_pip image_name: macos-13 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv/bin/pytest -n 2 -vvs tests/scancode/test_cli.py @@ -251,7 +251,7 @@ jobs: parameters: job_name: win2019_cpython_latest_from_pip image_name: windows-2019 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py @@ -259,7 +259,7 @@ jobs: parameters: job_name: win2022_cpython_latest_from_pip image_name: windows-2022 - python_versions: ['3.9', '3.10', '3.11', '3.12'] + python_versions: ['3.9', '3.10', '3.11', '3.12', '3.13'] test_suites: all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py diff --git a/requirements-dev.txt b/requirements-dev.txt index 6b74f9fc1cb..5b406bd555c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ aboutcode-toolkit==7.0.2 black==22.6.0 bleach==5.0.1 -build==0.7.0 +build==1.2.2.post1 commonmark==0.9.1 docutils==0.19 et-xmlfile==1.1.0 diff --git a/requirements-native.txt b/requirements-native.txt index f1f2b09b80e..672f0b1bd75 100644 --- a/requirements-native.txt +++ b/requirements-native.txt @@ -1,6 +1,6 @@ -cffi==1.16.0 +cffi==1.17.1 intbitset==3.1.0 -lxml==5.1.0 +lxml==5.3.0 MarkupSafe==2.1.5 pyahocorasick==2.1.0 PyYAML==6.0.1 diff --git a/requirements.txt b/requirements.txt index e32ea2d6a4c..2693136707c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ binaryornot==0.4.4 beartype==0.17.2 boolean.py==4.0 certifi==2024.2.2 -cffi==1.16.0 +cffi==1.17.1 chardet==5.0.0 charset-normalizer==2.1.0 click==8.1.7 @@ -36,8 +36,8 @@ javaproperties==0.8.1 Jinja2==3.1.3 jsonstreams==0.6.0 license-expression==30.3.0 -lxml==5.1.0 -MarkupSafe==2.1.5 +lxml==5.3.0 +MarkupSafe==3.0.2 more-itertools==8.13.0 normality==2.3.3 packageurl-python==0.15.0 diff --git a/setup.cfg b/setup.cfg index af17fdd3625..9ac458f144f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Software Development Topic :: Utilities @@ -85,7 +86,7 @@ install_requires = jinja2 >= 2.7.0 jsonstreams >= 0.5.0 license_expression >= 30.1.1 - lxml >= 4.9.2 + lxml >= 5.3.0 MarkupSafe >= 2.1.2 packageurl_python >= 0.9.0 packvers >= 21.0.0