githead 1.1.0__tar.gz → 1.2.1__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.2.1/.github/workflows/workflow.yaml +100 -0
- {githead-1.1.0 → githead-1.2.1}/.gitignore +0 -3
- {githead-1.1.0 → githead-1.2.1}/PKG-INFO +11 -17
- {githead-1.1.0 → githead-1.2.1}/README.md +1 -3
- githead-1.2.1/githead/__init__.py +33 -0
- {githead-1.1.0 → githead-1.2.1}/pyproject.toml +32 -36
- {githead-1.1.0 → githead-1.2.1}/shell.nix +4 -7
- {githead-1.1.0 → githead-1.2.1}/tests/test___init__.py +4 -1
- githead-1.2.1/uv.lock +118 -0
- githead-1.1.0/.github/workflows/workflow.yaml +0 -224
- githead-1.1.0/Cargo.lock +0 -171
- githead-1.1.0/Cargo.toml +0 -14
- githead-1.1.0/python/githead/__init__.py +0 -5
- githead-1.1.0/python/githead/_lib.pyi +0 -9
- githead-1.1.0/src/lib.rs +0 -38
- githead-1.1.0/uv.lock +0 -88
- {githead-1.1.0 → githead-1.2.1}/.envrc +0 -0
- {githead-1.1.0 → githead-1.2.1}/.gitattributes +0 -0
- {githead-1.1.0 → githead-1.2.1}/.vscode/settings.json +0 -0
- {githead-1.1.0 → githead-1.2.1}/LICENSE +0 -0
- {githead-1.1.0/python → githead-1.2.1}/githead/py.typed +0 -0
- {githead-1.1.0 → githead-1.2.1}/tests/git/refs/foo +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- "*"
|
|
9
|
+
pull_request:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
runner:
|
|
18
|
+
- ubuntu-latest
|
|
19
|
+
- macos-latest
|
|
20
|
+
runs-on: ${{ matrix.runner }}
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
- uses: cachix/install-nix-action@v30
|
|
24
|
+
with:
|
|
25
|
+
nix_path: nixpkgs=channel:nixpkgs-24.05-darwin
|
|
26
|
+
|
|
27
|
+
- name: Generate cache key
|
|
28
|
+
run: |
|
|
29
|
+
nixpkgs_hash=$(egrep -o 'archive/[0-9a-f]{40}\.tar\.gz' shell.nix | cut -d'/' -f2 | cut -d'.' -f1)
|
|
30
|
+
echo "CACHE_KEY=${{ runner.os }}-$nixpkgs_hash" >> $GITHUB_ENV
|
|
31
|
+
|
|
32
|
+
- name: Cache Nix store
|
|
33
|
+
uses: actions/cache@v4
|
|
34
|
+
id: nix-cache
|
|
35
|
+
with:
|
|
36
|
+
key: nix-${{ env.CACHE_KEY }}
|
|
37
|
+
path: /tmp/nix-cache
|
|
38
|
+
|
|
39
|
+
- name: Import Nix store cache
|
|
40
|
+
if: steps.nix-cache.outputs.cache-hit == 'true'
|
|
41
|
+
run: nix-store --import < /tmp/nix-cache
|
|
42
|
+
|
|
43
|
+
- name: Cache Python venv
|
|
44
|
+
uses: actions/cache@v4
|
|
45
|
+
with:
|
|
46
|
+
key: python-${{ env.CACHE_KEY }}-${{ hashFiles('uv.lock') }}
|
|
47
|
+
path: |
|
|
48
|
+
~/.cache/uv
|
|
49
|
+
.venv
|
|
50
|
+
|
|
51
|
+
- name: Assert tag name matches version
|
|
52
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
53
|
+
run: |
|
|
54
|
+
nix-shell --pure --run "uv tree 2>&1 | grep -o 'githead v.*' | sed 's/githead v//' > .version.txt"
|
|
55
|
+
version=$(cat .version.txt)
|
|
56
|
+
rm .version.txt
|
|
57
|
+
tag_name=${{ github.ref_name }}
|
|
58
|
+
if [ "$version" != "$tag_name" ]; then
|
|
59
|
+
echo "Tag name mismatch: $version != $tag_name"
|
|
60
|
+
exit 1
|
|
61
|
+
fi
|
|
62
|
+
|
|
63
|
+
- name: Run tests
|
|
64
|
+
run: nix-shell --pure --run run-tests
|
|
65
|
+
|
|
66
|
+
- name: Build distributions
|
|
67
|
+
if: matrix.runner == 'ubuntu-latest'
|
|
68
|
+
run: nix-shell --pure --run "uv build"
|
|
69
|
+
|
|
70
|
+
- name: Upload distributions
|
|
71
|
+
if: matrix.runner == 'ubuntu-latest'
|
|
72
|
+
uses: actions/upload-artifact@v4
|
|
73
|
+
with:
|
|
74
|
+
name: dist
|
|
75
|
+
path: dist
|
|
76
|
+
|
|
77
|
+
- name: Export Nix store cache
|
|
78
|
+
if: steps.nix-cache.outputs.cache-hit != 'true'
|
|
79
|
+
run: nix-store --export $(find /nix/store -maxdepth 1 -name '*-*') > /tmp/nix-cache
|
|
80
|
+
|
|
81
|
+
release:
|
|
82
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
83
|
+
runs-on: ubuntu-latest
|
|
84
|
+
needs: test
|
|
85
|
+
environment:
|
|
86
|
+
name: pypi
|
|
87
|
+
url: https://pypi.org/p/githead
|
|
88
|
+
permissions:
|
|
89
|
+
id-token: write
|
|
90
|
+
steps:
|
|
91
|
+
- uses: astral-sh/setup-uv@v3
|
|
92
|
+
|
|
93
|
+
- name: Download distributions
|
|
94
|
+
uses: actions/download-artifact@v4
|
|
95
|
+
with:
|
|
96
|
+
name: dist
|
|
97
|
+
path: dist
|
|
98
|
+
|
|
99
|
+
- name: Publish to PyPI
|
|
100
|
+
run: uv publish
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: githead
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
|
+
Summary: Simple utility for getting the current git commit hash (HEAD)
|
|
5
|
+
Project-URL: Issues, https://github.com/Zaczero/githead/issues
|
|
6
|
+
Project-URL: Repository, https://github.com/Zaczero/githead
|
|
7
|
+
Author-email: Kamil Monicz <kamil@monicz.dev>
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Keywords: commit,git,git-commit,hash,head,vcs,version-control
|
|
4
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
11
|
Classifier: Intended Audience :: Developers
|
|
6
12
|
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
|
|
7
13
|
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
8
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
9
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
10
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
14
|
-
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
15
|
-
Classifier: Programming Language :: Rust
|
|
16
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
20
|
Classifier: Typing :: Typed
|
|
18
|
-
License-File: LICENSE
|
|
19
|
-
Summary: Simple utility for getting the current git commit hash (HEAD)
|
|
20
|
-
Keywords: commit,git,hash,vcs,version-control
|
|
21
|
-
Author-email: Kamil Monicz <kamil@monicz.dev>
|
|
22
21
|
Requires-Python: >=3.9
|
|
23
|
-
Description-Content-Type: text/markdown
|
|
24
|
-
Project-URL: Issues, https://github.com/Zaczero/githead/issues
|
|
25
|
-
Project-URL: Repository, https://github.com/Zaczero/githead
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
26
23
|
|
|
27
24
|
# githead
|
|
28
25
|
|
|
@@ -30,12 +27,10 @@ Project-URL: Repository, https://github.com/Zaczero/githead
|
|
|
30
27
|
[](https://liberapay.com/Zaczero/)
|
|
31
28
|
[](https://github.com/sponsors/Zaczero)
|
|
32
29
|
|
|
33
|
-
Simple utility for getting the current git commit hash.
|
|
30
|
+
Simple utility for getting the current git commit hash (HEAD).
|
|
34
31
|
|
|
35
32
|
## Installation
|
|
36
33
|
|
|
37
|
-
The recommended installation method is through the PyPI package manager. The project is implemented in Rust and several pre-built binary wheels are available for Linux, macOS, and Windows, with support for both x64 and ARM architectures.
|
|
38
|
-
|
|
39
34
|
```sh
|
|
40
35
|
pip install githead
|
|
41
36
|
```
|
|
@@ -50,4 +45,3 @@ githead() # -> 'bca663418428d603eea8243d08a5ded19eb19a34'
|
|
|
50
45
|
# defaults to '.git' directory but can be changed:
|
|
51
46
|
githead('path/to/.git')
|
|
52
47
|
```
|
|
53
|
-
|
|
@@ -4,12 +4,10 @@
|
|
|
4
4
|
[](https://liberapay.com/Zaczero/)
|
|
5
5
|
[](https://github.com/sponsors/Zaczero)
|
|
6
6
|
|
|
7
|
-
Simple utility for getting the current git commit hash.
|
|
7
|
+
Simple utility for getting the current git commit hash (HEAD).
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
-
The recommended installation method is through the PyPI package manager. The project is implemented in Rust and several pre-built binary wheels are available for Linux, macOS, and Windows, with support for both x64 and ARM architectures.
|
|
12
|
-
|
|
13
11
|
```sh
|
|
14
12
|
pip install githead
|
|
15
13
|
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
from typing import TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from os import PathLike
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def githead(git_dir: PathLike[str] | str = '.git') -> str:
|
|
11
|
+
"""Get the current git commit hash.
|
|
12
|
+
|
|
13
|
+
>>> githead()
|
|
14
|
+
'bca663418428d603eea8243d08a5ded19eb19a34'
|
|
15
|
+
"""
|
|
16
|
+
dir_path = Path(git_dir)
|
|
17
|
+
head_path = dir_path.joinpath('HEAD')
|
|
18
|
+
head = head_path.read_text().strip()
|
|
19
|
+
|
|
20
|
+
is_symbolic = head[:5] == 'ref: '
|
|
21
|
+
if not is_symbolic:
|
|
22
|
+
return head
|
|
23
|
+
|
|
24
|
+
dir_abs = dir_path.resolve()
|
|
25
|
+
ref_abs = dir_abs.joinpath(head[5:]).resolve()
|
|
26
|
+
if not ref_abs.is_relative_to(dir_abs):
|
|
27
|
+
raise ValueError(f'HEAD references outside of {git_dir} directory')
|
|
28
|
+
|
|
29
|
+
ref = ref_abs.read_text().strip()
|
|
30
|
+
return ref
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
__all__ = ('githead',)
|
|
@@ -10,53 +10,50 @@ classifiers = [
|
|
|
10
10
|
"Programming Language :: Python :: 3.12",
|
|
11
11
|
"Programming Language :: Python :: 3.13",
|
|
12
12
|
"Programming Language :: Python :: 3.9",
|
|
13
|
-
"Programming Language :: Python :: Implementation :: CPython",
|
|
14
|
-
"Programming Language :: Python :: Implementation :: PyPy",
|
|
15
|
-
"Programming Language :: Rust",
|
|
16
13
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
17
14
|
"Typing :: Typed",
|
|
18
15
|
]
|
|
19
16
|
dependencies = []
|
|
20
17
|
description = "Simple utility for getting the current git commit hash (HEAD)"
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
keywords = [
|
|
19
|
+
"commit",
|
|
20
|
+
"git",
|
|
21
|
+
"git-commit",
|
|
22
|
+
"hash",
|
|
23
|
+
"head",
|
|
24
|
+
"vcs",
|
|
25
|
+
"version-control",
|
|
26
|
+
]
|
|
23
27
|
name = "githead"
|
|
24
28
|
readme = "README.md"
|
|
25
29
|
requires-python = ">=3.9"
|
|
30
|
+
version = "1.2.1"
|
|
26
31
|
|
|
27
32
|
[project.urls]
|
|
28
33
|
Issues = "https://github.com/Zaczero/githead/issues"
|
|
29
34
|
Repository = "https://github.com/Zaczero/githead"
|
|
30
35
|
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
[dependency-groups]
|
|
37
|
+
dev = [
|
|
38
|
+
"pytest",
|
|
39
|
+
]
|
|
34
40
|
|
|
35
|
-
[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
python-source = "python"
|
|
41
|
+
[build-system]
|
|
42
|
+
requires = ["hatchling"]
|
|
43
|
+
build-backend = "hatchling.build"
|
|
39
44
|
|
|
40
45
|
[tool.uv]
|
|
41
|
-
|
|
46
|
+
compile-bytecode = true
|
|
47
|
+
package = true
|
|
48
|
+
python-downloads = "never"
|
|
49
|
+
python-preference = "only-system"
|
|
42
50
|
|
|
43
51
|
[tool.ruff]
|
|
44
|
-
exclude = [
|
|
45
|
-
".direnv",
|
|
46
|
-
".git",
|
|
47
|
-
".github",
|
|
48
|
-
".pytest_cache",
|
|
49
|
-
".ruff_cache",
|
|
50
|
-
".venv",
|
|
51
|
-
".vscode",
|
|
52
|
-
]
|
|
53
|
-
|
|
54
52
|
indent-width = 4
|
|
55
|
-
line-length =
|
|
53
|
+
line-length = 88
|
|
56
54
|
target-version = "py39"
|
|
57
55
|
|
|
58
56
|
[tool.ruff.lint]
|
|
59
|
-
# custom + https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
|
|
60
57
|
ignore = [
|
|
61
58
|
"B017", # assert-raises-exception
|
|
62
59
|
"COM812", # missing-trailing-comma
|
|
@@ -79,7 +76,7 @@ ignore = [
|
|
|
79
76
|
"TRY003", # raise-vanilla-args
|
|
80
77
|
"W191", # tab-indentation
|
|
81
78
|
]
|
|
82
|
-
# see https://docs.astral.sh/ruff/rules/
|
|
79
|
+
# see https://docs.astral.sh/ruff/rules/
|
|
83
80
|
select = [
|
|
84
81
|
"A", # flake8-builtins
|
|
85
82
|
"ARG", # flake8-unused-arguments
|
|
@@ -92,7 +89,8 @@ select = [
|
|
|
92
89
|
"E9",
|
|
93
90
|
"F", # pyflakes
|
|
94
91
|
"FA", # flake8-future-annotations
|
|
95
|
-
"FLY", # flynt
|
|
92
|
+
"FLY", # flynt
|
|
93
|
+
"FURB", # refurb
|
|
96
94
|
"G", # flake8-logging-format
|
|
97
95
|
"I", # isort
|
|
98
96
|
"ICN", # flake8-import-conventions
|
|
@@ -103,6 +101,10 @@ select = [
|
|
|
103
101
|
"NPY", # numpy
|
|
104
102
|
"PERF", # perflint
|
|
105
103
|
"PIE", # flake8-pie
|
|
104
|
+
"PLC", # pylint
|
|
105
|
+
"PLE", # pylint
|
|
106
|
+
"PLR", # pylint
|
|
107
|
+
"PLW", # pylint
|
|
106
108
|
"PT", # flake8-pytest-style
|
|
107
109
|
"PTH", # flake8-use-pathlib
|
|
108
110
|
"PYI", # flake8-pyi
|
|
@@ -114,6 +116,7 @@ select = [
|
|
|
114
116
|
"SLF", # flake8-self
|
|
115
117
|
"SLOT", # flake8-slots
|
|
116
118
|
"T10", # flake8-debugger
|
|
119
|
+
"TCH", # flake8-type-checking
|
|
117
120
|
"TID", # flake8-tidy-imports
|
|
118
121
|
"TRY", # tryceratops
|
|
119
122
|
"UP", # pyupgrade
|
|
@@ -121,22 +124,15 @@ select = [
|
|
|
121
124
|
"YTT", # flake8-2020
|
|
122
125
|
]
|
|
123
126
|
|
|
124
|
-
# allow fix for all enabled rules (when `--fix`) is provided.
|
|
125
127
|
fixable = ["ALL"]
|
|
126
128
|
unfixable = []
|
|
127
129
|
|
|
128
|
-
# allow unused variables when underscore-prefixed.
|
|
129
|
-
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
130
|
-
|
|
131
130
|
[tool.ruff.format]
|
|
132
131
|
indent-style = "space"
|
|
133
132
|
line-ending = "lf"
|
|
134
133
|
quote-style = "single"
|
|
135
134
|
skip-magic-trailing-comma = false
|
|
136
135
|
|
|
137
|
-
[tool.ruff.lint.flake8-builtins]
|
|
138
|
-
builtins-ignorelist = ["input"]
|
|
139
|
-
|
|
140
136
|
[tool.ruff.lint.flake8-quotes]
|
|
141
137
|
docstring-quotes = "double"
|
|
142
138
|
inline-quotes = "single"
|
|
@@ -146,10 +142,10 @@ multiline-quotes = "double"
|
|
|
146
142
|
max-args = 10
|
|
147
143
|
|
|
148
144
|
[tool.pyright]
|
|
149
|
-
include = ["
|
|
145
|
+
include = ["githead", "tests"]
|
|
150
146
|
pythonPlatform = "All"
|
|
151
147
|
pythonVersion = "3.9"
|
|
152
|
-
strict = ["
|
|
148
|
+
strict = ["githead"]
|
|
153
149
|
|
|
154
150
|
[tool.pytest.ini_options]
|
|
155
151
|
addopts = "--quiet"
|
|
@@ -2,17 +2,14 @@
|
|
|
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/95ea544c84ebed84a31896b0ecea2570e5e0e236.tar.gz") { };
|
|
6
6
|
|
|
7
7
|
packages' = with pkgs; [
|
|
8
8
|
coreutils
|
|
9
9
|
python313
|
|
10
10
|
uv
|
|
11
11
|
ruff
|
|
12
|
-
maturin
|
|
13
|
-
(lib.optional stdenv.isDarwin libiconv)
|
|
14
12
|
|
|
15
|
-
(writeShellScriptBin "make" "maturin develop --uv")
|
|
16
13
|
(writeShellScriptBin "run-tests" ''
|
|
17
14
|
python -m pytest . \
|
|
18
15
|
--verbose \
|
|
@@ -38,14 +35,14 @@ let
|
|
|
38
35
|
[ "$current_python" != "${python313}" ] && rm -rf .venv/
|
|
39
36
|
|
|
40
37
|
echo "Installing Python dependencies"
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
export UV_PYTHON="${python313}/bin/python"
|
|
39
|
+
uv sync --frozen
|
|
43
40
|
|
|
44
41
|
echo "Activating Python virtual environment"
|
|
45
42
|
source .venv/bin/activate
|
|
46
43
|
'';
|
|
47
44
|
in
|
|
48
|
-
pkgs.
|
|
45
|
+
pkgs.mkShellNoCC {
|
|
49
46
|
buildInputs = packages';
|
|
50
47
|
shellHook = shell';
|
|
51
48
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
|
+
|
|
4
5
|
from githead import githead
|
|
5
6
|
|
|
6
7
|
GIT_PATH = Path('tests/git')
|
|
@@ -31,5 +32,7 @@ def test_reference_not_found():
|
|
|
31
32
|
|
|
32
33
|
def test_reference_outside_git():
|
|
33
34
|
HEAD_PATH.write_text('ref: ../test___init__.py\n')
|
|
34
|
-
with pytest.raises(
|
|
35
|
+
with pytest.raises(
|
|
36
|
+
ValueError, match='HEAD references outside of tests/git directory'
|
|
37
|
+
):
|
|
35
38
|
githead(GIT_PATH)
|
githead-1.2.1/uv.lock
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
version = 1
|
|
2
|
+
requires-python = ">=3.9"
|
|
3
|
+
|
|
4
|
+
[[package]]
|
|
5
|
+
name = "colorama"
|
|
6
|
+
version = "0.4.6"
|
|
7
|
+
source = { registry = "https://pypi.org/simple" }
|
|
8
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 }
|
|
9
|
+
wheels = [
|
|
10
|
+
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 },
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
[[package]]
|
|
14
|
+
name = "exceptiongroup"
|
|
15
|
+
version = "1.2.2"
|
|
16
|
+
source = { registry = "https://pypi.org/simple" }
|
|
17
|
+
sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883 }
|
|
18
|
+
wheels = [
|
|
19
|
+
{ url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453 },
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[[package]]
|
|
23
|
+
name = "githead"
|
|
24
|
+
version = "1.2.1"
|
|
25
|
+
source = { editable = "." }
|
|
26
|
+
|
|
27
|
+
[package.dev-dependencies]
|
|
28
|
+
dev = [
|
|
29
|
+
{ name = "pytest" },
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[package.metadata]
|
|
33
|
+
|
|
34
|
+
[package.metadata.requires-dev]
|
|
35
|
+
dev = [{ name = "pytest" }]
|
|
36
|
+
|
|
37
|
+
[[package]]
|
|
38
|
+
name = "iniconfig"
|
|
39
|
+
version = "2.0.0"
|
|
40
|
+
source = { registry = "https://pypi.org/simple" }
|
|
41
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 }
|
|
42
|
+
wheels = [
|
|
43
|
+
{ url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 },
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
[[package]]
|
|
47
|
+
name = "packaging"
|
|
48
|
+
version = "24.2"
|
|
49
|
+
source = { registry = "https://pypi.org/simple" }
|
|
50
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950 }
|
|
51
|
+
wheels = [
|
|
52
|
+
{ url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451 },
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "pluggy"
|
|
57
|
+
version = "1.5.0"
|
|
58
|
+
source = { registry = "https://pypi.org/simple" }
|
|
59
|
+
sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955 }
|
|
60
|
+
wheels = [
|
|
61
|
+
{ url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "pytest"
|
|
66
|
+
version = "8.3.4"
|
|
67
|
+
source = { registry = "https://pypi.org/simple" }
|
|
68
|
+
dependencies = [
|
|
69
|
+
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
70
|
+
{ name = "exceptiongroup", marker = "python_full_version < '3.11'" },
|
|
71
|
+
{ name = "iniconfig" },
|
|
72
|
+
{ name = "packaging" },
|
|
73
|
+
{ name = "pluggy" },
|
|
74
|
+
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
|
75
|
+
]
|
|
76
|
+
sdist = { url = "https://files.pythonhosted.org/packages/05/35/30e0d83068951d90a01852cb1cef56e5d8a09d20c7f511634cc2f7e0372a/pytest-8.3.4.tar.gz", hash = "sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761", size = 1445919 }
|
|
77
|
+
wheels = [
|
|
78
|
+
{ url = "https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6", size = 343083 },
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
[[package]]
|
|
82
|
+
name = "tomli"
|
|
83
|
+
version = "2.2.1"
|
|
84
|
+
source = { registry = "https://pypi.org/simple" }
|
|
85
|
+
sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175 }
|
|
86
|
+
wheels = [
|
|
87
|
+
{ url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077 },
|
|
88
|
+
{ url = "https://files.pythonhosted.org/packages/c7/16/51ae563a8615d472fdbffc43a3f3d46588c264ac4f024f63f01283becfbb/tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6", size = 123429 },
|
|
89
|
+
{ url = "https://files.pythonhosted.org/packages/f1/dd/4f6cd1e7b160041db83c694abc78e100473c15d54620083dbd5aae7b990e/tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a", size = 226067 },
|
|
90
|
+
{ url = "https://files.pythonhosted.org/packages/a9/6b/c54ede5dc70d648cc6361eaf429304b02f2871a345bbdd51e993d6cdf550/tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee", size = 236030 },
|
|
91
|
+
{ url = "https://files.pythonhosted.org/packages/1f/47/999514fa49cfaf7a92c805a86c3c43f4215621855d151b61c602abb38091/tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e", size = 240898 },
|
|
92
|
+
{ url = "https://files.pythonhosted.org/packages/73/41/0a01279a7ae09ee1573b423318e7934674ce06eb33f50936655071d81a24/tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4", size = 229894 },
|
|
93
|
+
{ url = "https://files.pythonhosted.org/packages/55/18/5d8bc5b0a0362311ce4d18830a5d28943667599a60d20118074ea1b01bb7/tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106", size = 245319 },
|
|
94
|
+
{ url = "https://files.pythonhosted.org/packages/92/a3/7ade0576d17f3cdf5ff44d61390d4b3febb8a9fc2b480c75c47ea048c646/tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8", size = 238273 },
|
|
95
|
+
{ url = "https://files.pythonhosted.org/packages/72/6f/fa64ef058ac1446a1e51110c375339b3ec6be245af9d14c87c4a6412dd32/tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff", size = 98310 },
|
|
96
|
+
{ url = "https://files.pythonhosted.org/packages/6a/1c/4a2dcde4a51b81be3530565e92eda625d94dafb46dbeb15069df4caffc34/tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b", size = 108309 },
|
|
97
|
+
{ url = "https://files.pythonhosted.org/packages/52/e1/f8af4c2fcde17500422858155aeb0d7e93477a0d59a98e56cbfe75070fd0/tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea", size = 132762 },
|
|
98
|
+
{ url = "https://files.pythonhosted.org/packages/03/b8/152c68bb84fc00396b83e7bbddd5ec0bd3dd409db4195e2a9b3e398ad2e3/tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8", size = 123453 },
|
|
99
|
+
{ url = "https://files.pythonhosted.org/packages/c8/d6/fc9267af9166f79ac528ff7e8c55c8181ded34eb4b0e93daa767b8841573/tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192", size = 233486 },
|
|
100
|
+
{ url = "https://files.pythonhosted.org/packages/5c/51/51c3f2884d7bab89af25f678447ea7d297b53b5a3b5730a7cb2ef6069f07/tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222", size = 242349 },
|
|
101
|
+
{ url = "https://files.pythonhosted.org/packages/ab/df/bfa89627d13a5cc22402e441e8a931ef2108403db390ff3345c05253935e/tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77", size = 252159 },
|
|
102
|
+
{ url = "https://files.pythonhosted.org/packages/9e/6e/fa2b916dced65763a5168c6ccb91066f7639bdc88b48adda990db10c8c0b/tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6", size = 237243 },
|
|
103
|
+
{ url = "https://files.pythonhosted.org/packages/b4/04/885d3b1f650e1153cbb93a6a9782c58a972b94ea4483ae4ac5cedd5e4a09/tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd", size = 259645 },
|
|
104
|
+
{ url = "https://files.pythonhosted.org/packages/9c/de/6b432d66e986e501586da298e28ebeefd3edc2c780f3ad73d22566034239/tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e", size = 244584 },
|
|
105
|
+
{ url = "https://files.pythonhosted.org/packages/1c/9a/47c0449b98e6e7d1be6cbac02f93dd79003234ddc4aaab6ba07a9a7482e2/tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98", size = 98875 },
|
|
106
|
+
{ url = "https://files.pythonhosted.org/packages/ef/60/9b9638f081c6f1261e2688bd487625cd1e660d0a85bd469e91d8db969734/tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4", size = 109418 },
|
|
107
|
+
{ url = "https://files.pythonhosted.org/packages/04/90/2ee5f2e0362cb8a0b6499dc44f4d7d48f8fff06d28ba46e6f1eaa61a1388/tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7", size = 132708 },
|
|
108
|
+
{ url = "https://files.pythonhosted.org/packages/c0/ec/46b4108816de6b385141f082ba99e315501ccd0a2ea23db4a100dd3990ea/tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c", size = 123582 },
|
|
109
|
+
{ url = "https://files.pythonhosted.org/packages/a0/bd/b470466d0137b37b68d24556c38a0cc819e8febe392d5b199dcd7f578365/tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13", size = 232543 },
|
|
110
|
+
{ url = "https://files.pythonhosted.org/packages/d9/e5/82e80ff3b751373f7cead2815bcbe2d51c895b3c990686741a8e56ec42ab/tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281", size = 241691 },
|
|
111
|
+
{ url = "https://files.pythonhosted.org/packages/05/7e/2a110bc2713557d6a1bfb06af23dd01e7dde52b6ee7dadc589868f9abfac/tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272", size = 251170 },
|
|
112
|
+
{ url = "https://files.pythonhosted.org/packages/64/7b/22d713946efe00e0adbcdfd6d1aa119ae03fd0b60ebed51ebb3fa9f5a2e5/tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140", size = 236530 },
|
|
113
|
+
{ url = "https://files.pythonhosted.org/packages/38/31/3a76f67da4b0cf37b742ca76beaf819dca0ebef26d78fc794a576e08accf/tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2", size = 258666 },
|
|
114
|
+
{ url = "https://files.pythonhosted.org/packages/07/10/5af1293da642aded87e8a988753945d0cf7e00a9452d3911dd3bb354c9e2/tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744", size = 243954 },
|
|
115
|
+
{ url = "https://files.pythonhosted.org/packages/5b/b9/1ed31d167be802da0fc95020d04cd27b7d7065cc6fbefdd2f9186f60d7bd/tomli-2.2.1-cp313-cp313-win32.whl", hash = "sha256:d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec", size = 98724 },
|
|
116
|
+
{ url = "https://files.pythonhosted.org/packages/c7/32/b0963458706accd9afcfeb867c0f9175a741bf7b19cd424230714d722198/tomli-2.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69", size = 109383 },
|
|
117
|
+
{ url = "https://files.pythonhosted.org/packages/6e/c2/61d3e0f47e2b74ef40a68b9e6ad5984f6241a942f7cd3bbfbdbd03861ea9/tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc", size = 14257 },
|
|
118
|
+
]
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
# This file is autogenerated by maturin v1.7.0
|
|
2
|
-
# To update, run
|
|
3
|
-
#
|
|
4
|
-
# maturin generate-ci github --platform all --zig
|
|
5
|
-
#
|
|
6
|
-
name: CI
|
|
7
|
-
|
|
8
|
-
on:
|
|
9
|
-
push:
|
|
10
|
-
branches:
|
|
11
|
-
- main
|
|
12
|
-
tags:
|
|
13
|
-
- "*"
|
|
14
|
-
pull_request:
|
|
15
|
-
branches:
|
|
16
|
-
- main
|
|
17
|
-
|
|
18
|
-
permissions:
|
|
19
|
-
contents: read
|
|
20
|
-
|
|
21
|
-
jobs:
|
|
22
|
-
test:
|
|
23
|
-
name: Run tests
|
|
24
|
-
runs-on: ${{ matrix.runner }}
|
|
25
|
-
strategy:
|
|
26
|
-
matrix:
|
|
27
|
-
runner:
|
|
28
|
-
- ubuntu-latest
|
|
29
|
-
- macos-latest
|
|
30
|
-
steps:
|
|
31
|
-
- uses: actions/checkout@v4
|
|
32
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
33
|
-
- uses: cachix/install-nix-action@v27
|
|
34
|
-
with:
|
|
35
|
-
nix_path: nixpkgs=channel:nixpkgs-24.05-darwin
|
|
36
|
-
|
|
37
|
-
- name: Generate cache key
|
|
38
|
-
run: |
|
|
39
|
-
nixpkgs_hash=$(egrep -o 'archive/[0-9a-f]{40}\.tar\.gz' shell.nix | cut -d'/' -f2 | cut -d'.' -f1)
|
|
40
|
-
echo "CACHE_KEY=${{ runner.os }}-$nixpkgs_hash" >> $GITHUB_ENV
|
|
41
|
-
|
|
42
|
-
- name: Cache Nix store
|
|
43
|
-
uses: actions/cache@v4
|
|
44
|
-
id: nix-cache
|
|
45
|
-
with:
|
|
46
|
-
key: nix-${{ env.CACHE_KEY }}
|
|
47
|
-
path: /tmp/nix-cache
|
|
48
|
-
|
|
49
|
-
- name: Import Nix store cache
|
|
50
|
-
if: steps.nix-cache.outputs.cache-hit == 'true'
|
|
51
|
-
run: |
|
|
52
|
-
nix-store --import < /tmp/nix-cache
|
|
53
|
-
|
|
54
|
-
- name: Install dependencies
|
|
55
|
-
run: |
|
|
56
|
-
nix-shell --run true
|
|
57
|
-
|
|
58
|
-
- name: Export Nix store cache
|
|
59
|
-
if: steps.nix-cache.outputs.cache-hit != 'true'
|
|
60
|
-
run: |
|
|
61
|
-
nix-store --export $(find /nix/store -maxdepth 1 -name '*-*') > /tmp/nix-cache
|
|
62
|
-
|
|
63
|
-
- name: Assert tag name matches version
|
|
64
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
65
|
-
run: |
|
|
66
|
-
nix-shell --pure --run "uv tree 2>&1 | grep -o 'githead v.*' | sed 's/githead v//' > version.txt"
|
|
67
|
-
version=$(cat version.txt)
|
|
68
|
-
tag_name=${{ github.ref_name }}
|
|
69
|
-
if [ "$version" != "$tag_name" ]; then
|
|
70
|
-
echo "Tag name mismatch: $version != $tag_name"
|
|
71
|
-
exit 1
|
|
72
|
-
fi
|
|
73
|
-
|
|
74
|
-
- name: Run tests
|
|
75
|
-
run: |
|
|
76
|
-
nix-shell --pure --run run-tests
|
|
77
|
-
|
|
78
|
-
linux:
|
|
79
|
-
runs-on: ${{ matrix.platform.runner }}
|
|
80
|
-
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')"
|
|
81
|
-
needs: test
|
|
82
|
-
strategy:
|
|
83
|
-
matrix:
|
|
84
|
-
platform:
|
|
85
|
-
- runner: ubuntu-latest
|
|
86
|
-
target: x86_64
|
|
87
|
-
- runner: ubuntu-latest
|
|
88
|
-
target: aarch64
|
|
89
|
-
steps:
|
|
90
|
-
- uses: actions/checkout@v4
|
|
91
|
-
- uses: actions/setup-python@v5
|
|
92
|
-
with:
|
|
93
|
-
python-version: 3.x
|
|
94
|
-
- name: Build wheels
|
|
95
|
-
uses: PyO3/maturin-action@v1
|
|
96
|
-
with:
|
|
97
|
-
target: ${{ matrix.platform.target }}
|
|
98
|
-
args: --release --out dist --zig
|
|
99
|
-
sccache: "true"
|
|
100
|
-
manylinux: auto
|
|
101
|
-
- name: Upload wheels
|
|
102
|
-
uses: actions/upload-artifact@v4
|
|
103
|
-
with:
|
|
104
|
-
name: wheels-linux-${{ matrix.platform.target }}
|
|
105
|
-
path: dist
|
|
106
|
-
|
|
107
|
-
musllinux:
|
|
108
|
-
runs-on: ${{ matrix.platform.runner }}
|
|
109
|
-
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')"
|
|
110
|
-
needs: test
|
|
111
|
-
strategy:
|
|
112
|
-
matrix:
|
|
113
|
-
platform:
|
|
114
|
-
- runner: ubuntu-latest
|
|
115
|
-
target: x86_64
|
|
116
|
-
- runner: ubuntu-latest
|
|
117
|
-
target: aarch64
|
|
118
|
-
steps:
|
|
119
|
-
- uses: actions/checkout@v4
|
|
120
|
-
- uses: actions/setup-python@v5
|
|
121
|
-
with:
|
|
122
|
-
python-version: 3.x
|
|
123
|
-
- name: Build wheels
|
|
124
|
-
uses: PyO3/maturin-action@v1
|
|
125
|
-
with:
|
|
126
|
-
target: ${{ matrix.platform.target }}
|
|
127
|
-
args: --release --out dist
|
|
128
|
-
sccache: "true"
|
|
129
|
-
manylinux: musllinux_1_2
|
|
130
|
-
- name: Upload wheels
|
|
131
|
-
uses: actions/upload-artifact@v4
|
|
132
|
-
with:
|
|
133
|
-
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
134
|
-
path: dist
|
|
135
|
-
|
|
136
|
-
windows:
|
|
137
|
-
runs-on: ${{ matrix.platform.runner }}
|
|
138
|
-
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')"
|
|
139
|
-
needs: test
|
|
140
|
-
strategy:
|
|
141
|
-
matrix:
|
|
142
|
-
platform:
|
|
143
|
-
- runner: windows-latest
|
|
144
|
-
target: x64
|
|
145
|
-
steps:
|
|
146
|
-
- uses: actions/checkout@v4
|
|
147
|
-
- uses: actions/setup-python@v5
|
|
148
|
-
with:
|
|
149
|
-
python-version: 3.x
|
|
150
|
-
architecture: ${{ matrix.platform.target }}
|
|
151
|
-
- name: Build wheels
|
|
152
|
-
uses: PyO3/maturin-action@v1
|
|
153
|
-
with:
|
|
154
|
-
target: ${{ matrix.platform.target }}
|
|
155
|
-
args: --release --out dist
|
|
156
|
-
sccache: "true"
|
|
157
|
-
- name: Upload wheels
|
|
158
|
-
uses: actions/upload-artifact@v4
|
|
159
|
-
with:
|
|
160
|
-
name: wheels-windows-${{ matrix.platform.target }}
|
|
161
|
-
path: dist
|
|
162
|
-
|
|
163
|
-
macos:
|
|
164
|
-
runs-on: ${{ matrix.platform.runner }}
|
|
165
|
-
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')"
|
|
166
|
-
needs: test
|
|
167
|
-
strategy:
|
|
168
|
-
matrix:
|
|
169
|
-
platform:
|
|
170
|
-
- runner: macos-12
|
|
171
|
-
target: x86_64
|
|
172
|
-
- runner: macos-14
|
|
173
|
-
target: aarch64
|
|
174
|
-
steps:
|
|
175
|
-
- uses: actions/checkout@v4
|
|
176
|
-
- uses: actions/setup-python@v5
|
|
177
|
-
with:
|
|
178
|
-
python-version: 3.x
|
|
179
|
-
- name: Build wheels
|
|
180
|
-
uses: PyO3/maturin-action@v1
|
|
181
|
-
with:
|
|
182
|
-
target: ${{ matrix.platform.target }}
|
|
183
|
-
args: --release --out dist
|
|
184
|
-
sccache: "true"
|
|
185
|
-
- name: Upload wheels
|
|
186
|
-
uses: actions/upload-artifact@v4
|
|
187
|
-
with:
|
|
188
|
-
name: wheels-macos-${{ matrix.platform.target }}
|
|
189
|
-
path: dist
|
|
190
|
-
|
|
191
|
-
sdist:
|
|
192
|
-
runs-on: ubuntu-latest
|
|
193
|
-
needs: test
|
|
194
|
-
steps:
|
|
195
|
-
- uses: actions/checkout@v4
|
|
196
|
-
- name: Build sdist
|
|
197
|
-
uses: PyO3/maturin-action@v1
|
|
198
|
-
with:
|
|
199
|
-
command: sdist
|
|
200
|
-
args: --out dist
|
|
201
|
-
- name: Upload sdist
|
|
202
|
-
uses: actions/upload-artifact@v4
|
|
203
|
-
with:
|
|
204
|
-
name: wheels-sdist
|
|
205
|
-
path: dist
|
|
206
|
-
|
|
207
|
-
release:
|
|
208
|
-
name: Release
|
|
209
|
-
runs-on: ubuntu-latest
|
|
210
|
-
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')"
|
|
211
|
-
needs: [linux, musllinux, windows, macos, sdist]
|
|
212
|
-
environment:
|
|
213
|
-
name: pypi
|
|
214
|
-
url: https://pypi.org/p/githead
|
|
215
|
-
permissions:
|
|
216
|
-
id-token: write
|
|
217
|
-
steps:
|
|
218
|
-
- uses: actions/download-artifact@v4
|
|
219
|
-
with:
|
|
220
|
-
pattern: wheels-*
|
|
221
|
-
path: dist
|
|
222
|
-
merge-multiple: true
|
|
223
|
-
- name: Publish to PyPI
|
|
224
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
githead-1.1.0/Cargo.lock
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
# This file is automatically @generated by Cargo.
|
|
2
|
-
# It is not intended for manual editing.
|
|
3
|
-
version = 3
|
|
4
|
-
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "autocfg"
|
|
7
|
-
version = "1.4.0"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
10
|
-
|
|
11
|
-
[[package]]
|
|
12
|
-
name = "cfg-if"
|
|
13
|
-
version = "1.0.0"
|
|
14
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
16
|
-
|
|
17
|
-
[[package]]
|
|
18
|
-
name = "githead"
|
|
19
|
-
version = "1.1.0"
|
|
20
|
-
dependencies = [
|
|
21
|
-
"pyo3",
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
[[package]]
|
|
25
|
-
name = "heck"
|
|
26
|
-
version = "0.5.0"
|
|
27
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
28
|
-
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
29
|
-
|
|
30
|
-
[[package]]
|
|
31
|
-
name = "indoc"
|
|
32
|
-
version = "2.0.5"
|
|
33
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
34
|
-
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
35
|
-
|
|
36
|
-
[[package]]
|
|
37
|
-
name = "libc"
|
|
38
|
-
version = "0.2.161"
|
|
39
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
-
checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
|
|
41
|
-
|
|
42
|
-
[[package]]
|
|
43
|
-
name = "memoffset"
|
|
44
|
-
version = "0.9.1"
|
|
45
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
-
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
47
|
-
dependencies = [
|
|
48
|
-
"autocfg",
|
|
49
|
-
]
|
|
50
|
-
|
|
51
|
-
[[package]]
|
|
52
|
-
name = "once_cell"
|
|
53
|
-
version = "1.20.2"
|
|
54
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
-
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
|
56
|
-
|
|
57
|
-
[[package]]
|
|
58
|
-
name = "portable-atomic"
|
|
59
|
-
version = "1.9.0"
|
|
60
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
-
checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
|
|
62
|
-
|
|
63
|
-
[[package]]
|
|
64
|
-
name = "proc-macro2"
|
|
65
|
-
version = "1.0.89"
|
|
66
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
67
|
-
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
|
|
68
|
-
dependencies = [
|
|
69
|
-
"unicode-ident",
|
|
70
|
-
]
|
|
71
|
-
|
|
72
|
-
[[package]]
|
|
73
|
-
name = "pyo3"
|
|
74
|
-
version = "0.22.5"
|
|
75
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
76
|
-
checksum = "3d922163ba1f79c04bc49073ba7b32fd5a8d3b76a87c955921234b8e77333c51"
|
|
77
|
-
dependencies = [
|
|
78
|
-
"cfg-if",
|
|
79
|
-
"indoc",
|
|
80
|
-
"libc",
|
|
81
|
-
"memoffset",
|
|
82
|
-
"once_cell",
|
|
83
|
-
"portable-atomic",
|
|
84
|
-
"pyo3-build-config",
|
|
85
|
-
"pyo3-ffi",
|
|
86
|
-
"pyo3-macros",
|
|
87
|
-
"unindent",
|
|
88
|
-
]
|
|
89
|
-
|
|
90
|
-
[[package]]
|
|
91
|
-
name = "pyo3-build-config"
|
|
92
|
-
version = "0.22.5"
|
|
93
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
-
checksum = "bc38c5feeb496c8321091edf3d63e9a6829eab4b863b4a6a65f26f3e9cc6b179"
|
|
95
|
-
dependencies = [
|
|
96
|
-
"once_cell",
|
|
97
|
-
"target-lexicon",
|
|
98
|
-
]
|
|
99
|
-
|
|
100
|
-
[[package]]
|
|
101
|
-
name = "pyo3-ffi"
|
|
102
|
-
version = "0.22.5"
|
|
103
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
-
checksum = "94845622d88ae274d2729fcefc850e63d7a3ddff5e3ce11bd88486db9f1d357d"
|
|
105
|
-
dependencies = [
|
|
106
|
-
"libc",
|
|
107
|
-
"pyo3-build-config",
|
|
108
|
-
]
|
|
109
|
-
|
|
110
|
-
[[package]]
|
|
111
|
-
name = "pyo3-macros"
|
|
112
|
-
version = "0.22.5"
|
|
113
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
-
checksum = "e655aad15e09b94ffdb3ce3d217acf652e26bbc37697ef012f5e5e348c716e5e"
|
|
115
|
-
dependencies = [
|
|
116
|
-
"proc-macro2",
|
|
117
|
-
"pyo3-macros-backend",
|
|
118
|
-
"quote",
|
|
119
|
-
"syn",
|
|
120
|
-
]
|
|
121
|
-
|
|
122
|
-
[[package]]
|
|
123
|
-
name = "pyo3-macros-backend"
|
|
124
|
-
version = "0.22.5"
|
|
125
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
-
checksum = "ae1e3f09eecd94618f60a455a23def79f79eba4dc561a97324bf9ac8c6df30ce"
|
|
127
|
-
dependencies = [
|
|
128
|
-
"heck",
|
|
129
|
-
"proc-macro2",
|
|
130
|
-
"pyo3-build-config",
|
|
131
|
-
"quote",
|
|
132
|
-
"syn",
|
|
133
|
-
]
|
|
134
|
-
|
|
135
|
-
[[package]]
|
|
136
|
-
name = "quote"
|
|
137
|
-
version = "1.0.37"
|
|
138
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
139
|
-
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
|
140
|
-
dependencies = [
|
|
141
|
-
"proc-macro2",
|
|
142
|
-
]
|
|
143
|
-
|
|
144
|
-
[[package]]
|
|
145
|
-
name = "syn"
|
|
146
|
-
version = "2.0.85"
|
|
147
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
-
checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
|
|
149
|
-
dependencies = [
|
|
150
|
-
"proc-macro2",
|
|
151
|
-
"quote",
|
|
152
|
-
"unicode-ident",
|
|
153
|
-
]
|
|
154
|
-
|
|
155
|
-
[[package]]
|
|
156
|
-
name = "target-lexicon"
|
|
157
|
-
version = "0.12.16"
|
|
158
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
-
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
160
|
-
|
|
161
|
-
[[package]]
|
|
162
|
-
name = "unicode-ident"
|
|
163
|
-
version = "1.0.13"
|
|
164
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
-
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
|
166
|
-
|
|
167
|
-
[[package]]
|
|
168
|
-
name = "unindent"
|
|
169
|
-
version = "0.2.3"
|
|
170
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
-
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
githead-1.1.0/Cargo.toml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
[package]
|
|
2
|
-
edition = "2021"
|
|
3
|
-
name = "githead"
|
|
4
|
-
version = "1.1.0"
|
|
5
|
-
|
|
6
|
-
[lib]
|
|
7
|
-
crate-type = ["cdylib"]
|
|
8
|
-
name = "githead"
|
|
9
|
-
|
|
10
|
-
[dependencies]
|
|
11
|
-
pyo3 = { version = "0.22.5", features = ["abi3-py39", "extension-module"] }
|
|
12
|
-
|
|
13
|
-
[profile.release]
|
|
14
|
-
overflow-checks = true
|
githead-1.1.0/src/lib.rs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
use pyo3::{exceptions::PyValueError, prelude::*};
|
|
2
|
-
use std::{
|
|
3
|
-
fs::{self},
|
|
4
|
-
path::PathBuf,
|
|
5
|
-
str::FromStr,
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
#[pyfunction]
|
|
9
|
-
#[pyo3(signature = (dir_ = PathBuf::from(".git")))]
|
|
10
|
-
fn githead(dir_: PathBuf) -> PyResult<String> {
|
|
11
|
-
let head_path: PathBuf = dir_.join("HEAD");
|
|
12
|
-
let head_raw = fs::read_to_string(head_path)?;
|
|
13
|
-
let head = head_raw.trim_end();
|
|
14
|
-
|
|
15
|
-
let is_symbolic = head.starts_with("ref: ");
|
|
16
|
-
if !is_symbolic {
|
|
17
|
-
return Ok(String::from_str(head)?);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
let dir_abs = fs::canonicalize(dir_)?;
|
|
21
|
-
let ref_abs = fs::canonicalize(dir_abs.join(&head[5..]))?;
|
|
22
|
-
if !ref_abs.ancestors().any(|p| p == dir_abs) {
|
|
23
|
-
return Err(PyValueError::new_err(
|
|
24
|
-
"HEAD references outside of .git directory",
|
|
25
|
-
));
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
let ref_raw = fs::read_to_string(ref_abs)?;
|
|
29
|
-
let ref_ = ref_raw.trim_end();
|
|
30
|
-
Ok(String::from_str(ref_)?)
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
#[pymodule]
|
|
34
|
-
#[pyo3(name = "_lib")]
|
|
35
|
-
fn lib(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
|
36
|
-
m.add_function(wrap_pyfunction!(githead, m)?)?;
|
|
37
|
-
Ok(())
|
|
38
|
-
}
|
githead-1.1.0/uv.lock
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
version = 1
|
|
2
|
-
requires-python = ">=3.9"
|
|
3
|
-
|
|
4
|
-
[[package]]
|
|
5
|
-
name = "colorama"
|
|
6
|
-
version = "0.4.6"
|
|
7
|
-
source = { registry = "https://pypi.org/simple" }
|
|
8
|
-
sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 }
|
|
9
|
-
wheels = [
|
|
10
|
-
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 },
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
[[package]]
|
|
14
|
-
name = "exceptiongroup"
|
|
15
|
-
version = "1.2.2"
|
|
16
|
-
source = { registry = "https://pypi.org/simple" }
|
|
17
|
-
sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883 }
|
|
18
|
-
wheels = [
|
|
19
|
-
{ url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453 },
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
[[package]]
|
|
23
|
-
name = "githead"
|
|
24
|
-
version = "1.1.0"
|
|
25
|
-
source = { editable = "." }
|
|
26
|
-
|
|
27
|
-
[package.dev-dependencies]
|
|
28
|
-
dev = [
|
|
29
|
-
{ name = "pytest" },
|
|
30
|
-
]
|
|
31
|
-
|
|
32
|
-
[package.metadata]
|
|
33
|
-
|
|
34
|
-
[package.metadata.requires-dev]
|
|
35
|
-
dev = [{ name = "pytest" }]
|
|
36
|
-
|
|
37
|
-
[[package]]
|
|
38
|
-
name = "iniconfig"
|
|
39
|
-
version = "2.0.0"
|
|
40
|
-
source = { registry = "https://pypi.org/simple" }
|
|
41
|
-
sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 }
|
|
42
|
-
wheels = [
|
|
43
|
-
{ url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 },
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
[[package]]
|
|
47
|
-
name = "packaging"
|
|
48
|
-
version = "24.1"
|
|
49
|
-
source = { registry = "https://pypi.org/simple" }
|
|
50
|
-
sdist = { url = "https://files.pythonhosted.org/packages/51/65/50db4dda066951078f0a96cf12f4b9ada6e4b811516bf0262c0f4f7064d4/packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002", size = 148788 }
|
|
51
|
-
wheels = [
|
|
52
|
-
{ url = "https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124", size = 53985 },
|
|
53
|
-
]
|
|
54
|
-
|
|
55
|
-
[[package]]
|
|
56
|
-
name = "pluggy"
|
|
57
|
-
version = "1.5.0"
|
|
58
|
-
source = { registry = "https://pypi.org/simple" }
|
|
59
|
-
sdist = { url = "https://files.pythonhosted.org/packages/96/2d/02d4312c973c6050a18b314a5ad0b3210edb65a906f868e31c111dede4a6/pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", size = 67955 }
|
|
60
|
-
wheels = [
|
|
61
|
-
{ url = "https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669", size = 20556 },
|
|
62
|
-
]
|
|
63
|
-
|
|
64
|
-
[[package]]
|
|
65
|
-
name = "pytest"
|
|
66
|
-
version = "8.3.3"
|
|
67
|
-
source = { registry = "https://pypi.org/simple" }
|
|
68
|
-
dependencies = [
|
|
69
|
-
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
70
|
-
{ name = "exceptiongroup", marker = "python_full_version < '3.11'" },
|
|
71
|
-
{ name = "iniconfig" },
|
|
72
|
-
{ name = "packaging" },
|
|
73
|
-
{ name = "pluggy" },
|
|
74
|
-
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
|
75
|
-
]
|
|
76
|
-
sdist = { url = "https://files.pythonhosted.org/packages/8b/6c/62bbd536103af674e227c41a8f3dcd022d591f6eed5facb5a0f31ee33bbc/pytest-8.3.3.tar.gz", hash = "sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181", size = 1442487 }
|
|
77
|
-
wheels = [
|
|
78
|
-
{ url = "https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl", hash = "sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2", size = 342341 },
|
|
79
|
-
]
|
|
80
|
-
|
|
81
|
-
[[package]]
|
|
82
|
-
name = "tomli"
|
|
83
|
-
version = "2.0.2"
|
|
84
|
-
source = { registry = "https://pypi.org/simple" }
|
|
85
|
-
sdist = { url = "https://files.pythonhosted.org/packages/35/b9/de2a5c0144d7d75a57ff355c0c24054f965b2dc3036456ae03a51ea6264b/tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed", size = 16096 }
|
|
86
|
-
wheels = [
|
|
87
|
-
{ url = "https://files.pythonhosted.org/packages/cf/db/ce8eda256fa131af12e0a76d481711abe4681b6923c27efb9a255c9e4594/tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38", size = 13237 },
|
|
88
|
-
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|