Skip to content

Commit

Permalink
Install setuptools for pkg_resources on 3.12+
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 7, 2024
1 parent dcf0d1c commit de3888b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install 'PyTest'
python -m pip install -e .
python -m pip install -e .[dev]
- name: Test with pytest
run: |
pytest tests/
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def function_three():
'sphinx < 2',
# jinja2 3.0.3 was the last version to have contextfunction that sphinx 1.x needs
'jinja2~=3.0.3',
'setuptools; python_version>="3.12"',
]
},
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
Expand Down

0 comments on commit de3888b

Please sign in to comment.