Skip to content

Commit

Permalink
fix(workspace root): check if path exist (#305)
Browse files Browse the repository at this point in the history
* fix(workspace root): check if path exist

* bump the hatch hook to 1.2.10

* bump the PDM brick hook to 1.1.1

* bump the PDM workspace hook to 1.1.1

* bump the Poetry plugin to 1.34.1

* bump the CLI to 1.23.1
  • Loading branch information
DavidVujic authored Dec 1, 2024
1 parent 0c7b67a commit ad127b5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions components/polylith/repo/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def load_content(fullpath: Path) -> tomlkit.TOMLDocument:
def load_root_project_config(path: Path) -> tomlkit.TOMLDocument:
fullpath = path / default_toml

if not fullpath.exists():
return tomlkit.TOMLDocument()

return load_content(fullpath)


Expand Down
2 changes: 1 addition & 1 deletion projects/hatch_polylith_bricks/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hatch-polylith-bricks"
version = "1.2.9"
version = "1.2.10"
description = "Hatch build hook plugin for Polylith"
authors = ['David Vujic']
homepage = "https://davidvujic.github.io/python-polylith-docs/"
Expand Down
2 changes: 1 addition & 1 deletion projects/pdm_polylith_bricks/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pdm-polylith-bricks"
version = "1.1.0"
version = "1.1.1"
description = "a PDM build hook for Polylith"
authors = ["David Vujic"]
homepage = "https://davidvujic.github.io/python-polylith-docs/"
Expand Down
2 changes: 1 addition & 1 deletion projects/pdm_polylith_workspace/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pdm-polylith-workspace"
version = "1.1.0"
version = "1.1.1"
description = "a PDM build hook for a Polylith workspace"
homepage = "https://davidvujic.github.io/python-polylith-docs/"
repository = "https://github.com/davidvujic/python-polylith"
Expand Down
2 changes: 1 addition & 1 deletion projects/poetry_polylith_plugin/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "poetry-polylith-plugin"
version = "1.34.0"
version = "1.34.1"
description = "A Poetry plugin that adds tooling support for the Polylith Architecture"
authors = ["David Vujic"]
homepage = "https://davidvujic.github.io/python-polylith-docs/"
Expand Down
2 changes: 1 addition & 1 deletion projects/polylith_cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "polylith-cli"
version = "1.23.0"
version = "1.23.1"
description = "Python tooling support for the Polylith Architecture"
authors = ['David Vujic']
homepage = "https://davidvujic.github.io/python-polylith-docs/"
Expand Down

0 comments on commit ad127b5

Please sign in to comment.