Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update min Python version to 3.9 #512

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python 3.7
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: "3.9"

- name: Install Python dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
with:
ref: ${{ env.DEFAULT_REPO_BRANCH }}

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"

- name: Install `pre-commit` and dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies
run: |
Expand All @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- name: Checkout repository
Expand All @@ -70,7 +70,7 @@ jobs:
run: pytest --cov=optimade_client --cov-report=xml --cov-append tests/cli/

- name: Upload coverage to Codecov
if: matrix.python-version == 3.8 && github.repository == 'CasperWA/voila-optimade-client'
if: matrix.python-version == '3.9' && github.repository == 'CasperWA/voila-optimade-client'
uses: codecov/codecov-action@v3
with:
name: optimade-client
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cachecontrol[filecache]~=0.13.1
ipywidgets~=7.7
ipywidgets-extended>=1.1.1,<2,!=1.2.0,!=1.2.1
nglview~=3.0
optimade~=0.18.0
optimade~=0.25.1
pandas~=1.3
requests~=2.31
setuptools>=49.4
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cachecontrol[filecache]~=0.13.1
ipywidgets~=7.7
ipywidgets-extended>=1.1.1,<2,!=1.2.0,!=1.2.1
nglview~=3.0
optimade~=0.18.0
optimade~=0.25.1
pandas~=1.3
requests~=2.31
urllib3<2
Expand Down
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.7.10
python-3.9.18
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/CasperWA/voila-optimade-client",
python_requires=">=3.7",
python_requires=">=3.9",
packages=find_packages(),
include_package_data=True,
package_data={"optimade_client": ["img/*.png", "*.json"]},
Expand All @@ -45,9 +45,9 @@
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Chemistry",
Expand Down