Skip to content

fix: do not depend on package to get the version #312

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

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

gabor-boros
Copy link
Member

Reason for the change
Fixes #309 and unblocks #311

Description
The way we read the package version is depending on the package itself, hence pip cannot install the packages that are listed in install_requires. The reason we didn't encounter this issue yet is that six is required by many packages, hence it was already installed for target systems.

Code examples
To check the fix working:

  1. Clone the repo
  2. DO NOT switch to this branch
  3. Run pip install .
  4. The installation fails
  5. Checkout this branch
  6. Run pip install .
  7. The installation works

Checklist

References
N/A

cc: @srh

@gabor-boros gabor-boros added urgent The resolution is urgent housekeeping labels Dec 9, 2023
@gabor-boros gabor-boros requested a review from lsabi December 9, 2023 09:16
@gabor-boros gabor-boros self-assigned this Dec 9, 2023
Copy link

codeclimate bot commented Dec 9, 2023

Code Climate has analyzed commit 85410ce and detected 0 issues on this pull request.

View more on Code Climate.

@gabor-boros gabor-boros requested a review from srh December 9, 2023 12:25
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
@gabor-boros gabor-boros force-pushed the gabor/fix-package-versioning branch from 5472fa5 to 85410ce Compare December 9, 2023 12:28
@lsabi lsabi merged commit 5b6b193 into master Dec 9, 2023
@lsabi lsabi mentioned this pull request Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping urgent The resolution is urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'looseversion'
2 participants