Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions conda-envs/windows-environment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand Down Expand Up @@ -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,
)