8000 Fix build via `python -m build` by domna · Pull Request #184 · FAIRmat-NFDI/pynxtools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix build via python -m build #184

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
Nov 28, 2023
Merged

Fix build via python -m build #184

merged 1 commit into from
Nov 28, 2023

Conversation

domna
Copy link
Collaborator
@domna domna commented Nov 24, 2023

This fixes the build via the python build method for wheel and sdist generation. It fails if the nexus-version.txt is not already present, so the code should just return to not write the file again if the code is not in a github repository anymore.
Previously, this was unnoticed because it works when the file was generated before.

@domna domna requested a review from sherjeelshabih November 24, 2023 15:50
@domna
Copy link
Collaborator Author
domna commented Nov 24, 2023

@rettigl The package generation currently fails (see https://github.com/FAIRmat-NFDI/pynxtools/actions/runs/6982526131/job/19001851868). This PR fixes it and afterwards I can publish the package and re-generate the containers.

@coveralls
Copy link
coveralls commented Nov 24, 2023

Pull Request Test Coverage Report for Build 6982705544

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 51.599%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pynxtools/_build_wrapper.py 0 1 0.0%
Totals Coverage Status
Change from base Build 6982514214: 0.0%
Covered Lines: 6196
Relevant Lines: 12008

💛 - Coveralls

@domna domna changed the title Fix build in via python -m build Fix build via python -m build Nov 25, 2023
@domna domna merged commit 76f305e into master Nov 28, 2023
@domna domna deleted the fix-build branch November 28, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0