Skip to content

Commit

Permalink
MAINT: installing the minimal versions of the dependencies in the tes…
Browse files Browse the repository at this point in the history
…t pipeline, to ensure that they remain compatible
  • Loading branch information
Lucas-C committed Dec 8, 2024
1 parent 860dbe3 commit c671592
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/github-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ jobs:
- name: Install requirements (Python 3)
run: pip install -r requirements/ci.txt -r requirements/dev.txt
- name: Install pdfly
run: pip install .
run: |
# We want to install the minimal versions of the dependencies,
# to ensure that they remain compatible:
sed -i '/dependencies = \[/,/\]/s/>=/==/' pyproject.toml
pip install .
- name: Run tests
run: pytest -vv
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "A pure-python CLI application to manipulate PDF files"
readme = "README.md"
dynamic = ["version"]
license = { file = "LICENSE" }
requires-python = ">=3.6.1"
requires-python = ">=3.7.0"

# https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers = [
Expand All @@ -22,6 +22,7 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
# We do not test Python 3.7 in CI, so support is not guaranteed
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -31,7 +32,7 @@ classifiers = [
]

dependencies = [
"pypdf>=3.8.2",
"pypdf>=3.8.0",
"typer>=0.12.4",
"pillow",
"pydantic",
Expand Down

0 comments on commit c671592

Please sign in to comment.