Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix: edits to the packaging section of the guide ✨ #82

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 4 commits into from
May 26, 2023

Conversation

ucodery
Copy link
Collaborator

@ucodery ucodery commented Apr 25, 2023

No description provided.

@lwasser
Copy link
Member

lwasser commented May 16, 2023

i will review this one as well - again my apologies. i normally am quicker at reviewing pr's but somehow i just missed the notifications! many thanks 👐 for this pr and again welcome to our organization!! we appreciate these types of contributions greatly! May I ask how you found us??

@ucodery
Copy link
Collaborator Author

ucodery commented May 16, 2023

Thanks for accepting my first PR! I first found pyOpenSci on Mastodon where I immediately followed after a couple of great posts. I then saw that you were sprinting at PyConUS, which unfortunately I couldn't make this year, but still wanted to help contribute to; so I just pulled up the official site and started reading.

I think this is a really important resource for the community and you all have managed to launch something that really works. Despite not working in scientific institutions I have already highly recommended this resource to several peers.
This project also scratches several itches that I have but so far taken little concrete action toward wrt building a community around reviews. I would really like to learn more about how this goes on as I would like to one day replicate it in other communities.

@@ -395,7 +403,7 @@ Lock files| ✅ | Poetry creates a **poetry.lock** file that you can use if you
Publish to PyPI and test PyPI|✅|Poetry supports publishing to both test PyPI and PyPI
Version Control based versioning|✅ | The plugin [Poetry dynamic versioning](https://github.com/mtkennerly/poetry-dynamic-versioning) supports versioning using git tags with Poetry.
Version bumping| ✅ | Poetry supports you bumping the version of your package using standard semantic version terms patch; minor; major
Follows current packaging standards|✖✅|Poetry does not quite support current packaging standards for adding metadata to the **pyproject.toml** file but plans to fix this in an upcoming release.
Follows current packaging standards|✔️|Poetry does not quite support current packaging standards for adding metadata to the **pyproject.toml** file but plans to fix this in an upcoming release.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ucodery did poetry release a new version that now supports standardized add of content to pyproject.toml files? this was intention a x/check because at the time of publication they still didn't actually support current peps on this but the plan was for them to release a new version that did in the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it did not add support. I was just confused by the double entry. I did the same for Hatch editable mode, at first thinking it was a typo, not realizing it meant both/ neither until I read this one too.

I changed it from check in a green box to just check. But probably I didn't help clarify anything.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.0 is the release that is supposed to start supporting proper standards. I believe it’s nowhere near soon.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is also my understanding. Version 1.5 has only just come out, and I don't know any timeframe for 2.0.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok great. yup i had asked them about this and they (poetry maintainers) were not sure when that release would happen. Henry knows much more than I do. i'll add that x back. i know it's a bit confusing but it's a space where what they are doing is not TERRIBLE but it's also not quite aligned with current standards /best practices.

Copy link
Member

@lwasser lwasser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good but i'm just going to wait on the two items - one related to __pypackages__ and the other is related to poetry and metadata standards! once i get clarification we can merge this!

@ucodery
Copy link
Collaborator Author

ucodery commented May 23, 2023

I have removed the addition of wheel to build-system and all referenced to PEP-582, including the original mention in PDM features.

@lwasser
Copy link
Member

lwasser commented May 24, 2023

thank you @ucodery !!!

@@ -58,6 +58,8 @@ include:
- LICENSE.txt
- README.md

<!-- TODO: CHANGELOG is not mentioned in either documentation nor peer review -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oooh good catch @ucodery i'll open an issue about this now so we can be sure to add this. see https://github.com/pyOpenSci/software-peer-review/issues/219

@lwasser lwasser changed the title some packaging improvements Fix: edits to the packaging section of the guide ✨ May 26, 2023
Copy link
Member

@lwasser lwasser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok this all looks good to me and can be merged. @ucodery many thanks again for this contribution!! And @henryiii thank you as always for helping clarify some of the details of the standards in this pr!! what a tricky evolving ecosystem we have :)

@lwasser lwasser merged commit 3dbb90c into pyOpenSci:main May 26, 2023
@ucodery ucodery deleted the packaging branch May 26, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants