spin 0.16__tar.gz → 0.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {spin-0.16/spin.egg-info → spin-0.17}/PKG-INFO +1 -2
- {spin-0.16 → spin-0.17}/pyproject.toml +0 -1
- {spin-0.16 → spin-0.17}/spin/__init__.py +1 -1
- {spin-0.16 → spin-0.17}/spin/cmds/util.py +9 -0
- {spin-0.16 → spin-0.17/spin.egg-info}/PKG-INFO +1 -2
- {spin-0.16 → spin-0.17}/spin.egg-info/requires.txt +0 -3
- {spin-0.16 → spin-0.17}/LICENSE +0 -0
- {spin-0.16 → spin-0.17}/README.md +0 -0
- {spin-0.16 → spin-0.17}/setup.cfg +0 -0
- {spin-0.16 → spin-0.17}/spin/__main__.py +0 -0
- {spin-0.16 → spin-0.17}/spin/cmds/__init__.py +0 -0
- {spin-0.16 → spin-0.17}/spin/cmds/build.py +0 -0
- {spin-0.16 → spin-0.17}/spin/cmds/meson.py +0 -0
- {spin-0.16 → spin-0.17}/spin/cmds/meta.py +0 -0
- {spin-0.16 → spin-0.17}/spin/cmds/pip.py +0 -0
- {spin-0.16 → spin-0.17}/spin/color_format.py +0 -0
- {spin-0.16 → spin-0.17}/spin/containers.py +0 -0
- {spin-0.16 → spin-0.17}/spin/sectioned_help.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/__init__.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/conftest.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_build_cmds.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_cli.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_editable.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_extend_command.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_meson.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_test.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/test_util.py +0 -0
- {spin-0.16 → spin-0.17}/spin/tests/testutil.py +0 -0
- {spin-0.16 → spin-0.17}/spin.egg-info/SOURCES.txt +0 -0
- {spin-0.16 → spin-0.17}/spin.egg-info/dependency_links.txt +0 -0
- {spin-0.16 → spin-0.17}/spin.egg-info/entry_points.txt +0 -0
- {spin-0.16 → spin-0.17}/spin.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spin
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.17
|
|
4
4
|
Summary: Developer tool for scientific Python libraries
|
|
5
5
|
Maintainer-email: Scientific Python <spin@discuss.scientific-python.org>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -50,7 +50,6 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
50
50
|
Requires-Python: >=3.10
|
|
51
51
|
Description-Content-Type: text/markdown
|
|
52
52
|
License-File: LICENSE
|
|
53
|
-
Requires-Dist: click<=8.2,>=8; python_version == "3.10"
|
|
54
53
|
Requires-Dist: click!=8.3.0,<8.4,>=8
|
|
55
54
|
Requires-Dist: tomli; python_version < "3.11"
|
|
56
55
|
Requires-Dist: colorama; platform_system == "Windows"
|
|
@@ -23,7 +23,6 @@ classifiers = [
|
|
|
23
23
|
"Programming Language :: Python :: 3 :: Only",
|
|
24
24
|
]
|
|
25
25
|
dependencies = [
|
|
26
|
-
"click>=8,<=8.2; python_version == '3.10'", # cannot deepcopy cmd params (specifically, Sentinel.UNSET) on 3.10
|
|
27
26
|
"click>=8,!=8.3.0,<8.4",
|
|
28
27
|
"tomli; python_version < '3.11'",
|
|
29
28
|
"colorama; platform_system == 'Windows'",
|
|
@@ -3,6 +3,7 @@ from __future__ import (
|
|
|
3
3
|
)
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
|
+
import enum
|
|
6
7
|
import os
|
|
7
8
|
import shlex
|
|
8
9
|
import shutil
|
|
@@ -159,6 +160,14 @@ def extend_command(
|
|
|
159
160
|
"""
|
|
160
161
|
my_cmd = copy.copy(cmd)
|
|
161
162
|
|
|
163
|
+
# This patch is to work around an enum deepcopy bug in Python 3.10.
|
|
164
|
+
if not hasattr(enum.Enum, "__deepcopy__"):
|
|
165
|
+
|
|
166
|
+
def __deepcopy__(self, memo):
|
|
167
|
+
return self
|
|
168
|
+
|
|
169
|
+
enum.Enum.__deepcopy__ = __deepcopy__ # type: ignore[method-assign]
|
|
170
|
+
|
|
162
171
|
# This is necessary to ensure that added options do not leak
|
|
163
172
|
# to the original command
|
|
164
173
|
my_cmd.params = copy.deepcopy(cmd.params)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spin
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.17
|
|
4
4
|
Summary: Developer tool for scientific Python libraries
|
|
5
5
|
Maintainer-email: Scientific Python <spin@discuss.scientific-python.org>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -50,7 +50,6 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
50
50
|
Requires-Python: >=3.10
|
|
51
51
|
Description-Content-Type: text/markdown
|
|
52
52
|
License-File: LICENSE
|
|
53
|
-
Requires-Dist: click<=8.2,>=8; python_version == "3.10"
|
|
54
53
|
Requires-Dist: click!=8.3.0,<8.4,>=8
|
|
55
54
|
Requires-Dist: tomli; python_version < "3.11"
|
|
56
55
|
Requires-Dist: colorama; platform_system == "Windows"
|
{spin-0.16 → spin-0.17}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|