package-dev-tools 0.8.0__tar.gz → 0.8.2__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.
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/PKG-INFO +7 -7
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/pyproject.toml +7 -7
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/template_sync/sync.py +1 -1
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/template_sync/trigger.py +3 -7
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/PKG-INFO +7 -7
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/requires.txt +6 -6
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/LICENSE +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/README.md +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/bin/pre-commit/bump-version +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/bin/pre-commit/check-version +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/setup.cfg +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/cleanup_readme.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/cleanup_workflows.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/git.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/instantiate_new_project.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/substitute_template_name/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/substitute_template_name/project.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/instantiate_new_project/substitute_template_name/substitute_template_name.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/template_sync/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/template_sync/git.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/template_sync/merge.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/check_coverage.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/check_shields.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/cleanup_readme.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/export_pre_commit_config.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/extract_package_name.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/extract_required_python_version.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/extract_supported_python_versions.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/instantiate_new_project.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/substitute_template_name.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/sync_template.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/trigger_template_sync.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/models/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/models/path.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/check_coverage.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/check_import.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/check_shields.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/expand_docstrings.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/export_config.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/py.typed +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/utils/__init__.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/utils/badge.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/utils/package.py +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/SOURCES.txt +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/dependency_links.txt +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/entry_points.txt +0 -0
- {package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: package-dev-tools
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: CI/CD tools for Python packages
|
|
5
5
|
Author-email: Quinten Roets <qdr2104@columbia.edu>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -8,21 +8,21 @@ Project-URL: Source Code, https://github.com/quintenroets/package-dev-tools
|
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE
|
|
11
|
-
Requires-Dist: package-utils<1,>=0.
|
|
12
|
-
Requires-Dist: powercli<1,>=0.
|
|
11
|
+
Requires-Dist: package-utils<1,>=0.8.3
|
|
12
|
+
Requires-Dist: powercli<1,>=0.4.0
|
|
13
13
|
Requires-Dist: pygithub<3,>=2.1.1
|
|
14
14
|
Requires-Dist: python-slugify<9,>=8.0.1
|
|
15
15
|
Requires-Dist: simple-classproperty<5,>=4.0.2
|
|
16
|
-
Requires-Dist: superpathlib<3,>=2.0.
|
|
16
|
+
Requires-Dist: superpathlib<3,>=2.0.12
|
|
17
17
|
Requires-Dist: toml<1,>=0.10.2
|
|
18
18
|
Requires-Dist: autotyping<25,>=23.3.0
|
|
19
19
|
Requires-Dist: bump2version<2,>=1.0.1
|
|
20
20
|
Requires-Dist: coverage<8,>=7.4.0
|
|
21
21
|
Requires-Dist: libcst<2,>=1.7.0
|
|
22
22
|
Requires-Dist: pre-commit<5,>=3.5.0
|
|
23
|
-
Requires-Dist: pytest<9
|
|
24
|
-
Requires-Dist: mypy<1
|
|
25
|
-
Requires-Dist: ruff<0.
|
|
23
|
+
Requires-Dist: pytest<10,>=9.0.2
|
|
24
|
+
Requires-Dist: mypy<2.1,>=2.0
|
|
25
|
+
Requires-Dist: ruff<0.16,>=0.15.6
|
|
26
26
|
Provides-Extra: dev
|
|
27
27
|
Requires-Dist: hypothesis<7,>=6.91.0; extra == "dev"
|
|
28
28
|
Requires-Dist: package-dev-utils<1,>=0.1.6; extra == "dev"
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "package-dev-tools"
|
|
3
|
-
version = "0.8.
|
|
3
|
+
version = "0.8.2"
|
|
4
4
|
description = "CI/CD tools for Python packages"
|
|
5
5
|
authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
|
|
6
6
|
license = "MIT"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"package-utils >=0.
|
|
11
|
-
"powercli >=0.
|
|
10
|
+
"package-utils >=0.8.3, <1",
|
|
11
|
+
"powercli >=0.4.0, <1",
|
|
12
12
|
"pygithub >=2.1.1, <3",
|
|
13
13
|
"python-slugify >=8.0.1, <9",
|
|
14
14
|
"simple-classproperty >=4.0.2, <5",
|
|
15
|
-
"superpathlib >=2.0.
|
|
15
|
+
"superpathlib >=2.0.12, <3",
|
|
16
16
|
"toml >=0.10.2, <1",
|
|
17
17
|
|
|
18
18
|
# pre-commit binaries
|
|
@@ -21,11 +21,11 @@ dependencies = [
|
|
|
21
21
|
"coverage >=7.4.0, <8",
|
|
22
22
|
"libcst >= 1.7.0, <2",
|
|
23
23
|
"pre-commit >=3.5.0, <5",
|
|
24
|
-
"pytest >=
|
|
24
|
+
"pytest >=9.0.2, <10",
|
|
25
25
|
|
|
26
26
|
# formatting binaries, stricter version range
|
|
27
|
-
"mypy >=
|
|
28
|
-
"ruff >=0.
|
|
27
|
+
"mypy >= 2.0, < 2.1",
|
|
28
|
+
"ruff >=0.15.6, <0.16"
|
|
29
29
|
]
|
|
30
30
|
|
|
31
31
|
[project.optional-dependencies]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import contextlib
|
|
1
2
|
from concurrent.futures import ThreadPoolExecutor
|
|
2
3
|
from dataclasses import dataclass
|
|
3
4
|
|
|
@@ -19,10 +20,5 @@ class TemplateSyncTriggerer(git.Client):
|
|
|
19
20
|
executor.map(self.trigger_if_possible, repos)
|
|
20
21
|
|
|
21
22
|
def trigger_if_possible(self, repo: Repository) -> None:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
except UnknownObjectException:
|
|
25
|
-
workflow = None
|
|
26
|
-
|
|
27
|
-
if workflow is not None:
|
|
28
|
-
workflow.create_dispatch("main")
|
|
23
|
+
with contextlib.suppress(UnknownObjectException):
|
|
24
|
+
repo.get_workflow(self.workflow_name).create_dispatch("main")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: package-dev-tools
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: CI/CD tools for Python packages
|
|
5
5
|
Author-email: Quinten Roets <qdr2104@columbia.edu>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -8,21 +8,21 @@ Project-URL: Source Code, https://github.com/quintenroets/package-dev-tools
|
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE
|
|
11
|
-
Requires-Dist: package-utils<1,>=0.
|
|
12
|
-
Requires-Dist: powercli<1,>=0.
|
|
11
|
+
Requires-Dist: package-utils<1,>=0.8.3
|
|
12
|
+
Requires-Dist: powercli<1,>=0.4.0
|
|
13
13
|
Requires-Dist: pygithub<3,>=2.1.1
|
|
14
14
|
Requires-Dist: python-slugify<9,>=8.0.1
|
|
15
15
|
Requires-Dist: simple-classproperty<5,>=4.0.2
|
|
16
|
-
Requires-Dist: superpathlib<3,>=2.0.
|
|
16
|
+
Requires-Dist: superpathlib<3,>=2.0.12
|
|
17
17
|
Requires-Dist: toml<1,>=0.10.2
|
|
18
18
|
Requires-Dist: autotyping<25,>=23.3.0
|
|
19
19
|
Requires-Dist: bump2version<2,>=1.0.1
|
|
20
20
|
Requires-Dist: coverage<8,>=7.4.0
|
|
21
21
|
Requires-Dist: libcst<2,>=1.7.0
|
|
22
22
|
Requires-Dist: pre-commit<5,>=3.5.0
|
|
23
|
-
Requires-Dist: pytest<9
|
|
24
|
-
Requires-Dist: mypy<1
|
|
25
|
-
Requires-Dist: ruff<0.
|
|
23
|
+
Requires-Dist: pytest<10,>=9.0.2
|
|
24
|
+
Requires-Dist: mypy<2.1,>=2.0
|
|
25
|
+
Requires-Dist: ruff<0.16,>=0.15.6
|
|
26
26
|
Provides-Extra: dev
|
|
27
27
|
Requires-Dist: hypothesis<7,>=6.91.0; extra == "dev"
|
|
28
28
|
Requires-Dist: package-dev-utils<1,>=0.1.6; extra == "dev"
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/requires.txt
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
package-utils<1,>=0.
|
|
2
|
-
powercli<1,>=0.
|
|
1
|
+
package-utils<1,>=0.8.3
|
|
2
|
+
powercli<1,>=0.4.0
|
|
3
3
|
pygithub<3,>=2.1.1
|
|
4
4
|
python-slugify<9,>=8.0.1
|
|
5
5
|
simple-classproperty<5,>=4.0.2
|
|
6
|
-
superpathlib<3,>=2.0.
|
|
6
|
+
superpathlib<3,>=2.0.12
|
|
7
7
|
toml<1,>=0.10.2
|
|
8
8
|
autotyping<25,>=23.3.0
|
|
9
9
|
bump2version<2,>=1.0.1
|
|
10
10
|
coverage<8,>=7.4.0
|
|
11
11
|
libcst<2,>=1.7.0
|
|
12
12
|
pre-commit<5,>=3.5.0
|
|
13
|
-
pytest<9
|
|
14
|
-
mypy<1
|
|
15
|
-
ruff<0.
|
|
13
|
+
pytest<10,>=9.0.2
|
|
14
|
+
mypy<2.1,>=2.0
|
|
15
|
+
ruff<0.16,>=0.15.6
|
|
16
16
|
|
|
17
17
|
[dev]
|
|
18
18
|
hypothesis<7,>=6.91.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/actions/__init__.py
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
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/check_coverage.py
RENAMED
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/check_shields.py
RENAMED
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/cleanup_readme.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/cli/sync_template.py
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools/pre_commit/check_import.py
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
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{package_dev_tools-0.8.0 → package_dev_tools-0.8.2}/src/package_dev_tools.egg-info/top_level.txt
RENAMED
|
File without changes
|