Skip to content

Commit

Permalink
Remove python3.8 testing. (#5126)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
DailyDreaming and github-actions[bot] authored Oct 22, 2024
1 parent a8a972f commit d9d732e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 33 deletions.
29 changes: 0 additions & 29 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,35 +103,6 @@ quick_test_offline:
- make develop extras=[aws,google,wdl]
- TOIL_TEST_QUICK=True make test_offline threads="${TEST_THREADS}"

py38_appliance_build:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH =~ /.*-fix-ci/
- if: $CI_COMMIT_BRANCH =~ /.*3\.8.*/
stage: basic_tests
script:
- pwd
- python3.8 -m virtualenv venv && . venv/bin/activate && pip install -U pip wheel && pip install -U build && make prepare && pip install pycparser && make develop extras=[all] && pip install -r requirements-htcondor.txt
# This reads GITLAB_SECRET_FILE_QUAY_CREDENTIALS
- python setup_gitlab_docker.py
- make push_docker

py38_main:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH =~ /.*-fix-ci/
- if: $CI_COMMIT_BRANCH =~ /.*3\.8.*/
stage: basic_tests
script:
- pwd
- python3.8 -m virtualenv venv && . venv/bin/activate && pip install -U pip wheel && make prepare && make develop extras=[all] && pip install -r requirements-htcondor.txt
- make test threads="${TEST_THREADS}" tests="src/toil/test/src src/toil/test/utils"
- TOIL_SKIP_DOCKER=true make test threads="${TEST_THREADS}" tests=src/toil/test/lib

py39_appliance_build:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
pip = f'{python} -m pip'

# Debian and Ubuntu don't package ensurepip by default so the python-venv package must be installed
python_packages = {'python3.8': ['python3.8-distutils', 'python3.8-venv'],
'python3.9': ['python3.9-distutils', 'python3.9-venv'],
python_packages = {'python3.9': ['python3.9-distutils', 'python3.9-venv'],
'python3.10': ['python3.10-distutils', 'python3.10-venv'],
'python3.11': ['python3.11-distutils', 'python3.11-venv'],
'python3.12': ['python3.12-distutils', 'python3.12-venv']}
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ def run_setup():
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Astronomy',
Expand All @@ -101,7 +101,7 @@ def run_setup():
'Topic :: System :: Distributed Computing',
'Topic :: Utilities'],
license="Apache License v2.0",
python_requires=">=3.8",
python_requires=">=3.9",
install_requires=install_requires,
extras_require=extras_require,
package_dir={'': 'src'},
Expand Down

0 comments on commit d9d732e

Please sign in to comment.