From 9507a28f93da317dbfd90a32ec9e66b1c3c0b964 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Wed, 12 Jun 2024 17:49:01 +0100 Subject: [PATCH] ci: remove pins on git dependencies of packages (#1330) --- .github/workflows/ci.yml | 8 ++------ tests/requirements.txt | 7 ++----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 550a73345..c8bb82805 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -473,9 +473,7 @@ jobs: python-version: '3.11' architecture: ${{ matrix.python-architecture || 'x64' }} - - run: pip install -U twine 'ruff==0.1.3' - # TODO: remove manual override for typing_extensions once a version newer than 4.12.1 is released - - run: pip install -U git+https://github.com/python/typing_extensions@main + - run: pip install -U twine 'ruff==0.1.3' typing_extensions # generate self-schema now, so we don't have to do so inside docker in maturin build - run: python generate_self_schema.py @@ -538,9 +536,7 @@ jobs: with: components: llvm-tools - - run: pip install -U 'ruff==0.1.3' - # TODO: remove manual override for typing_extensions once a version newer than 4.12.1 is released - - run: pip install -U git+https://github.com/python/typing_extensions@main + - run: pip install -U 'ruff==0.1.3' typing_extensions # generate self-schema now, so we don't have to do so inside docker in maturin build - run: python generate_self_schema.py diff --git a/tests/requirements.txt b/tests/requirements.txt index 85bfca252..cdb222bf8 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -2,9 +2,6 @@ backports.zoneinfo==0.2.1;python_version<"3.9" coverage==7.5.3 dirty-equals==0.7.1.post0 hypothesis==6.103.0 -# TODO: remove manual override for dateutil once a version newer than 2.8.2 is -# released which removes use of deprecated utcfromtimestamp -git+https://github.com/dateutil/dateutil.git@f2293200747fb03d56c6c5997bfebeabe703576f # pandas doesn't offer prebuilt wheels for all versions and platforms we test in CI e.g. aarch64 musllinux pandas==2.1.3; python_version >= "3.9" and python_version < "3.13" and implementation_name == "cpython" and platform_machine == 'x86_64' pytest==8.2.1 @@ -17,9 +14,9 @@ pytest-speed==0.3.5 pytest-mock==3.14.0 pytest-pretty==1.2.0 pytest-timeout==2.3.1 +python-dateutil==2.9.0.post0 # numpy doesn't offer prebuilt wheels for all versions and platforms we test in CI e.g. aarch64 musllinux numpy==1.26.2; python_version >= "3.9" and python_version < "3.13" and implementation_name == "cpython" and platform_machine == 'x86_64' exceptiongroup==1.1; python_version < "3.11" tzdata==2024.1 -# TODO: remove manual override for typing_extensions once a version newer than 4.12.1 is released -git+https://github.com/python/typing_extensions@main +typing_extensions==4.12.2