package-dev-tools 0.8.2__tar.gz → 0.8.4__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.2 → package_dev_tools-0.8.4}/PKG-INFO +4 -3
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/pyproject.toml +7 -6
- package_dev_tools-0.8.4/src/package_dev_tools/cli/extract_info.py +23 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/PKG-INFO +4 -3
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/SOURCES.txt +1 -3
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/entry_points.txt +3 -3
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/requires.txt +3 -2
- package_dev_tools-0.8.2/src/package_dev_tools/cli/extract_package_name.py +0 -9
- package_dev_tools-0.8.2/src/package_dev_tools/cli/extract_required_python_version.py +0 -9
- package_dev_tools-0.8.2/src/package_dev_tools/cli/extract_supported_python_versions.py +0 -13
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/LICENSE +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/README.md +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/bin/pre-commit/bump-version +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/bin/pre-commit/check-version +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/setup.cfg +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/cleanup_readme.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/cleanup_workflows.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/git.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/instantiate_new_project.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/substitute_template_name/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/substitute_template_name/project.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/instantiate_new_project/substitute_template_name/substitute_template_name.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/template_sync/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/template_sync/git.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/template_sync/merge.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/template_sync/sync.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/actions/template_sync/trigger.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/check_coverage.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/check_shields.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/cleanup_readme.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/export_pre_commit_config.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/instantiate_new_project.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/substitute_template_name.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/sync_template.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/trigger_template_sync.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/models/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/models/path.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/check_coverage.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/check_import.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/check_shields.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/expand_docstrings.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/export_config.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/py.typed +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/utils/__init__.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/utils/badge.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/utils/package.py +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/dependency_links.txt +0 -0
- {package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/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.4
|
|
4
4
|
Summary: CI/CD tools for Python packages
|
|
5
5
|
Author-email: Quinten Roets <qdr2104@columbia.edu>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -8,7 +8,7 @@ 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.8.
|
|
11
|
+
Requires-Dist: package-utils<1,>=0.8.4
|
|
12
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
|
|
@@ -21,11 +21,12 @@ 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
23
|
Requires-Dist: pytest<10,>=9.0.2
|
|
24
|
-
Requires-Dist: mypy<2.
|
|
24
|
+
Requires-Dist: mypy<2.2,>=2.1
|
|
25
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"
|
|
29
|
+
Requires-Dist: package-utils[context]<1,>=0.8.4; extra == "dev"
|
|
29
30
|
Requires-Dist: types-requests<3,>=2.31.0.10; extra == "dev"
|
|
30
31
|
Requires-Dist: types-toml<1,>=0.10.8.7; extra == "dev"
|
|
31
32
|
Dynamic: license-file
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "package-dev-tools"
|
|
3
|
-
version = "0.8.
|
|
3
|
+
version = "0.8.4"
|
|
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.8.
|
|
10
|
+
"package-utils >=0.8.4, <1",
|
|
11
11
|
"powercli >=0.4.0, <1",
|
|
12
12
|
"pygithub >=2.1.1, <3",
|
|
13
13
|
"python-slugify >=8.0.1, <9",
|
|
@@ -24,7 +24,7 @@ dependencies = [
|
|
|
24
24
|
"pytest >=9.0.2, <10",
|
|
25
25
|
|
|
26
26
|
# formatting binaries, stricter version range
|
|
27
|
-
"mypy >= 2.
|
|
27
|
+
"mypy >= 2.1, < 2.2",
|
|
28
28
|
"ruff >=0.15.6, <0.16"
|
|
29
29
|
]
|
|
30
30
|
|
|
@@ -32,6 +32,7 @@ dependencies = [
|
|
|
32
32
|
dev = [
|
|
33
33
|
"hypothesis >=6.91.0, <7",
|
|
34
34
|
"package-dev-utils >=0.1.6, <1",
|
|
35
|
+
"package-utils[context] >=0.8.4, <1",
|
|
35
36
|
|
|
36
37
|
# mypy
|
|
37
38
|
"types-requests >=2.31.0.10, <3",
|
|
@@ -48,9 +49,9 @@ expand-docstrings = "package_dev_tools.pre_commit.expand_docstrings:entry_point"
|
|
|
48
49
|
check-shields = "package_dev_tools.cli.check_shields:entry_point"
|
|
49
50
|
cleanup-readme = "package_dev_tools.cli.cleanup_readme:entry_point"
|
|
50
51
|
export-pre-commit-config = "package_dev_tools.cli.export_pre_commit_config:entry_point"
|
|
51
|
-
extract-package-name = "package_dev_tools.cli.
|
|
52
|
-
extract-required-python-version = "package_dev_tools.cli.
|
|
53
|
-
extract-supported-python-versions = "package_dev_tools.cli.
|
|
52
|
+
extract-package-name = "package_dev_tools.cli.extract_info:package_name"
|
|
53
|
+
extract-required-python-version = "package_dev_tools.cli.extract_info:required_python_version"
|
|
54
|
+
extract-supported-python-versions = "package_dev_tools.cli.extract_info:supported_python_versions"
|
|
54
55
|
instantiate-new-project = "package_dev_tools.cli.instantiate_new_project:entry_point"
|
|
55
56
|
substitute-template-name = "package_dev_tools.cli.substitute_template_name:entry_point"
|
|
56
57
|
sync-template = "package_dev_tools.cli.sync_template:entry_point"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import json
|
|
2
|
+
|
|
3
|
+
import cli
|
|
4
|
+
from package_utils.cli import create_entry_point
|
|
5
|
+
|
|
6
|
+
from package_dev_tools.utils.package import PackageInfo
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def extract_package_name(info: PackageInfo) -> None:
|
|
10
|
+
cli.console.print(info.package_name)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def extract_required_python_version(info: PackageInfo) -> None:
|
|
14
|
+
cli.console.print(info.required_python_version)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def extract_supported_python_versions(info: PackageInfo) -> None:
|
|
18
|
+
cli.console.print(json.dumps(list(info.supported_python_versions)))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
package_name = create_entry_point(extract_package_name)
|
|
22
|
+
required_python_version = create_entry_point(extract_required_python_version)
|
|
23
|
+
supported_python_versions = create_entry_point(extract_supported_python_versions)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: package-dev-tools
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.4
|
|
4
4
|
Summary: CI/CD tools for Python packages
|
|
5
5
|
Author-email: Quinten Roets <qdr2104@columbia.edu>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -8,7 +8,7 @@ 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.8.
|
|
11
|
+
Requires-Dist: package-utils<1,>=0.8.4
|
|
12
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
|
|
@@ -21,11 +21,12 @@ 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
23
|
Requires-Dist: pytest<10,>=9.0.2
|
|
24
|
-
Requires-Dist: mypy<2.
|
|
24
|
+
Requires-Dist: mypy<2.2,>=2.1
|
|
25
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"
|
|
29
|
+
Requires-Dist: package-utils[context]<1,>=0.8.4; extra == "dev"
|
|
29
30
|
Requires-Dist: types-requests<3,>=2.31.0.10; extra == "dev"
|
|
30
31
|
Requires-Dist: types-toml<1,>=0.10.8.7; extra == "dev"
|
|
31
32
|
Dynamic: license-file
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/SOURCES.txt
RENAMED
|
@@ -30,9 +30,7 @@ src/package_dev_tools/cli/check_coverage.py
|
|
|
30
30
|
src/package_dev_tools/cli/check_shields.py
|
|
31
31
|
src/package_dev_tools/cli/cleanup_readme.py
|
|
32
32
|
src/package_dev_tools/cli/export_pre_commit_config.py
|
|
33
|
-
src/package_dev_tools/cli/
|
|
34
|
-
src/package_dev_tools/cli/extract_required_python_version.py
|
|
35
|
-
src/package_dev_tools/cli/extract_supported_python_versions.py
|
|
33
|
+
src/package_dev_tools/cli/extract_info.py
|
|
36
34
|
src/package_dev_tools/cli/instantiate_new_project.py
|
|
37
35
|
src/package_dev_tools/cli/substitute_template_name.py
|
|
38
36
|
src/package_dev_tools/cli/sync_template.py
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/entry_points.txt
RENAMED
|
@@ -5,9 +5,9 @@ check-shields = package_dev_tools.cli.check_shields:entry_point
|
|
|
5
5
|
cleanup-readme = package_dev_tools.cli.cleanup_readme:entry_point
|
|
6
6
|
expand-docstrings = package_dev_tools.pre_commit.expand_docstrings:entry_point
|
|
7
7
|
export-pre-commit-config = package_dev_tools.cli.export_pre_commit_config:entry_point
|
|
8
|
-
extract-package-name = package_dev_tools.cli.
|
|
9
|
-
extract-required-python-version = package_dev_tools.cli.
|
|
10
|
-
extract-supported-python-versions = package_dev_tools.cli.
|
|
8
|
+
extract-package-name = package_dev_tools.cli.extract_info:package_name
|
|
9
|
+
extract-required-python-version = package_dev_tools.cli.extract_info:required_python_version
|
|
10
|
+
extract-supported-python-versions = package_dev_tools.cli.extract_info:supported_python_versions
|
|
11
11
|
instantiate-new-project = package_dev_tools.cli.instantiate_new_project:entry_point
|
|
12
12
|
substitute-template-name = package_dev_tools.cli.substitute_template_name:entry_point
|
|
13
13
|
sync-template = package_dev_tools.cli.sync_template:entry_point
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/requires.txt
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
package-utils<1,>=0.8.
|
|
1
|
+
package-utils<1,>=0.8.4
|
|
2
2
|
powercli<1,>=0.4.0
|
|
3
3
|
pygithub<3,>=2.1.1
|
|
4
4
|
python-slugify<9,>=8.0.1
|
|
@@ -11,11 +11,12 @@ coverage<8,>=7.4.0
|
|
|
11
11
|
libcst<2,>=1.7.0
|
|
12
12
|
pre-commit<5,>=3.5.0
|
|
13
13
|
pytest<10,>=9.0.2
|
|
14
|
-
mypy<2.
|
|
14
|
+
mypy<2.2,>=2.1
|
|
15
15
|
ruff<0.16,>=0.15.6
|
|
16
16
|
|
|
17
17
|
[dev]
|
|
18
18
|
hypothesis<7,>=6.91.0
|
|
19
19
|
package-dev-utils<1,>=0.1.6
|
|
20
|
+
package-utils[context]<1,>=0.8.4
|
|
20
21
|
types-requests<3,>=2.31.0.10
|
|
21
22
|
types-toml<1,>=0.10.8.7
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import cli
|
|
2
|
-
from package_utils.cli import instantiate_from_cli_args
|
|
3
|
-
|
|
4
|
-
from package_dev_tools.utils.package import PackageInfo
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
def entry_point() -> None:
|
|
8
|
-
package_info = instantiate_from_cli_args(PackageInfo)
|
|
9
|
-
cli.console.print(package_info.package_name)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import cli
|
|
2
|
-
from package_utils.cli import instantiate_from_cli_args
|
|
3
|
-
|
|
4
|
-
from package_dev_tools.utils.package import PackageInfo
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
def entry_point() -> None:
|
|
8
|
-
package_info = instantiate_from_cli_args(PackageInfo)
|
|
9
|
-
cli.console.print(package_info.required_python_version)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
|
|
3
|
-
import cli
|
|
4
|
-
from package_utils.cli import instantiate_from_cli_args
|
|
5
|
-
|
|
6
|
-
from package_dev_tools.utils.package import PackageInfo
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
def entry_point() -> None:
|
|
10
|
-
package_info = instantiate_from_cli_args(PackageInfo)
|
|
11
|
-
versions = list(package_info.supported_python_versions)
|
|
12
|
-
versions_json = json.dumps(versions)
|
|
13
|
-
cli.console.print(versions_json)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/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
|
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/check_coverage.py
RENAMED
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/check_shields.py
RENAMED
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/cleanup_readme.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/cli/sync_template.py
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools/pre_commit/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/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
|
|
File without changes
|
{package_dev_tools-0.8.2 → package_dev_tools-0.8.4}/src/package_dev_tools.egg-info/top_level.txt
RENAMED
|
File without changes
|