Skip to content

Commit 14d1f1f

Browse files
committed
fixing pyontoenv version
1 parent b366c6a commit 14d1f1f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyontoenv-shim/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyontoenv"
3-
version = "0.4.0a14"
3+
dynamic = ["version"]
44
description = "Compatibility wrapper that installs the ontoenv package."
55
readme = "README.md"
66
requires-python = ">=3.11"

version

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ from pathlib import Path
1616

1717
ROOT = Path(__file__).resolve().parent
1818
CARGO_TOML = ROOT / "Cargo.toml"
19+
ONTOENV_PYPROJECT = ROOT / "python" / "pyproject.toml"
1920
PYONTOENV_PYPROJECT = ROOT / "pyontoenv-shim" / "pyproject.toml"
2021

2122

@@ -46,7 +47,7 @@ def write_if_contains(path: Path, old: str, new: str) -> bool:
4647

4748
def update_versions(old: str, new: str) -> None:
4849
touched = []
49-
for path in (CARGO_TOML, PYONTOENV_PYPROJECT):
50+
for path in (CARGO_TOML, ONTOENV_PYPROJECT, PYONTOENV_PYPROJECT):
5051
if write_if_contains(path, old, new):
5152
touched.append(path)
5253
if not touched:

0 commit comments

Comments
 (0)