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.
@@ -4,9 +4,9 @@ version = 3
4
4
 
5
5
  [[package]]
6
6
  name = "autocfg"
7
- version = "1.3.0"
7
+ version = "1.4.0"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
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.0.0"
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.158"
38
+ version = "0.2.161"
39
39
  source = "registry+https://github.com/rust-lang/crates.io-index"
40
- checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
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.19.0"
53
+ version = "1.20.2"
54
54
  source = "registry+https://github.com/rust-lang/crates.io-index"
55
- checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
55
+ checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
56
56
 
57
57
  [[package]]
58
58
  name = "portable-atomic"
59
- version = "1.8.0"
59
+ version = "1.9.0"
60
60
  source = "registry+https://github.com/rust-lang/crates.io-index"
61
- checksum = "d30538d42559de6b034bc76fd6dd4c38961b1ee5c6c56e3808c50128fdbc22ce"
61
+ checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
62
62
 
63
63
  [[package]]
64
64
  name = "proc-macro2"
65
- version = "1.0.86"
65
+ version = "1.0.89"
66
66
  source = "registry+https://github.com/rust-lang/crates.io-index"
67
- checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
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.3"
74
+ version = "0.22.5"
75
75
  source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
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.3"
92
+ version = "0.22.5"
93
93
  source = "registry+https://github.com/rust-lang/crates.io-index"
94
- checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
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.3"
102
+ version = "0.22.5"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
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.3"
112
+ version = "0.22.5"
113
113
  source = "registry+https://github.com/rust-lang/crates.io-index"
114
- checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
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.3"
124
+ version = "0.22.5"
125
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
- checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
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.77"
146
+ version = "2.0.85"
147
147
  source = "registry+https://github.com/rust-lang/crates.io-index"
148
- checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
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.0.0"
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.2", features = ["abi3-py38", "extension-module"] }
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.0.0
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.8
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.8"
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 = "py38"
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.8"
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/45508c1098a3fb7140ae3d86414cee8f5ee7511c.tar.gz") { };
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.8"
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.0.0"
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.1"
83
+ version = "2.0.2"
84
84
  source = { registry = "https://pypi.org/simple" }
85
- sdist = { url = "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f", size = 15164 }
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/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", size = 12757 },
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