siemens / siemens/standard-bom-python

Move python-dateutil from the package's runtime dependencies to its Poetry development group.

Open
#157 2 comments 1 reaction 1 assignee View on GitHub

@hakandilek is already working on this.

Since Aug 21, 2026.

bug dependencies good first issue
Dominant language
Python
Stars
12
Forks
1
Avg merge
3d 5h
Merged PRs (30d)
4

Description

Summary

Move python-dateutil from the package's runtime dependencies to its Poetry development group.

Rationale

python-dateutil is currently one of the package's two default dependencies (pyproject.toml:28-32).
In the repository, its only direct import is in the test comparison helper (tests/abstract_sbom_compare.py:13).
The distributed siemens_standard_bom package does not import it.

The project already maintains a Poetry development group, including the corresponding type stubs (pyproject.toml:44-50).

Changes

  • Remove python-dateutil from [project].dependencies.
  • Add the same version range to [tool.poetry.group.dev.dependencies].
 dependencies = [
-    "python-dateutil (>=2.9.0.post0,<3.0.0)",
     "cyclonedx-python-lib(>=11.11.0,<12.0.0)",
 ]

 [tool.poetry.group.dev.dependencies]
+python-dateutil = ">=2.9.0.post0,<3.0.0"
 types-python-dateutil = "2.9.0.20260716"

Impact

This would keep the test helper available to contributors without adding python-dateutil to every library installation.

If you agree with this change, I would be happy to open a pull request.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.