Skip to content

Commit 5df6b00

Browse files
committed
MAINT: installing the minimal versions of the dependencies in the test pipeline, to ensure that they remain compatible
1 parent 860dbe3 commit 5df6b00

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/github-ci.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
strategy:
2424
matrix:
25-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
25+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
2626

2727
steps:
2828
- name: Checkout Code
@@ -39,7 +39,11 @@ jobs:
3939
- name: Install requirements (Python 3)
4040
run: pip install -r requirements/ci.txt -r requirements/dev.txt
4141
- name: Install pdfly
42-
run: pip install .
42+
run: |
43+
# We want to install the minimal versions of the dependencies,
44+
# to ensure that they remain compatible:
45+
sed -i '/dependencies = \[/,/\]/s/>=/==/' pyproject.toml
46+
pip install .
4347
4448
- name: Run tests
4549
run: pytest -vv

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = "A pure-python CLI application to manipulate PDF files"
1010
readme = "README.md"
1111
dynamic = ["version"]
1212
license = { file = "LICENSE" }
13-
requires-python = ">=3.6.1"
13+
requires-python = ">=3.7.0"
1414

1515
# https://pypi.org/pypi?%3Aaction=list_classifiers
1616
classifiers = [

0 commit comments

Comments
 (0)