diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ee3c202cdb..634ee45571 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,7 +34,7 @@ jobs: matrix: os: [ubuntu-20.04] floatx: [float64] - python-version: ["3.7"] + python-version: ["3.10"] test-subset: - | pymc/tests/test_util.py @@ -105,7 +105,7 @@ jobs: ~/.cache/pip $RUNNER_TOOL_CACHE/Python/* ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ + key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }} - uses: conda-incubator/setup-miniconda@v2 with: @@ -175,7 +175,7 @@ jobs: ~/.cache/pip $RUNNER_TOOL_CACHE/Python/* ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ + key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }} - uses: conda-incubator/setup-miniconda@v2 with: @@ -253,7 +253,7 @@ jobs: ~/.cache/pip $RUNNER_TOOL_CACHE/Python/* ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ + key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }} - uses: conda-incubator/setup-miniconda@v2 with: @@ -317,7 +317,7 @@ jobs: ~/.cache/pip $RUNNER_TOOL_CACHE/Python/* ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ + key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }} - uses: conda-incubator/setup-miniconda@v2 with: @@ -354,7 +354,7 @@ jobs: matrix: os: [windows-latest] floatx: [float32] - python-version: ["3.8"] + python-version: ["3.10"] test-subset: - pymc/tests/test_sampling.py pymc/tests/test_ode.py fail-fast: false @@ -386,7 +386,7 @@ jobs: ~/.cache/pip $RUNNER_TOOL_CACHE/Python/* ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ + key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }} - uses: conda-incubator/setup-miniconda@v2 with: @@ -396,7 +396,7 @@ jobs: activate-environment: pymc-test channel-priority: strict environment-file: conda-envs/windows-environment-test.yml - python-verision: ${{matrix.python-version}} + python-version: ${{matrix.python-version}} use-mamba: true use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly! - name: Install-pymc diff --git a/conda-envs/windows-environment-test.yml b/conda-envs/windows-environment-test.yml index 90990c8cb6..3eeb5a2060 100644 --- a/conda-envs/windows-environment-test.yml +++ b/conda-envs/windows-environment-test.yml @@ -14,8 +14,7 @@ dependencies: - fastprogress>=0.2.0 - h5py>=2.7 - libpython -- mkl==2020.4 -- mkl-service==2.3.0 +- mkl-service>=2.3.0 - m2w64-toolchain - numpy>=1.15.0 - pandas>=0.24.0 diff --git a/setup.py b/setup.py index c18756bc46..755f5dc5b8 100755 --- a/setup.py +++ b/setup.py @@ -12,11 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -import os import re from codecs import open -from datetime import datetime, timezone from os.path import dirname, join, realpath from setuptools import find_packages, setup @@ -31,9 +29,9 @@ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: Apache Software License", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering", @@ -86,7 +84,7 @@ def get_version(): # package_data={'docs': ['*']}, include_package_data=True, classifiers=classifiers, - python_requires=">=3.7", + python_requires=">=3.8", install_requires=install_reqs, tests_require=test_reqs, )