Skip to content

Commit

Permalink
Remove: Drop support for Python 3.8 and update Weasyprint.
Browse files Browse the repository at this point in the history
Drop support for python 3.8 since it is not supported by new weasyprint
versions and update weasyprint since older versions are not compatible
with latest pydyf version
  • Loading branch information
a-h-abdelsalam committed Jul 22, 2024
1 parent b4cb294 commit ccfd314
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 46 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand All @@ -36,7 +35,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand Down
49 changes: 9 additions & 40 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", # pylint: disable=line-too-long
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -21,14 +20,14 @@ classifiers = [
]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
django = "=4.2.14"
xmltodict = ">=0.12,<0.14"
pyyaml = ">=5.3.1,<7.0.0"
uritemplate = ">=3.0.1,<5.0.0"
djangorestframework = "=3.15.2"
coreapi = "^2.3.3"
weasyprint = ">=51,<62"
weasyprint = ">=62"
rope = ">=0.17,<1.14"
sentry-sdk = { version = ">=1.1,<3.0", optional = true }

Expand All @@ -50,7 +49,7 @@ tracking = ["sentry-sdk"]

[tool.black]
line-length = 80
target-version = ['py38', 'py39', 'py310', 'py311']
target-version = ['py39', 'py310', 'py311']
exclude = '''
/(
\.git
Expand Down

0 comments on commit ccfd314

Please sign in to comment.