From a2e2597b11c64988be9260920a7ebae356e2d8dd Mon Sep 17 00:00:00 2001 From: Marcus Read Date: Thu, 7 Sep 2023 08:58:27 +0100 Subject: [PATCH] Update dependencies Drops `pytz`, adds `tzdata`, to `pyproject.toml`. Pins latest deps on requirements files. --- .github/workflows/release.yml | 4 ++-- etc/requirements.txt | 10 +++++----- etc/requirements_dev.txt | 14 +++++++------- etc/requirements_minpandas.txt | 12 ++++++------ pyproject.toml | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea5bcfad..31bdc7e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: run: | i=0 while [ $i -lt 12 ] && [ "${{ github.ref_name }}" != $(pip index versions -i https://test.pypi.org/simple --pre exchange_calendars | cut -d'(' -f2 | cut -d')' -f1 | sed 1q) ];\ - do echo "waiting for package to appear in test index, i is $i, sleeping 5s"; sleep 5s; ((i++)); echo "next i is $i"; done + do echo "waiting for package to appear in test index, i is $i"; echo "sleeping 5s"; sleep 5s; echo "woken up", ((i++)); echo "next i is $i"; done pip install --index-url https://test.pypi.org/simple exchange_calendars==${{ github.ref_name }} --no-deps pip install -r etc/requirements.txt python -c 'import exchange_calendars;print(exchange_calendars.__version__)' @@ -54,6 +54,6 @@ jobs: run: | i=0 while [ $i -lt 12 ] && [ "${{ github.ref_name }}" != $(pip index versions -i https://pypi.org/simple --pre exchange_calendars | cut -d'(' -f2 | cut -d')' -f1 | sed 1q) ];\ - do echo "waiting for package to appear in index, i is $i, sleeping 5s"; sleep 5s; ((i++)); echo "next i is $i"; done + do echo "waiting for package to appear in index, i is $i"; echo "sleeping 5s"; sleep 5s; echo "woken up", ((i++)); echo "next i is $i"; done pip install --index-url https://pypi.org/simple exchange_calendars==${{ github.ref_name }} python -c 'import exchange_calendars;print(exchange_calendars.__version__)' diff --git a/etc/requirements.txt b/etc/requirements.txt index ee87d563..77983310 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -18,13 +18,13 @@ python-dateutil==2.8.2 # via # exchange-calendars (pyproject.toml) # pandas -pytz==2023.3 - # via - # exchange-calendars (pyproject.toml) - # pandas +pytz==2023.3.post1 + # via pandas six==1.16.0 # via python-dateutil toolz==0.12.0 # via exchange-calendars (pyproject.toml) tzdata==2023.3 - # via pandas + # via + # exchange-calendars (pyproject.toml) + # pandas diff --git a/etc/requirements_dev.txt b/etc/requirements_dev.txt index 7de16359..87ae0a83 100644 --- a/etc/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -6,7 +6,7 @@ # attrs==23.1.0 # via hypothesis -build==1.0.0 +build==1.0.3 # via pip-tools click==8.1.7 # via pip-tools @@ -23,7 +23,7 @@ execnet==2.0.2 # via pytest-xdist flake8==6.1.0 # via exchange-calendars (pyproject.toml) -hypothesis==6.84.0 +hypothesis==6.84.2 # via exchange-calendars (pyproject.toml) importlib-metadata==6.8.0 # via build @@ -70,10 +70,8 @@ python-dateutil==2.8.2 # via # exchange-calendars (pyproject.toml) # pandas -pytz==2023.3 - # via - # exchange-calendars (pyproject.toml) - # pandas +pytz==2023.3.post1 + # via pandas six==1.16.0 # via python-dateutil sortedcontainers==2.4.0 @@ -87,7 +85,9 @@ tomli==2.0.1 toolz==0.12.0 # via exchange-calendars (pyproject.toml) tzdata==2023.3 - # via pandas + # via + # exchange-calendars (pyproject.toml) + # pandas wheel==0.41.2 # via pip-tools zipp==3.16.2 diff --git a/etc/requirements_minpandas.txt b/etc/requirements_minpandas.txt index d0db49cd..4b2b8add 100644 --- a/etc/requirements_minpandas.txt +++ b/etc/requirements_minpandas.txt @@ -10,7 +10,7 @@ # attrs==23.1.0 # via hypothesis -build==1.0.0 +build==1.0.3 # via pip-tools click==8.1.7 # via pip-tools @@ -27,7 +27,7 @@ execnet==2.0.2 # via pytest-xdist flake8==6.1.0 # via exchange-calendars (pyproject.toml) -hypothesis==6.84.0 +hypothesis==6.84.2 # via exchange-calendars (pyproject.toml) importlib-metadata==6.8.0 # via build @@ -74,10 +74,8 @@ python-dateutil==2.8.2 # via # exchange-calendars (pyproject.toml) # pandas -pytz==2023.3 - # via - # exchange-calendars (pyproject.toml) - # pandas +pytz==2023.3.post1 + # via pandas six==1.16.0 # via python-dateutil sortedcontainers==2.4.0 @@ -90,6 +88,8 @@ tomli==2.0.1 # pytest toolz==0.12.0 # via exchange-calendars (pyproject.toml) +tzdata==2023.3 + # via exchange-calendars (pyproject.toml) wheel==0.41.2 # via pip-tools zipp==3.16.2 diff --git a/pyproject.toml b/pyproject.toml index c39d2e3f..612472af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,8 +31,8 @@ dependencies = [ "pandas>=1.5", "pyluach", "python-dateutil", - "pytz", "toolz", + "tzdata", "korean_lunar_calendar", ] dynamic = ["version"]