Skip to content

Commit

Permalink
Merge pull request #1163 from tabedzki/master
Browse files Browse the repository at this point in the history
Bumped minimum version to 3.8
  • Loading branch information
ethho authored Aug 14, 2024
2 parents b2a7eab + 9e59b82 commit 701bb0b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
DOCKER_CLIENT_TIMEOUT: "120"
COMPOSE_HTTP_TIMEOUT: "120"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Validate version and release notes
run: |
DJ_VERSION=$(grep -oP '\d+\.\d+\.\d+' datajoint/version.py)
Expand Down Expand Up @@ -64,12 +64,10 @@ jobs:
mysql_ver: "8.0"
- py_ver: "3.8"
mysql_ver: "5.7"
- py_ver: "3.7"
mysql_ver: "5.7"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.py_ver}}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{matrix.py_ver}}
- name: Install dependencies
Expand All @@ -96,9 +94,9 @@ jobs:
matrix:
py_ver: ["3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.py_ver}}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{matrix.py_ver}}
- name: Install dependencies
Expand All @@ -119,7 +117,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
publish-docs:
Expand All @@ -132,7 +130,7 @@ jobs:
DOCKER_CLIENT_TIMEOUT: "120"
COMPOSE_HTTP_TIMEOUT: "120"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy docs
run: |
export MODE=BUILD
Expand Down Expand Up @@ -164,9 +162,9 @@ jobs:
outputs:
release_upload_url: ${{steps.create_gh_release.outputs.upload_url}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.py_ver}}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{matrix.py_ver}}
- name: Determine package version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
DOCKER_CLIENT_TIMEOUT: "120"
COMPOSE_HTTP_TIMEOUT: "120"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Deploy docs
run: |
export MODE=BUILD
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Changed - Returning success count after the .populate() call - PR [#1050](https://github.com/datajoint/datajoint-python/pull/1050)
- Fixed - `Autopopulate.populate` excludes `reserved` jobs in addition to `ignore` and `error` jobs
- Fixed - Issue [#1159]((https://github.com/datajoint/datajoint-python/pull/1159) (cascading delete) - PR [#1160](https://github.com/datajoint/datajoint-python/pull/1160)
- Changed - Minimum Python version for Datajoint-Python is now 3.8 PR #1163
- Fixed - `docker compose` commands in CI [#1164](https://github.com/datajoint/datajoint-python/pull/1164)

### 0.14.1 -- Jun 02, 2023
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 @@ pyparsing
ipython
pandas
tqdm
networkx<=2.6.3 # until py3.8 is our minimum version
networkx
pydot
minio>=7.0.0
matplotlib
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from os import path
import sys

min_py_version = (3, 7)
min_py_version = (3, 8)

if sys.version_info < min_py_version:
sys.exit(
Expand Down

0 comments on commit 701bb0b

Please sign in to comment.