-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from lyz-code/fix/pdm
feat: support Python 3.11
- Loading branch information
Showing
8 changed files
with
713 additions
and
985 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ authors = [ | |
{name = "Lyz", email = "[email protected]"}, | ||
] | ||
license = {text = "GPL-3.0-only"} | ||
requires-python = ">=3.7.2" | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"beautifulsoup4>=4.10.0", | ||
"mkdocs>=1.2.3", | ||
|
@@ -49,10 +49,10 @@ classifiers=[ | |
"Operating System :: POSIX", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Utilities", | ||
"Natural Language :: English", | ||
] | ||
|
@@ -66,13 +66,16 @@ documentation = "https://lyz-code.github.io/mkdocs-newsletter" | |
mkdocs-newsletter = "mkdocs_newsletter:Newsletter" | ||
|
||
[tool.pdm] | ||
version = {from = "src/mkdocs_newsletter/version.py"} | ||
package-dir = "src" | ||
source-includes = ["tests/"] | ||
allow_prereleases = true | ||
|
||
[tool.pdm.build] | ||
editable-backend = "path" | ||
package-dir = "src" | ||
source-includes = ["tests/"] | ||
|
||
[tool.pdm.version] | ||
source = "file" | ||
path = "src/mkdocs_newsletter/version.py" | ||
|
||
[tool.pdm.overrides] | ||
# To be removed once https://github.com/flakeheaven/flakeheaven/issues/132 is solved | ||
|
@@ -150,8 +153,8 @@ dependencies = [ | |
] | ||
|
||
[build-system] | ||
requires = ["pdm-pep517"] | ||
build-backend = "pdm.pep517.api" | ||
requires = ["pdm-backend"] | ||
build-backend = "pdm.backend" | ||
|
||
# --------- Black ------------- | ||
|
||
|
@@ -199,6 +202,9 @@ filterwarnings = [ | |
"error", | ||
# Until https://github.com/ktosiek/pytest-freezegun/issues/35 is merged | ||
"ignore::DeprecationWarning:pytest_freezegun.*", | ||
# Until https://github.com/kurtmckee/feedparser/issues/330 is solved | ||
"ignore::DeprecationWarning:cgi", | ||
"ignore::DeprecationWarning:feedparser.*", | ||
] | ||
|
||
# --------- Coverage ------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters