Skip to content

Commit

Permalink
Update dependencies and workflow
Browse files Browse the repository at this point in the history
Add typing_extension dependency to support 3.8 and 3.9

3.7 could still be supported with older typing_extensions releases,
but it reached its EOL
  • Loading branch information
Manitary committed Sep 30, 2023
1 parent 30845df commit 8074b39
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
max-parallel: 2
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
# Needed for Linux
Expand Down
23 changes: 14 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,28 @@ build-backend = "setuptools.build_meta"
name = "PDFMetadataEditor"
version = "0.3"
authors = [
{ name="Andrea Pachera" },
{ name="Gianmarco Brocchi", email="[email protected]" },
{ name="Michele Mastropietro", email="[email protected]" },
{ name = "Andrea Pachera" },
{ name = "Gianmarco Brocchi", email = "[email protected]" },
{ name = "Michele Mastropietro", email = "[email protected]" },
]
description = "A simple GUI to edit the PDF metadata"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]

dependencies = ["PyQt6", "pypdf", "pypdf[crypto]"]
dependencies = [
"typing_extensions >= 4.8; python_version < '3.10'",
"PyQt6 >= 6.5.2",
"pypdf >= 3.16.2",
"pypdf[crypto]",
]

[tool.setuptools]
package-dir = {"" = "src"}
package-dir = { "" = "src" }

[project.urls]
"Homepage" = "https://github.com/Manitary/PDF-Metadata-Editor"
Expand Down

0 comments on commit 8074b39

Please sign in to comment.