Skip to content

Commit 78a1f33

Browse files
committed
update python support
1 parent aca3aaa commit 78a1f33

File tree

5 files changed

+11
-21
lines changed

5 files changed

+11
-21
lines changed

conda-envs/environment-test-py37.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

conda-envs/environment-test-py39.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- pymc>=4.0.0b1
6+
- pymc>=4.0.0b3
77
- pip
88
- pytest-cov>=2.5
99
- pytest>=3.0

conda-envs/windows-environment-test-py38.yml renamed to conda-envs/windows-environment-test-py39.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- pymc>=4.0.0b1
6+
- pymc>=4.0.0b3
77
- pip
88
- pytest-cov>=2.5
99
- pytest>=3.0
10-
- python=3.8
10+
- python=3.9

pymc_experimental/.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
- name: Cache conda
3333
uses: actions/cache@v1
3434
env:
35-
# Increase this value to reset cache if environment-test-py37.yml has not changed
35+
# Increase this value to reset cache if environment-test-py38.yml has not changed
3636
CACHE_NUMBER: 0
3737
with:
3838
path: ~/conda_pkgs_dir
3939
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
40-
hashFiles('conda-envs/environment-test-py37.yml') }}
40+
hashFiles('conda-envs/environment-test-py38.yml') }}
4141
- name: Cache multiple paths
4242
uses: actions/cache@v2
4343
env:
@@ -55,19 +55,19 @@ jobs:
5555
miniforge-variant: Mambaforge
5656
miniforge-version: latest
5757
mamba-version: "*"
58-
activate-environment: pymc-test-py37
58+
activate-environment: pymc-test-py38
5959
channel-priority: strict
60-
environment-file: conda-envs/environment-test-py37.yml
60+
environment-file: conda-envs/environment-test-py38.yml
6161
use-mamba: true
6262
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
6363
- name: Install-pymc
6464
run: |
65-
conda activate pymc-test-py37
65+
conda activate pymc-test-py38
6666
pip install -e .
6767
python --version
6868
- name: Run tests
6969
run: |
70-
conda activate pymc-test-py37
70+
conda activate pymc-test-py38
7171
python -m pytest -vv --cov=pymc_experimental --cov-append --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
7272
- name: Upload coverage to Codecov
7373
uses: codecov/codecov-action@v2
@@ -137,4 +137,4 @@ jobs:
137137
with:
138138
env_vars: TEST_SUBSET
139139
name: ${{ matrix.os }} ${{ matrix.floatx }}
140-
fail_ci_if_error: false
140+
fail_ci_if_error: false

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ def get_version():
8080
# package_data={'docs': ['*']},
8181
include_package_data=True,
8282
classifiers=classifiers,
83-
python_requires=">=3.7",
83+
python_requires=">=3.8",
8484
install_requires=install_reqs,
8585
)

0 commit comments

Comments
 (0)