You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation is failing to build and publish since #93 was merged #106
So - looks like the root cause is related to bumping flake8>=4.0.1:
If we directly had markdown==3.3.6 as a dev-dependency:
poetry update
Updating dependencies
Resolving dependencies... (0.1s)
SolverProblemError
Because no versions of markdown match >3.3.6,<4.0.0
and markdown (3.3.6) depends on importlib-metadata (>=4.4), markdown (>=3.3.6,<4.0.0) requires importlib-metadata (>=4.4).
And because flake8 (4.0.1) depends on importlib-metadata (<4.3)
and no versions of flake8 match >4.0.1,<5.0.0, markdown (>=3.3.6,<4.0.0) is incompatible with flake8 (>=4.0.1,<5.0.0).
So, because cyclonedx-python-lib depends on both flake8 (^4.0.1) and markdown (^3.3.6), version solving failed.
Activity
jkowalleck commentedon Dec 21, 2021
python markdown requires
importlib_metadatawhich is not installed. hm, that is strange.will look into it.
madpah commentedon Dec 21, 2021
I can't get it to fail locally @jkowalleck ? Very weird.
madpah commentedon Dec 21, 2021
Last successful run (https://github.com/CycloneDX/cyclonedx-python-lib/runs/4584812203?check_suite_focus=true) pulled in a newer version of
Installing markdown (3.3.6)than the latest attempt:Installing markdown (3.3.5)madpah commentedon Dec 21, 2021
I'll regen
poetry.lock@jkowalleckmadpah commentedon Dec 21, 2021
And when doing so I get this:
madpah commentedon Dec 21, 2021
So - looks like the root cause is related to bumping
flake8>=4.0.1:If we directly had
markdown==3.3.6as a dev-dependency:madpah commentedon Dec 21, 2021
Isolating dependencies for documentation generation has resolved this immediate problem.