Skip to content

Commit

Permalink
chore: setting minimal Python version to 3.10 (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Jan 24, 2024
1 parent ae8fe98 commit e1b53de
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"

- name: Install dependencies
run: |
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -75,10 +75,9 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
# - "3.11" # no compatible pysam yet
# - "3.12" # no compatible pysam yet
needs: linting
steps:
- name: Install Python via conda
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.7, 3.8 and 3.9, and for PyPy. Check
3. The pull request should work for the Python versions from ``setup.py``. Check
https://travis-ci.org/holtgrewe/cubi_piepline/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ def bash_scripts(names):
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
# We are missing bioconda pysam packages for 3.11 and 3.12, cf.
# https://github.com/bioconda/bioconda-recipes/issues/37805
# "Programming Language :: Python :: 3.11",
# "Programming Language :: Python :: 3.12",
],
test_suite="tests",
tests_require=test_requirements,
Expand Down

0 comments on commit e1b53de

Please sign in to comment.