Skip to content

Releases: DavidVujic/python-polylith

fix(poly libs): handle third-party dependencies with markers, such as multi-python versions

15 Feb 15:14
ad99369

Choose a tag to compare

Handle dependencies with several Python versions, such as:

[tool.poetry.dependencies]
typing_extensions = [
  { version = "<4.14", python = ">=3.8,<3.9" },
  { version = "*",     python = ">=3.9" }
]

Details in #427

refactor(workspace): issues raised by SonarQube

15 Feb 12:04
4d773fc

Choose a tag to compare

Refactoring of the source code: low severity issues raised by SonarQube

Details in #425 and #426

fix(poly deps): resolve interface with pointer to other module

13 Feb 16:04
ea7642d

Choose a tag to compare

Extending the way an interface is identified by allowing the __all__ variable be set to a pointer to another module.

Details in #422

fix(cli): add missing typing-extensions lib

11 Feb 07:36
66e7880

Choose a tag to compare

Add typing-extensions that is used by the CLI. The underlying tool (Typer) recently dropped support for Python 3.8 and has changed the way Annotations are imported. Unfortunately this change wasn't made by Typer as a major version and the effect of it was not noticed until now.

Details in #421

fix(poly deps): interface with sub-modules, brick usage comparison and bases

09 Feb 23:22
0f1848e

Choose a tag to compare

poly deps - Fixing bugs, and taking steps to stabilize the brick interface feature.

Details in #419

feat(poly deps): view and validate brick interfaces

08 Feb 20:02
c6dbeda

Choose a tag to compare

Adding (experimental) support for validating the interface of a specific brick.

This is added in the poly deps command, and when using --brick the_brick with a new option: --interface.

Details in #413

fix(poly sync): exclude empty folders for the dev project

26 Dec 16:58
8a50c6e

Choose a tag to compare

Fixing issue #408 - when switching between branches and the file system keeps empty brick directories. With this change, no empty brick folders will be added to the development project during poly sync.

Details in #412

feat: add support for new Python 3.14 modules

26 Dec 13:11
a867b34

Choose a tag to compare

Adding support for Python 3.14 for the poly check and poly libs commands. There's two new modules in the Python standard library that now will be identified properly as builtins (and not as third-party libraries).

Details in #411

feat(poly check): exclude imports within "if TYPE_CHECKING"

03 Dec 20:34
9b69175

Choose a tag to compare

Exclude any imports (bricks or third-party) that are defined within an:

if TYPE_CHECKING:
   # imports here

Details in Pull Request #406

feat(poly env): new command for build backends without support for multiple module roots or hooks

23 Nov 20:14
f0e54f7

Choose a tag to compare

Adding a new command - poly env setup - for Package & Dependency management tools without support for multiple module roots or hooks, such as the uv build backend. This command will add the bases and components paths to the current virtual environment. When these are added, navigation and auto complete will work as expected.

Details in #403