-
Notifications
You must be signed in to change notification settings - Fork 3
fix: package name #130
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: package name #130
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #130 +/- ##
=======================================
Coverage 22.38% 22.38%
=======================================
Files 13 13
Lines 746 746
Branches 132 132
=======================================
Hits 167 167
Misses 574 574
Partials 5 5 ☔ View full report in Codecov by Sentry. |
|
Do we really want to change the name of the package? This will change the name of the package in pypi, correct? We have several other python packages with hyphens in the name. I wonder if the python version bump is the fix here and we should try leaving the name alone. My reading of PEP 625 makes me think that the problem is the filename of the distribution file, not necessarily the package name. |
|
It wasn't clear to me if this would change the pypi package name or the artifacts of the build. I'm not sure what you mean by the version bump. If we don't change the name we probably need to replace https://github.com/agrc/sweeper/blob/fix/pep-625/.github/workflows/push.yml#L61 with something else. I'm seeing people use twine. |
I meant the python version bump in
I've used twine before and it seemed nice. I don't remember why we didn't standardize on it. Perhaps we never really considered it. |
|
That's a good idea. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with giving this a try. But I'd love to hear what @jacobdadams thinks...
|
from https://setuptools.pypa.io/en/latest/deprecated/commands.html
and https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html hatchling seems like something to evaluate if we do need something to handle our c/c++ deps. Thinking anything in arcpy, database stuff (pgsql, sqlalchemy, oracle), gdal things etc. |
i _think_ this should produce the same output
|
This has the latest and greatest from supervisor so it should correct the publishing package name and follow the best practices for ci. It's ready for another review. Thanks! |

I'm not sure if this pr is a resolution or not but I think it may be?