Skip to content

Commit

Permalink
Set python version >= 3.8 as build requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
giuluck committed Mar 5, 2024
1 parent 69d5efe commit 465eeb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ jobs:
# * test minimal versions: python 3.10 + strict (minimal) requirements from 'requirements.txt'
# * test latest versions: python 3:x (latest) + latest requirements (eager) from 'pyproject.toml' (.)
os: ["windows-2022", "macos-13", "ubuntu-20.04"]
versions: [
["3.6.7", "-r requirements.txt"],
["3.7.1", "-r requirements.txt"]
]
versions: [["3.8.0", "-r requirements.txt"], ["3.x", "--upgrade-strategy eager ."]]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -24,7 +21,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade pytest==7.0.0
pip install --upgrade pytest==8.0.2
pip install --upgrade ${{ matrix.versions[1] }}
- name: Print Versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "hatchling.build"
[project]
name = 'causalgen'
version = '0.1.1'
requires-python = '>=3.10'
requires-python = '>=3.8'
dependencies = [
'matplotlib>=3.7',
'networkx>=2.7',
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ matplotlib==3.7.0
networkx==2.7.0
numpy==1.22.0
pandas==1.4.0
pytest==7.0.0
pytest==8.0.2

0 comments on commit 465eeb7

Please sign in to comment.