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

Update pyproject and add CI test to pip installation #57

Merged
merged 5 commits into from
Dec 22, 2024

Conversation

davide-f
Copy link
Member

@davide-f davide-f commented Dec 21, 2024

What does this PR do?

Updates pyptoject to ensure its pip installability and versioning

Tested the pip installation with:

{update earth_osm/VERSION file to desired version}
git tag {version}
python3 -m pip install build --user
python -m build
twine upload --repository testpypi dist/*
python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ earth-osm=={version}
earth_osm
pip uninstall earth-osm

The proposal is to upload a post release 2.3.post1 ; expected to be done tomorrow

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.04%. Comparing base (a3a0322) to head (db6e717).
Report is 22 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
- Coverage   68.17%   60.04%   -8.14%     
==========================================
  Files          16       16              
  Lines         795      906     +111     
==========================================
+ Hits          542      544       +2     
- Misses        253      362     +109     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davide-f davide-f marked this pull request as draft December 22, 2024 05:34
@davide-f davide-f marked this pull request as ready for review December 22, 2024 17:01
@davide-f davide-f changed the title Update pyproject Update pyproject and add CI test to pip installation Dec 22, 2024
@davide-f davide-f merged commit d65faa6 into pypsa-meets-earth:main Dec 22, 2024
2 checks passed
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.

2 participants