Skip to content

Conversation

MarcelBochtler
Copy link
Contributor

@MarcelBochtler MarcelBochtler commented Sep 11, 2025

See commit messages for details.

@MarcelBochtler MarcelBochtler force-pushed the requirements-hashes branch 14 times, most recently from b97c3b9 to d158eb0 Compare September 16, 2025 15:02
@MarcelBochtler MarcelBochtler marked this pull request as ready for review September 16, 2025 15:10
@tsteenbe
Copy link

@MarcelBochtler In commit message you state "Remove the hash_options for now until packvers.requirements.Requirement supports this option."
Is there already an open issue for the "packvers.requirements.Requirement supports this option." bit.

@MarcelBochtler
Copy link
Contributor Author

@MarcelBochtler In commit message you state "Remove the hash_options for now until packvers.requirements.Requirement supports this option." Is there already an open issue for the "packvers.requirements.Requirement supports this option." bit.

@tsteenbe Opened the issue and linked it in the commit message.
aboutcode-org/packvers#4

@MarcelBochtler MarcelBochtler force-pushed the requirements-hashes branch 8 times, most recently from efc9b27 to 50d7cc8 Compare September 18, 2025 07:54
Signed-off-by: Marcel Bochtler <marcel.bochtler@bosch.com>
The compatibility check is already ignoring the `hash_options` [1], while a `Requirement` is still constructed in [2] and [3]. This causes the application to crash and fail to create a result. Remove the `hash_options` for now until `packvers.requirements.Requirement` supports this option [4]. [1]: https://github.com/aboutcode-org/python-inspector/blob/3ad3925840e8dad16ad12b3917f04ec3172590ad/src/_packagedcode/pypi.py#L999 [2]: https://github.com/aboutcode-org/python-inspector/blob/3ad3925840e8dad16ad12b3917f04ec3172590ad/src/python_inspector/api.py#L484 [3]: https://github.com/aboutcode-org/python-inspector/blob/3ad3925840e8dad16ad12b3917f04ec3172590ad/src/python_inspector/resolution.py#L259 [4]: aboutcode-org/packvers#4 Resolves aboutcode-org#243. Signed-off-by: Marcel Bochtler <marcel.bochtler@bosch.com>
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks++ @MarcelBochtler, LGTM!

@AyanSinhaMahapatra AyanSinhaMahapatra merged commit 79ee55b into aboutcode-org:main Sep 18, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants