This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgpkg: python-solidpython 1.1.3-2: Rebuild to fix dependencies.
Switch to using correct dependencies. Add upstreamed patch to fix build-system and direct dependencies: SolidCode/SolidPython#203 Use unittest in check() and drop unneeded checkdepends. Open upstream ticket about missing 1.1.3 tag: SolidCode/SolidPython#202 git-svn-id: file:///srv/repos/svn-community/svn@1382173 9fca08f4-af9d-4005-b8df-a31f2cc04f65
- Loading branch information
Showing
3 changed files
with
93 additions
and
15 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
python-solidpython/trunk/0001-Switch-to-correct-PEP517-build-system.patch
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
From d6568ee7e1f85025725597d1cdcb62b3d0a1ded1 Mon Sep 17 00:00:00 2001 | ||
From: David Runge <[email protected]> | ||
Date: Mon, 9 Jan 2023 20:09:25 +0100 | ||
Subject: [PATCH 1/2] Switch to correct PEP517 build-system | ||
|
||
pyproject.toml: | ||
Since poetry is used, switch to the build-system setup as documented | ||
upstream (https://python-poetry.org/docs/pyproject#poetry-and-pep-517). | ||
--- | ||
pyproject.toml | 16 ++-------------- | ||
1 file changed, 2 insertions(+), 14 deletions(-) | ||
|
||
diff --git a/pyproject.toml b/pyproject.toml | ||
index 6554128..1ab7617 100644 | ||
--- a/pyproject.toml | ||
+++ b/pyproject.toml | ||
@@ -44,17 +44,5 @@ tox = "^tox 3.11" | ||
|
||
|
||
[build-system] | ||
-requires = [ | ||
- "poetry>=0.12", | ||
- # See https://github.com/pypa/setuptools/issues/2353#issuecomment-683781498 | ||
- # for the rest of these requirements, | ||
- # -ETJ 31 December 2020 | ||
- "setuptools>=30.3.0,<50", | ||
- "wheel", | ||
- "pytest-runner", | ||
- "setuptools_scm>=3.3.1", | ||
- | ||
-] | ||
- | ||
-build-backend = "poetry.masonry.api" | ||
- | ||
+requires = ["poetry-core>=1.0.0"] | ||
+build-backend = "poetry.core.masonry.api" | ||
-- | ||
2.39.0 | ||
|
28 changes: 28 additions & 0 deletions
28
python-solidpython/trunk/0002-Add-setuptools-to-dependencies.patch
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 025ca1c1bd9848bf12bff72b80b8d05d8e24968d Mon Sep 17 00:00:00 2001 | ||
From: David Runge <[email protected]> | ||
Date: Mon, 9 Jan 2023 20:25:43 +0100 | ||
Subject: [PATCH 2/2] Add setuptools to dependencies | ||
|
||
pyproject.toml: | ||
Pkg_resources is used in solid/solidpython.py, hence this project | ||
depends on setuptools until the use of pkg_resources is replaced with | ||
something else. | ||
--- | ||
pyproject.toml | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/pyproject.toml b/pyproject.toml | ||
index 1ab7617..8b31bb7 100644 | ||
--- a/pyproject.toml | ||
+++ b/pyproject.toml | ||
@@ -38,6 +38,7 @@ euclid3 = "^0.1.0" | ||
pypng = "^0.0.19" | ||
PrettyTable = "=0.7.2" | ||
ply = "^3.11" | ||
+setuptools = ">=65.6.3" | ||
|
||
[tool.poetry.dev-dependencies] | ||
tox = "^tox 3.11" | ||
-- | ||
2.39.0 | ||
|
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