Skip to content

Commit 307e1c9

Browse files
authored
Revert "Proposal: Readd 3.7" (#6014)
* Revert "Update setup.py" This reverts commit 60e2648. * Revert "Readd 3.7" This reverts commit b08a2fc.
1 parent b506fec commit 307e1c9

File tree

2 files changed

+1
-107
lines changed

2 files changed

+1
-107
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -417,108 +417,3 @@ jobs:
417417
env_vars: TEST_SUBSET
418418
name: ${{ matrix.os }} ${{ matrix.floatx }}
419419
fail_ci_if_error: false
420-
ubuntu_37:
421-
strategy:
422-
matrix:
423-
os: [ubuntu-20.04]
424-
floatx: [float64]
425-
python-version: ["3.7"]
426-
test-subset:
427-
- |
428-
pymc/tests/test_util.py
429-
pymc/tests/test_logprob.py
430-
pymc/tests/test_aesaraf.py
431-
pymc/tests/test_math.py
432-
pymc/tests/test_posdef_sym.py
433-
pymc/tests/test_ndarray_backend.py
434-
pymc/tests/test_hmc.py
435-
pymc/tests/test_func_utils.py
436-
pymc/tests/test_shape_handling.py
437-
pymc/tests/test_starting.py
438-
pymc/tests/test_mixture.py
439-
440-
- |
441-
pymc/tests/test_distributions.py
442-
443-
- |
444-
pymc/tests/test_tuning.py
445-
pymc/tests/test_shared.py
446-
pymc/tests/test_types.py
447-
pymc/tests/test_distributions_moments.py
448-
449-
- |
450-
pymc/tests/test_modelcontext.py
451-
pymc/tests/test_dist_math.py
452-
pymc/tests/test_minibatches.py
453-
pymc/tests/test_pickling.py
454-
pymc/tests/test_transforms.py
455-
pymc/tests/test_parallel_sampling.py
456-
457-
- |
458-
pymc/tests/test_distributions_random.py
459-
pymc/tests/test_distributions_timeseries.py
460-
pymc/tests/test_gp.py
461-
pymc/tests/test_model.py
462-
pymc/tests/test_model_graph.py
463-
pymc/tests/test_ode.py
464-
pymc/tests/test_profile.py
465-
pymc/tests/test_quadpotential.py
466-
467-
fail-fast: false
468-
runs-on: ${{ matrix.os }}
469-
env:
470-
TEST_SUBSET: ${{ matrix.test-subset }}
471-
AESARA_FLAGS: floatX=${{ matrix.floatx }},gcc__cxxflags='-march=native'
472-
defaults:
473-
run:
474-
shell: bash -l {0}
475-
steps:
476-
- uses: actions/checkout@v2
477-
- name: Cache conda
478-
uses: actions/cache@v3
479-
env:
480-
# Increase this value to reset cache if environment-test.yml has not changed
481-
CACHE_NUMBER: 0
482-
with:
483-
path: ~/conda_pkgs_dir
484-
key: ${{ runner.os }}-py${{matrix.python-version}}-conda-${{ env.CACHE_NUMBER }}-${{
485-
hashFiles('conda-envs/environment-test.yml') }}
486-
- name: Cache multiple paths
487-
uses: actions/cache@v3
488-
env:
489-
# Increase this value to reset cache if requirements.txt has not changed
490-
CACHE_NUMBER: 0
491-
with:
492-
path: |
493-
~/.cache/pip
494-
$RUNNER_TOOL_CACHE/Python/*
495-
~\AppData\Local\pip\Cache
496-
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
497-
hashFiles('requirements.txt') }}
498-
- uses: conda-incubator/setup-miniconda@v2
499-
with:
500-
miniforge-variant: Mambaforge
501-
miniforge-version: latest
502-
mamba-version: "*"
503-
activate-environment: pymc-test
504-
channel-priority: strict
505-
environment-file: conda-envs/environment-test.yml
506-
python-version: ${{matrix.python-version}}
507-
use-mamba: true
508-
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
509-
- name: Install-pymc
510-
run: |
511-
conda activate pymc-test
512-
pip install -e .
513-
pip install --pre -U polyagamma
514-
python --version
515-
- name: Run tests
516-
run: |
517-
conda activate pymc-test
518-
python -m pytest -vv --cov=pymc --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET
519-
- name: Upload coverage to Codecov
520-
uses: codecov/codecov-action@v2
521-
with:
522-
env_vars: TEST_SUBSET
523-
name: ${{ matrix.os }} ${{ matrix.floatx }}
524-
fail_ci_if_error: false

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"Development Status :: 5 - Production/Stable",
3030
"Programming Language :: Python",
3131
"Programming Language :: Python :: 3",
32-
"Programming Language :: Python :: 3.7",
3332
"Programming Language :: Python :: 3.8",
3433
"Programming Language :: Python :: 3.9",
3534
"Programming Language :: Python :: 3.10",
@@ -85,7 +84,7 @@ def get_version():
8584
# package_data={'docs': ['*']},
8685
include_package_data=True,
8786
classifiers=classifiers,
88-
python_requires=">=3.7",
87+
python_requires=">=3.8",
8988
install_requires=install_reqs,
9089
tests_require=test_reqs,
9190
)

0 commit comments

Comments
 (0)