-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support old 'toml' package for Focal (#670)
I'm not thrilled about using the deprecated 'toml' package, but tomli isn't available in Focal as a system package. The changes here will only fall back to 'toml' as a last resort, which should allow us to keep Focal support alive for a while longer.
- Loading branch information
Showing
4 changed files
with
15 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Author: Dirk Thomas <[email protected]> | |
|
||
--- setup.cfg 2018-05-27 11:22:33.000000000 -0700 | ||
+++ setup.cfg.patched 2018-05-27 11:22:33.000000000 -0700 | ||
@@ -33,9 +33,12 @@ | ||
@@ -33,11 +33,16 @@ | ||
importlib-metadata; python_version < "3.8" | ||
packaging | ||
pytest | ||
|
@@ -19,5 +19,10 @@ Author: Dirk Thomas <[email protected]> | |
+ # pytest-repeat | ||
+ # pytest-rerunfailures | ||
setuptools>=30.3.0 | ||
tomli>=1.0.0; python_version < "3.11" | ||
- tomli>=1.0.0; python_version < "3.11" | ||
+ # toml is also supported, rely on deb dependencies to select the | ||
+ # appropriate package | ||
+ # tomli>=1.0.0; python_version < "3.11" | ||
packages = find: | ||
zip_safe = false | ||
|
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