githead 1.0.0__tar.gz → 1.1.0__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.
- {githead-1.0.0 → githead-1.1.0}/Cargo.lock +23 -23
- {githead-1.0.0 → githead-1.1.0}/Cargo.toml +2 -2
- {githead-1.0.0 → githead-1.1.0}/PKG-INFO +3 -4
- {githead-1.0.0 → githead-1.1.0}/pyproject.toml +4 -5
- {githead-1.0.0 → githead-1.1.0}/shell.nix +4 -5
- {githead-1.0.0 → githead-1.1.0}/uv.lock +5 -5
- {githead-1.0.0 → githead-1.1.0}/.envrc +0 -0
- {githead-1.0.0 → githead-1.1.0}/.gitattributes +0 -0
- {githead-1.0.0 → githead-1.1.0}/.github/workflows/workflow.yaml +0 -0
- {githead-1.0.0 → githead-1.1.0}/.gitignore +0 -0
- {githead-1.0.0 → githead-1.1.0}/.vscode/settings.json +0 -0
- {githead-1.0.0 → githead-1.1.0}/LICENSE +0 -0
- {githead-1.0.0 → githead-1.1.0}/README.md +0 -0
- {githead-1.0.0 → githead-1.1.0}/python/githead/__init__.py +0 -0
- {githead-1.0.0 → githead-1.1.0}/python/githead/_lib.pyi +0 -0
- {githead-1.0.0 → githead-1.1.0}/python/githead/py.typed +0 -0
- {githead-1.0.0 → githead-1.1.0}/src/lib.rs +0 -0
- {githead-1.0.0 → githead-1.1.0}/tests/git/refs/foo +0 -0
- {githead-1.0.0 → githead-1.1.0}/tests/test___init__.py +0 -0
|
@@ -4,9 +4,9 @@ version = 3
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "autocfg"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.4.0"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
10
10
|
|
|
11
11
|
[[package]]
|
|
12
12
|
name = "cfg-if"
|
|
@@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
16
16
|
|
|
17
17
|
[[package]]
|
|
18
18
|
name = "githead"
|
|
19
|
-
version = "1.
|
|
19
|
+
version = "1.1.0"
|
|
20
20
|
dependencies = [
|
|
21
21
|
"pyo3",
|
|
22
22
|
]
|
|
@@ -35,9 +35,9 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
|
35
35
|
|
|
36
36
|
[[package]]
|
|
37
37
|
name = "libc"
|
|
38
|
-
version = "0.2.
|
|
38
|
+
version = "0.2.161"
|
|
39
39
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
-
checksum = "
|
|
40
|
+
checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
|
|
41
41
|
|
|
42
42
|
[[package]]
|
|
43
43
|
name = "memoffset"
|
|
@@ -50,30 +50,30 @@ dependencies = [
|
|
|
50
50
|
|
|
51
51
|
[[package]]
|
|
52
52
|
name = "once_cell"
|
|
53
|
-
version = "1.
|
|
53
|
+
version = "1.20.2"
|
|
54
54
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
-
checksum = "
|
|
55
|
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
|
56
56
|
|
|
57
57
|
[[package]]
|
|
58
58
|
name = "portable-atomic"
|
|
59
|
-
version = "1.
|
|
59
|
+
version = "1.9.0"
|
|
60
60
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
-
checksum = "
|
|
61
|
+
checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
|
|
62
62
|
|
|
63
63
|
[[package]]
|
|
64
64
|
name = "proc-macro2"
|
|
65
|
-
version = "1.0.
|
|
65
|
+
version = "1.0.89"
|
|
66
66
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
67
|
-
checksum = "
|
|
67
|
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
|
|
68
68
|
dependencies = [
|
|
69
69
|
"unicode-ident",
|
|
70
70
|
]
|
|
71
71
|
|
|
72
72
|
[[package]]
|
|
73
73
|
name = "pyo3"
|
|
74
|
-
version = "0.22.
|
|
74
|
+
version = "0.22.5"
|
|
75
75
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
76
|
-
checksum = "
|
|
76
|
+
checksum = "3d922163ba1f79c04bc49073ba7b32fd5a8d3b76a87c955921234b8e77333c51"
|
|
77
77
|
dependencies = [
|
|
78
78
|
"cfg-if",
|
|
79
79
|
"indoc",
|
|
@@ -89,9 +89,9 @@ dependencies = [
|
|
|
89
89
|
|
|
90
90
|
[[package]]
|
|
91
91
|
name = "pyo3-build-config"
|
|
92
|
-
version = "0.22.
|
|
92
|
+
version = "0.22.5"
|
|
93
93
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
-
checksum = "
|
|
94
|
+
checksum = "bc38c5feeb496c8321091edf3d63e9a6829eab4b863b4a6a65f26f3e9cc6b179"
|
|
95
95
|
dependencies = [
|
|
96
96
|
"once_cell",
|
|
97
97
|
"target-lexicon",
|
|
@@ -99,9 +99,9 @@ dependencies = [
|
|
|
99
99
|
|
|
100
100
|
[[package]]
|
|
101
101
|
name = "pyo3-ffi"
|
|
102
|
-
version = "0.22.
|
|
102
|
+
version = "0.22.5"
|
|
103
103
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
-
checksum = "
|
|
104
|
+
checksum = "94845622d88ae274d2729fcefc850e63d7a3ddff5e3ce11bd88486db9f1d357d"
|
|
105
105
|
dependencies = [
|
|
106
106
|
"libc",
|
|
107
107
|
"pyo3-build-config",
|
|
@@ -109,9 +109,9 @@ dependencies = [
|
|
|
109
109
|
|
|
110
110
|
[[package]]
|
|
111
111
|
name = "pyo3-macros"
|
|
112
|
-
version = "0.22.
|
|
112
|
+
version = "0.22.5"
|
|
113
113
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
-
checksum = "
|
|
114
|
+
checksum = "e655aad15e09b94ffdb3ce3d217acf652e26bbc37697ef012f5e5e348c716e5e"
|
|
115
115
|
dependencies = [
|
|
116
116
|
"proc-macro2",
|
|
117
117
|
"pyo3-macros-backend",
|
|
@@ -121,9 +121,9 @@ dependencies = [
|
|
|
121
121
|
|
|
122
122
|
[[package]]
|
|
123
123
|
name = "pyo3-macros-backend"
|
|
124
|
-
version = "0.22.
|
|
124
|
+
version = "0.22.5"
|
|
125
125
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
-
checksum = "
|
|
126
|
+
checksum = "ae1e3f09eecd94618f60a455a23def79f79eba4dc561a97324bf9ac8c6df30ce"
|
|
127
127
|
dependencies = [
|
|
128
128
|
"heck",
|
|
129
129
|
"proc-macro2",
|
|
@@ -143,9 +143,9 @@ dependencies = [
|
|
|
143
143
|
|
|
144
144
|
[[package]]
|
|
145
145
|
name = "syn"
|
|
146
|
-
version = "2.0.
|
|
146
|
+
version = "2.0.85"
|
|
147
147
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
-
checksum = "
|
|
148
|
+
checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
|
|
149
149
|
dependencies = [
|
|
150
150
|
"proc-macro2",
|
|
151
151
|
"quote",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
edition = "2021"
|
|
3
3
|
name = "githead"
|
|
4
|
-
version = "1.
|
|
4
|
+
version = "1.1.0"
|
|
5
5
|
|
|
6
6
|
[lib]
|
|
7
7
|
crate-type = ["cdylib"]
|
|
8
8
|
name = "githead"
|
|
9
9
|
|
|
10
10
|
[dependencies]
|
|
11
|
-
pyo3 = { version = "0.22.
|
|
11
|
+
pyo3 = { version = "0.22.5", features = ["abi3-py39", "extension-module"] }
|
|
12
12
|
|
|
13
13
|
[profile.release]
|
|
14
14
|
overflow-checks = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: githead
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
|
|
@@ -9,7 +9,6 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.11
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
15
14
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -17,10 +16,10 @@ Classifier: Programming Language :: Rust
|
|
|
17
16
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
17
|
Classifier: Typing :: Typed
|
|
19
18
|
License-File: LICENSE
|
|
20
|
-
Summary: Simple utility for getting the current git commit hash
|
|
19
|
+
Summary: Simple utility for getting the current git commit hash (HEAD)
|
|
21
20
|
Keywords: commit,git,hash,vcs,version-control
|
|
22
21
|
Author-email: Kamil Monicz <kamil@monicz.dev>
|
|
23
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.9
|
|
24
23
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
25
24
|
Project-URL: Issues, https://github.com/Zaczero/githead/issues
|
|
26
25
|
Project-URL: Repository, https://github.com/Zaczero/githead
|
|
@@ -9,7 +9,6 @@ classifiers = [
|
|
|
9
9
|
"Programming Language :: Python :: 3.11",
|
|
10
10
|
"Programming Language :: Python :: 3.12",
|
|
11
11
|
"Programming Language :: Python :: 3.13",
|
|
12
|
-
"Programming Language :: Python :: 3.8",
|
|
13
12
|
"Programming Language :: Python :: 3.9",
|
|
14
13
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
15
14
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
@@ -18,12 +17,12 @@ classifiers = [
|
|
|
18
17
|
"Typing :: Typed",
|
|
19
18
|
]
|
|
20
19
|
dependencies = []
|
|
21
|
-
description = "Simple utility for getting the current git commit hash"
|
|
20
|
+
description = "Simple utility for getting the current git commit hash (HEAD)"
|
|
22
21
|
dynamic = ["version"]
|
|
23
22
|
keywords = ["commit", "git", "hash", "vcs", "version-control"]
|
|
24
23
|
name = "githead"
|
|
25
24
|
readme = "README.md"
|
|
26
|
-
requires-python = ">=3.
|
|
25
|
+
requires-python = ">=3.9"
|
|
27
26
|
|
|
28
27
|
[project.urls]
|
|
29
28
|
Issues = "https://github.com/Zaczero/githead/issues"
|
|
@@ -54,7 +53,7 @@ exclude = [
|
|
|
54
53
|
|
|
55
54
|
indent-width = 4
|
|
56
55
|
line-length = 120
|
|
57
|
-
target-version = "
|
|
56
|
+
target-version = "py39"
|
|
58
57
|
|
|
59
58
|
[tool.ruff.lint]
|
|
60
59
|
# custom + https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
|
|
@@ -149,7 +148,7 @@ max-args = 10
|
|
|
149
148
|
[tool.pyright]
|
|
150
149
|
include = ["python/githead", "tests"]
|
|
151
150
|
pythonPlatform = "All"
|
|
152
|
-
pythonVersion = "3.
|
|
151
|
+
pythonVersion = "3.9"
|
|
153
152
|
strict = ["python/githead"]
|
|
154
153
|
|
|
155
154
|
[tool.pytest.ini_options]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
let
|
|
4
4
|
# Update packages with `nixpkgs-update` command
|
|
5
|
-
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/
|
|
5
|
+
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/41dea55321e5a999b17033296ac05fe8a8b5a257.tar.gz") { };
|
|
6
6
|
|
|
7
7
|
packages' = with pkgs; [
|
|
8
8
|
coreutils
|
|
@@ -30,6 +30,9 @@ let
|
|
|
30
30
|
];
|
|
31
31
|
|
|
32
32
|
shell' = with pkgs; lib.optionalString isDevelopment ''
|
|
33
|
+
export PYTHONNOUSERSITE=1
|
|
34
|
+
export TZ=UTC
|
|
35
|
+
|
|
33
36
|
current_python=$(readlink -e .venv/bin/python || echo "")
|
|
34
37
|
current_python=''${current_python%/bin/*}
|
|
35
38
|
[ "$current_python" != "${python313}" ] && rm -rf .venv/
|
|
@@ -40,10 +43,6 @@ let
|
|
|
40
43
|
|
|
41
44
|
echo "Activating Python virtual environment"
|
|
42
45
|
source .venv/bin/activate
|
|
43
|
-
|
|
44
|
-
# Development environment variables
|
|
45
|
-
export PYTHONNOUSERSITE=1
|
|
46
|
-
export TZ=UTC
|
|
47
46
|
'';
|
|
48
47
|
in
|
|
49
48
|
pkgs.mkShell {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
version = 1
|
|
2
|
-
requires-python = ">=3.
|
|
2
|
+
requires-python = ">=3.9"
|
|
3
3
|
|
|
4
4
|
[[package]]
|
|
5
5
|
name = "colorama"
|
|
@@ -21,7 +21,7 @@ wheels = [
|
|
|
21
21
|
|
|
22
22
|
[[package]]
|
|
23
23
|
name = "githead"
|
|
24
|
-
version = "1.
|
|
24
|
+
version = "1.1.0"
|
|
25
25
|
source = { editable = "." }
|
|
26
26
|
|
|
27
27
|
[package.dev-dependencies]
|
|
@@ -80,9 +80,9 @@ wheels = [
|
|
|
80
80
|
|
|
81
81
|
[[package]]
|
|
82
82
|
name = "tomli"
|
|
83
|
-
version = "2.0.
|
|
83
|
+
version = "2.0.2"
|
|
84
84
|
source = { registry = "https://pypi.org/simple" }
|
|
85
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
85
|
+
sdist = { url = "https://files.pythonhosted.org/packages/35/b9/de2a5c0144d7d75a57ff355c0c24054f965b2dc3036456ae03a51ea6264b/tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed", size = 16096 }
|
|
86
86
|
wheels = [
|
|
87
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
87
|
+
{ url = "https://files.pythonhosted.org/packages/cf/db/ce8eda256fa131af12e0a76d481711abe4681b6923c27efb9a255c9e4594/tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38", size = 13237 },
|
|
88
88
|
]
|
|
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
|