Skip to content

Commit

Permalink
Update python versions - 3.7 deprecation, 3.10 and 3.11 testing suppo…
Browse files Browse the repository at this point in the history
…rt (#287)

* require greater than python3.8

* remove 3.7, add 3.10 and 3.11 to github actions

* close #259

* fix 3.10 version parsing in action actions/runner#1989

* bump read the docs python version

* update python versions in dev

* bump precommit version

* #279 (comment)
  • Loading branch information
gwaybio authored Jun 11, 2023
1 parent 77d93a3 commit 857fde4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Pycytominer Dev",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:0-3.9",
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash .devcontainer/postCreateCommand.sh",
// Configure tool-specific properties.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest]
env:
OS: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: gitpod/workspace-python-3.9
image: gitpod/workspace-python-3.11
tasks:
- name: Install dependencies
command: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

python:
version: 3.7
version: 3.11
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest>=5.0.1
codecov>=2.1.12
pre-commit==2.21.0
pre-commit>=3.3.2
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy>=1.16.5
scipy>=1.3.0,<1.9
scipy>=1.5
pandas>=1.2.0
scikit-learn>=0.21.2
sqlalchemy>=1.3.6,<2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
],
"dev": DEV_PKGS,
},
python_requires=">=3.4",
python_requires=">=3.8",
include_package_data=True,
)

0 comments on commit 857fde4

Please sign in to comment.