Skip to content

Commit e137d95

Browse files
Merge pull request #1247 from RonnyPfannschmidt/merge-main
merge from main to develop
2 parents cbf2837 + 475ee23 commit e137d95

File tree

8 files changed

+688
-895
lines changed

8 files changed

+688
-895
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ htmlcov/
4242
.cache
4343
.pytest_cache
4444
.mypy_cache/
45-
.entangled/
4645

4746
nosetests.xml
4847
coverage.xml

docs/integrations.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
env:
123123
# Replace MYPACKAGE with your actual package name (normalized)
124124
# For package "my-awesome.package", use "MY_AWESOME_PACKAGE"
125-
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{"local_scheme": "no-local-version"}'
125+
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{local_scheme = "no-local-version"}'
126126
127127
steps:
128128
- uses: actions/checkout@v4
@@ -154,7 +154,7 @@ jobs:
154154
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
155155
env:
156156
# Replace MYPACKAGE with your actual package name (normalized)
157-
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{"local_scheme": "no-local-version"}'
157+
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{local_scheme = "no-local-version"}'
158158
159159
steps:
160160
- uses: actions/checkout@v4
@@ -246,7 +246,7 @@ publish-test-pypi:
246246
TWINE_USERNAME: __token__
247247
TWINE_PASSWORD: $TEST_PYPI_API_TOKEN
248248
# Replace MYPACKAGE with your actual package name (normalized)
249-
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{"local_scheme": "no-local-version"}'
249+
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{local_scheme = "no-local-version"}'
250250
script:
251251
- pip install build twine
252252
- python -m build
@@ -261,7 +261,7 @@ publish-pypi:
261261
TWINE_USERNAME: __token__
262262
TWINE_PASSWORD: $PYPI_API_TOKEN
263263
# Replace MYPACKAGE with your actual package name (normalized)
264-
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{"local_scheme": "no-local-version"}'
264+
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE: '{local_scheme = "no-local-version"}'
265265
script:
266266
- pip install build twine
267267
- python -m build
@@ -296,7 +296,7 @@ The environment variable `SETUPTOOLS_SCM_OVERRIDES_FOR_${DIST_NAME}` must be set
296296

297297
2. **Value** must be a valid TOML inline table format:
298298
```bash
299-
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE='{"local_scheme": "no-local-version"}'
299+
SETUPTOOLS_SCM_OVERRIDES_FOR_MYPACKAGE='{local_scheme = "no-local-version"}'
300300
```
301301

302302
#### Alternative Approaches
@@ -342,4 +342,4 @@ print(f"SETUPTOOLS_SCM_OVERRIDES_FOR_{env_var_name}")
342342
# Output: SETUPTOOLS_SCM_OVERRIDES_FOR_MY_AWESOME_PACKAGE
343343
```
344344

345-
**Fetch depth**: Always use `fetch-depth: 0` in GitHub Actions to ensure setuptools-scm has access to the full git history for proper version calculation.
345+
**Fetch depth**: Always use `fetch-depth: 0` in GitHub Actions to ensure setuptools-scm has access to the full git history for proper version calculation.

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ metadata is present.
218218

219219
The recommended approach for Sphinx configurations is to use the installed package metadata:
220220

221-
``` {.python file=docs/.entangled/sphinx_conf.py}
221+
```python
222222
from importlib.metadata import version as get_version
223223
release: str = get_version("package-name")
224224
# for example take major/minor

mkdocs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ markdown_extensions:
2626
- pymdownx.superfences
2727

2828
plugins:
29-
- entangled
3029
- search
3130
- include-markdown
3231
- mkdocstrings:
3332
default_handler: python
3433
handlers:
3534
python:
3635
paths: [ setuptools-scm/src, vcs-versioning/src ]
37-
import:
36+
inventories:
3837
- https://docs.python.org/3/objects.inv
3938
options:
4039
separate_signature: true

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ create-release-proposal = "vcs_versioning_workspace.create_release_proposal:main
1717
[dependency-groups]
1818
docs = [
1919
"mkdocs",
20-
"mkdocs-entangled-plugin",
2120
"mkdocs-include-markdown-plugin",
2221
"mkdocs-material",
23-
"mkdocstrings[python]",
22+
"mkdocstrings[python]>=0.29", # 0.29 renamed import to inventories
2423
"pygments",
2524
"griffe-public-wildcard-imports",
2625
]

setuptools-scm/hatch.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ extras = ["docs"]
1515
[envs.docs.scripts]
1616
build = "mkdocs build --clean --strict"
1717
serve = "mkdocs serve --dev-addr localhost:8000"
18-
init = "mkdocs {args}"
19-
sync = ["entangled sync"]
18+
init = "mkdocs {args}"

setuptools-scm/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ test = [
7575
"pytest-xdist",
7676
"rich",
7777
"ruff",
78-
"mypy",
78+
"mypy; implementation_name != 'pypy'",
7979
'typing-extensions; python_version < "3.11"',
8080
"griffe",
8181
"griffe-public-wildcard-imports",

uv.lock

Lines changed: 677 additions & 880 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)