git-hot 0.1__tar.gz → 0.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-hot
3
- Version: 0.1
3
+ Version: 0.6
4
4
  Summary: Git extension for reporting source code line lifetime and churn
5
5
  Author: Diomidis Spinellis
6
6
  License-Expression: Apache-2.0
@@ -136,39 +136,41 @@ python -m pip install .
136
136
 
137
137
  ## Distribution
138
138
 
139
- Build source and wheel distributions with:
139
+ Build a source distribution locally with:
140
140
 
141
141
  ```
142
- uv build
142
+ uv build --sdist
143
143
  ```
144
144
 
145
- The generated artifacts are written below `dist/`.
146
- The wheel is platform-specific because it contains the compiled `daglp`
147
- executable. Build wheels separately for each target operating system and
148
- architecture that should be distributed.
145
+ The generated artifact is written below `dist/`.
146
+ Do not upload a locally built Linux wheel such as
147
+ `git_hot-0.1-py3-none-linux_x86_64.whl` to PyPI; PyPI rejects the local
148
+ `linux_x86_64` platform tag. Release wheels are built separately through
149
+ `cibuildwheel`, which produces PyPI-accepted platform wheels such as
150
+ `manylinux`, Windows, and macOS wheels.
149
151
 
150
152
  Before publishing a release, run:
151
153
 
152
154
  ```
153
155
  uv run --group dev ruff check .
154
156
  uv run python -m unittest discover -s . -p 'test*.py'
155
- uv build
157
+ uv build --sdist
156
158
  ```
157
159
 
158
- To verify the built wheel in an isolated environment:
160
+ To verify an installation from the source checkout in an isolated environment:
159
161
 
160
162
  ```
161
163
  uv venv /tmp/git-hot-smoke
162
- uv pip install --python /tmp/git-hot-smoke/bin/python dist/*.whl
164
+ uv pip install --python /tmp/git-hot-smoke/bin/python .
163
165
  /tmp/git-hot-smoke/bin/git-hot --help
164
166
  /tmp/git-hot-smoke/bin/daglp < /dev/null
165
167
  ```
166
168
 
167
169
  The CI workflow builds and uploads separate wheels through `cibuildwheel` for
168
- Linux x86_64, Linux aarch64, Windows AMD64, macOS x86_64, and macOS arm64.
169
- Each wheel contains the single `daglp` executable compiled for that platform.
170
- Published GitHub releases also publish the source distribution and built wheels
171
- to PyPI using trusted publishing.
170
+ Linux x86_64, Linux aarch64, Windows AMD64, and macOS arm64. Each wheel
171
+ contains the single `daglp` executable compiled for that platform. Published
172
+ GitHub releases also publish the source distribution and built wheels to PyPI
173
+ using trusted publishing.
172
174
 
173
175
  The repository also contains research-oriented source tools, including
174
176
  `lifetime.py`, `difflog.sh`, `tokenize.pl`, and the original top-level
@@ -113,39 +113,41 @@ python -m pip install .
113
113
 
114
114
  ## Distribution
115
115
 
116
- Build source and wheel distributions with:
116
+ Build a source distribution locally with:
117
117
 
118
118
  ```
119
- uv build
119
+ uv build --sdist
120
120
  ```
121
121
 
122
- The generated artifacts are written below `dist/`.
123
- The wheel is platform-specific because it contains the compiled `daglp`
124
- executable. Build wheels separately for each target operating system and
125
- architecture that should be distributed.
122
+ The generated artifact is written below `dist/`.
123
+ Do not upload a locally built Linux wheel such as
124
+ `git_hot-0.1-py3-none-linux_x86_64.whl` to PyPI; PyPI rejects the local
125
+ `linux_x86_64` platform tag. Release wheels are built separately through
126
+ `cibuildwheel`, which produces PyPI-accepted platform wheels such as
127
+ `manylinux`, Windows, and macOS wheels.
126
128
 
127
129
  Before publishing a release, run:
128
130
 
129
131
  ```
130
132
  uv run --group dev ruff check .
131
133
  uv run python -m unittest discover -s . -p 'test*.py'
132
- uv build
134
+ uv build --sdist
133
135
  ```
134
136
 
135
- To verify the built wheel in an isolated environment:
137
+ To verify an installation from the source checkout in an isolated environment:
136
138
 
137
139
  ```
138
140
  uv venv /tmp/git-hot-smoke
139
- uv pip install --python /tmp/git-hot-smoke/bin/python dist/*.whl
141
+ uv pip install --python /tmp/git-hot-smoke/bin/python .
140
142
  /tmp/git-hot-smoke/bin/git-hot --help
141
143
  /tmp/git-hot-smoke/bin/daglp < /dev/null
142
144
  ```
143
145
 
144
146
  The CI workflow builds and uploads separate wheels through `cibuildwheel` for
145
- Linux x86_64, Linux aarch64, Windows AMD64, macOS x86_64, and macOS arm64.
146
- Each wheel contains the single `daglp` executable compiled for that platform.
147
- Published GitHub releases also publish the source distribution and built wheels
148
- to PyPI using trusted publishing.
147
+ Linux x86_64, Linux aarch64, Windows AMD64, and macOS arm64. Each wheel
148
+ contains the single `daglp` executable compiled for that platform. Published
149
+ GitHub releases also publish the source distribution and built wheels to PyPI
150
+ using trusted publishing.
149
151
 
150
152
  The repository also contains research-oriented source tools, including
151
153
  `lifetime.py`, `difflog.sh`, `tokenize.pl`, and the original top-level
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "git-hot"
7
- version = "0.1"
7
+ version = "0.6"
8
8
  description = "Git extension for reporting source code line lifetime and churn"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -74,6 +74,8 @@ PATH = "$HOME/.cargo/bin:$PATH"
74
74
 
75
75
  [tool.cibuildwheel.linux]
76
76
  before-all = "curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal"
77
+ manylinux-x86_64-image = "manylinux_2_28"
78
+ manylinux-aarch64-image = "manylinux_2_28"
77
79
 
78
80
  [tool.pytest.ini_options]
79
81
  testpaths = ["test_lifetime.py"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-hot
3
- Version: 0.1
3
+ Version: 0.6
4
4
  Summary: Git extension for reporting source code line lifetime and churn
5
5
  Author: Diomidis Spinellis
6
6
  License-Expression: Apache-2.0
@@ -136,39 +136,41 @@ python -m pip install .
136
136
 
137
137
  ## Distribution
138
138
 
139
- Build source and wheel distributions with:
139
+ Build a source distribution locally with:
140
140
 
141
141
  ```
142
- uv build
142
+ uv build --sdist
143
143
  ```
144
144
 
145
- The generated artifacts are written below `dist/`.
146
- The wheel is platform-specific because it contains the compiled `daglp`
147
- executable. Build wheels separately for each target operating system and
148
- architecture that should be distributed.
145
+ The generated artifact is written below `dist/`.
146
+ Do not upload a locally built Linux wheel such as
147
+ `git_hot-0.1-py3-none-linux_x86_64.whl` to PyPI; PyPI rejects the local
148
+ `linux_x86_64` platform tag. Release wheels are built separately through
149
+ `cibuildwheel`, which produces PyPI-accepted platform wheels such as
150
+ `manylinux`, Windows, and macOS wheels.
149
151
 
150
152
  Before publishing a release, run:
151
153
 
152
154
  ```
153
155
  uv run --group dev ruff check .
154
156
  uv run python -m unittest discover -s . -p 'test*.py'
155
- uv build
157
+ uv build --sdist
156
158
  ```
157
159
 
158
- To verify the built wheel in an isolated environment:
160
+ To verify an installation from the source checkout in an isolated environment:
159
161
 
160
162
  ```
161
163
  uv venv /tmp/git-hot-smoke
162
- uv pip install --python /tmp/git-hot-smoke/bin/python dist/*.whl
164
+ uv pip install --python /tmp/git-hot-smoke/bin/python .
163
165
  /tmp/git-hot-smoke/bin/git-hot --help
164
166
  /tmp/git-hot-smoke/bin/daglp < /dev/null
165
167
  ```
166
168
 
167
169
  The CI workflow builds and uploads separate wheels through `cibuildwheel` for
168
- Linux x86_64, Linux aarch64, Windows AMD64, macOS x86_64, and macOS arm64.
169
- Each wheel contains the single `daglp` executable compiled for that platform.
170
- Published GitHub releases also publish the source distribution and built wheels
171
- to PyPI using trusted publishing.
170
+ Linux x86_64, Linux aarch64, Windows AMD64, and macOS arm64. Each wheel
171
+ contains the single `daglp` executable compiled for that platform. Published
172
+ GitHub releases also publish the source distribution and built wheels to PyPI
173
+ using trusted publishing.
172
174
 
173
175
  The repository also contains research-oriented source tools, including
174
176
  `lifetime.py`, `difflog.sh`, `tokenize.pl`, and the original top-level
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes