diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7af4742..4a3cb33 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.3.0 with: - python-version: '3.10.13' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f0b1442..fb32f36 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.3.0 with: - python-version: '3.10.13' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 194cf31..764978a 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -19,7 +19,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.10.13] + python-version: ['3.11'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 3cd24d8..da119d7 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.10.13] + python-version: ['3.11'] steps: - uses: actions/checkout@v4 diff --git a/dev-requirements.in b/dev-requirements.in index 406876e..c38eabd 100644 --- a/dev-requirements.in +++ b/dev-requirements.in @@ -2,9 +2,10 @@ -c requirements.txt pytest-cov pytest +py>=1.11.0 #https://github.com/pytest-dev/apipkg/issues/30 Keyerror __spec__ recommonmark sphinx>=3.2.1 -setuptools +setuptools<71.0.0 #https://github.com/pypa/setuptools/issues/4483 setuptools_scm wheel tox \ No newline at end of file diff --git a/dev-requirements.txt b/dev-requirements.txt index 4d49b0c..f62def7 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,11 +1,9 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile dev-requirements.in -# +# This file was autogenerated by uv via the following command: +# uv pip compile dev-requirements.in -o dev-requirements.txt --universal alabaster==0.7.12 # via sphinx +atomicwrites==1.4.1 ; sys_platform == 'win32' + # via pytest attrs==21.2.0 # via pytest babel==2.9.1 @@ -16,9 +14,15 @@ certifi==2024.7.4 # via requests charset-normalizer==2.0.6 # via requests +colorama==0.4.6 ; sys_platform == 'win32' or platform_system == 'Windows' + # via + # -c requirements.txt + # pytest + # sphinx + # tox commonmark==0.9.1 # via recommonmark -coverage[toml]==5.5 +coverage==5.5 # via pytest-cov distlib==0.3.2 # via virtualenv @@ -52,8 +56,9 @@ pluggy==1.0.0 # via # pytest # tox -py==1.10.0 +py==1.11.0 # via + # -r dev-requirements.in # pytest # tox pygments==2.15.0 @@ -66,7 +71,7 @@ pytest==6.2.5 # pytest-cov pytest-cov==3.0.0 # via -r dev-requirements.in -pytz==2024.1 +pytz==2024.2 # via # -c requirements.txt # babel @@ -74,6 +79,11 @@ recommonmark==0.7.1 # via -r dev-requirements.in requests==2.32.2 # via sphinx +setuptools==70.3.0 + # via + # -r dev-requirements.in + # setuptools-scm + # sphinx setuptools-scm==6.3.2 # via -r dev-requirements.in six==1.16.0 @@ -114,6 +124,3 @@ virtualenv==20.8.0 # via tox wheel==0.37.1 # via -r dev-requirements.in - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/requirements.txt b/requirements.txt index ce32980..b6d92e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,30 +1,28 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile -# +# This file was autogenerated by uv via the following command: +# uv pip compile setup.cfg -o requirements.txt --universal aiosqlite==0.20.0 - # via pyomop (setup.py) + # via pyomop (setup.cfg) click==8.1.7 - # via pyomop (setup.py) -greenlet==3.0.3 + # via pyomop (setup.cfg) +colorama==0.4.6 ; platform_system == 'Windows' + # via click +greenlet==3.1.1 ; (python_full_version < '3.13' and platform_machine == 'AMD64') or (python_full_version < '3.13' and platform_machine == 'WIN32') or (python_full_version < '3.13' and platform_machine == 'aarch64') or (python_full_version < '3.13' and platform_machine == 'amd64') or (python_full_version < '3.13' and platform_machine == 'ppc64le') or (python_full_version < '3.13' and platform_machine == 'win32') or (python_full_version < '3.13' and platform_machine == 'x86_64') # via sqlalchemy -numpy==2.0.0 +numpy==2.1.3 # via pandas -pandas==2.2.2 - # via pyomop (setup.py) +pandas==2.2.3 + # via pyomop (setup.cfg) python-dateutil==2.9.0.post0 # via pandas -pytz==2024.1 +pytz==2024.2 # via pandas six==1.16.0 # via python-dateutil -sqlalchemy==2.0.31 - # via pyomop (setup.py) +sqlalchemy==2.0.36 + # via pyomop (setup.cfg) typing-extensions==4.12.2 # via # aiosqlite # sqlalchemy -tzdata==2024.1 +tzdata==2024.2 # via pandas diff --git a/setup.cfg b/setup.cfg index 35c2681..541302b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ classifiers = Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering :: Information Analysis [options] diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..af47a77 --- /dev/null +++ b/update.sh @@ -0,0 +1,4 @@ +#! /bin/bash +pip install uv +uv pip compile setup.cfg -o requirements.txt --universal +uv pip compile dev-requirements.in -o dev-requirements.txt --universal \ No newline at end of file