easybind 0.2.8__tar.gz → 0.2.9__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.
- {easybind-0.2.8 → easybind-0.2.9}/PKG-INFO +3 -1
- {easybind-0.2.8 → easybind-0.2.9}/README.md +2 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/devtools/pin_pyproject.py +6 -1
- {easybind-0.2.8 → easybind-0.2.9}/.clangd +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/.github/workflows/publish.yml +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/.gitignore +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/.vscode/tasks.json +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/CMakeLists.txt +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/LICENSE +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/NOTICE +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/RELEASING.md +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/cmake/easybind_dependencies.cmake +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/cmake/easybind_pip.cmake +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/pyproject.toml +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/pyrightconfig.json +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/scripts/clangd-update.sh +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/scripts/release_tag.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/scripts/wait_pypi_release.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/__init__.cpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/bind.hpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/devtools/__init__.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/devtools/release_helpers.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/devtools/release_tag.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/devtools/wait_pypi.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/export.hpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/module/__init__.cpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/module/node.cpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/module/node.hpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/module/node__init__.cpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/module/ns_module.hpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/py.typed +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/sample/__init__.cpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/sample/sample.cpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/sample/sample.hpp +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/sample/test1.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/src/easybind/sample/test2/__init__.py +0 -0
- {easybind-0.2.8 → easybind-0.2.9}/tests/test_sample.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: easybind
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.9
|
|
4
4
|
Summary: Self-registering nanobind helpers (import as easybind)
|
|
5
5
|
Keywords: easybind,nanobind,bindings,pymergetic
|
|
6
6
|
Author-Email: PymergeticOS Maintainers <raudzus@pymergetic.com>
|
|
@@ -106,6 +106,8 @@ easybind-pin-pyproject --pyproject /path/to/pyproject.toml
|
|
|
106
106
|
|
|
107
107
|
Use **`GITHUB_TOKEN`** for private GitHub repos or higher API rate limits.
|
|
108
108
|
|
|
109
|
+
**`--from-github`:** GitHub’s tags API is sometimes a few seconds behind right after you push a new `v*` tag. If **`easybind-pin-pyproject --dry-run --from-github`** still shows the previous release, wait briefly and run again (or pin with **`--version`** until the API catches up).
|
|
110
|
+
|
|
109
111
|
**Other devtools CLIs** (after **`pip install`** / **`uv pip install -e .`**, or run **`scripts/…`** shims from a git checkout):
|
|
110
112
|
|
|
111
113
|
```bash
|
|
@@ -76,6 +76,8 @@ easybind-pin-pyproject --pyproject /path/to/pyproject.toml
|
|
|
76
76
|
|
|
77
77
|
Use **`GITHUB_TOKEN`** for private GitHub repos or higher API rate limits.
|
|
78
78
|
|
|
79
|
+
**`--from-github`:** GitHub’s tags API is sometimes a few seconds behind right after you push a new `v*` tag. If **`easybind-pin-pyproject --dry-run --from-github`** still shows the previous release, wait briefly and run again (or pin with **`--version`** until the API catches up).
|
|
80
|
+
|
|
79
81
|
**Other devtools CLIs** (after **`pip install`** / **`uv pip install -e .`**, or run **`scripts/…`** shims from a git checkout):
|
|
80
82
|
|
|
81
83
|
```bash
|
|
@@ -212,6 +212,9 @@ def latest_release_version_from_github(
|
|
|
212
212
|
Uses ``GET /repos/{owner}/{repo}/tags`` (paginated). Works when the tag exists on GitHub but
|
|
213
213
|
PyPI has not published the wheel yet. *owner_repo* is ``OWNER/REPO``.
|
|
214
214
|
|
|
215
|
+
The tags endpoint can lag a few seconds right after you push a new tag (eventual consistency /
|
|
216
|
+
caching). If the version looks stale, wait and call again.
|
|
217
|
+
|
|
215
218
|
Set ``GITHUB_TOKEN`` or ``GH_TOKEN`` (or pass *token*) for private repos or higher rate limits.
|
|
216
219
|
"""
|
|
217
220
|
s = owner_repo.strip().strip("/")
|
|
@@ -326,7 +329,8 @@ def main(argv: list[str] | None = None) -> int:
|
|
|
326
329
|
"(default distribution: easybind). "
|
|
327
330
|
"Default version is latest on PyPI (can lag tags). "
|
|
328
331
|
"--from-github uses the latest vX.Y.Z GitHub tag for that distribution's repo "
|
|
329
|
-
"(OWNER/REPO from PyPI project URLs if you omit it)
|
|
332
|
+
"(OWNER/REPO from PyPI project URLs if you omit it); the GitHub tags API can lag "
|
|
333
|
+
"briefly after a new tag push. "
|
|
330
334
|
"--version / --installed are explicit overrides."
|
|
331
335
|
)
|
|
332
336
|
)
|
|
@@ -363,6 +367,7 @@ def main(argv: list[str] | None = None) -> int:
|
|
|
363
367
|
help=(
|
|
364
368
|
"pin to highest vMAJOR.MINOR.PATCH tag on GitHub. "
|
|
365
369
|
"If OWNER/REPO is omitted, read github.com/OWNER/REPO from PyPI metadata for --distribution. "
|
|
370
|
+
"The tags list can lag a few seconds after you push a new tag; re-run if the pin looks stale. "
|
|
366
371
|
"Set GITHUB_TOKEN for private repos."
|
|
367
372
|
),
|
|
368
373
|
)
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|