Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add required dependency packaging #857

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

afuetterer
Copy link
Member

@afuetterer afuetterer commented Dec 3, 2023

Description

The packaging library is used in rdmo/core/xml.py, but it was not listed in the requirements. If users install rdmo without rdmo[dev], they do not install pytest. Pytest installs packaging in CI, so the error never showed in CI.

Motivation and Context

@jochenklar mentioned this in the slack channel. I can confirm, that simply installing rdmo, does not install packaging.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the contributor guide.
  • My code follows the code style of this project.
  • All new and existing tests passed.

The packaging library is used in rdmo/core/xml.py.
@afuetterer afuetterer requested a review from jochenklar December 3, 2023 09:04
@afuetterer
Copy link
Member Author

The import of packaging was introduced last week via d511cb8.

It was not a production requirement before.

@jochenklar
Copy link
Member

Ah sorry, my bad. Thanks for the PR.

@afuetterer afuetterer merged commit d205dff into rdmorganiser:dev-2.1.0 Dec 4, 2023
12 checks passed
@afuetterer afuetterer deleted the packaging branch December 4, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants