You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would this feature be used? Please describe.
A clear and concise description of the use case for this feature. Please provide an example, if possible.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Reacted by Justin, Adam Johnson, Hugo van Kemenade, John Hagen, darthale, Andrew Achkar and Francesco Gonzales
I am a bit surprised that no one followed up on this one. This is a pretty "basic" requirement to have for a python package. Having to build the library from scratch all the time is beyond time and resource-consuming.
I was looking at submitting a PR for this to improve the install time.
I see a twine check of the sdist in the tox.ini but don't see where it's getting uploaded to pypi. Where exactly in the ci is the sdist getting built and uploaded? Maybe somewhere in a separate code build job?
I agree end users should pip install to get the latest wheel. My suggestion is for how the maintainers create the wheel in the first place. Anyway, thanks again!
Activity
darthale commentedon Nov 15, 2022
I am a bit surprised that no one followed up on this one. This is a pretty "basic" requirement to have for a python package. Having to build the library from scratch all the time is beyond time and resource-consuming.
hugovk commentedon Nov 16, 2022
To make a wheel using https://github.com/pypa/build:
jmahlik commentedon Oct 9, 2023
I was looking at submitting a PR for this to improve the install time.
I see a twine check of the sdist in the
tox.inibut don't see where it's getting uploaded to pypi. Where exactly in the ci is the sdist getting built and uploaded? Maybe somewhere in a separate code build job?akrishna1995 commentedon Dec 21, 2023
Thanks for raising this issue. We have since updated our internal CI to publish the wheel file :
python3 setup.py sdist bdist_wheel to PyPi. The latest sagemaker now contains the wheel file https://pypi.org/project/sagemaker/2.201.0/#files. Please feel free to reopen if there are any issues.hugovk commentedon Dec 21, 2023
Thank you!
I recommend using the commands in #3181 (comment) because invoking setup.py directly is deprecated.
The long version: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
martinRenou commentedon Dec 21, 2023
Adding my two cents. I would actually not recommend building the wheel as a wheel is now published on PyPi.
Now users can simply run
pip install sagemakerto get the latest published wheel 🚀 Thanks for your workhugovk commentedon Dec 21, 2023
I agree end users should pip install to get the latest wheel. My suggestion is for how the maintainers create the wheel in the first place. Anyway, thanks again!
jmahlik commentedon Dec 21, 2023
Awesome, thanks for getting the wheel out there! This will save time installing in CI and for the hundreds of users I support.
I did notice the wheel is labeled as "universal"
sagemaker-2.201.0-py2.py3-none-any.whli.e. supporting python 2 and 3.The
py2tag should be dropped since it doesn't support python 2. So:sagemaker-2.201.0-py3-none-any.whlSee the note on universal wheels: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#wheels.
Here's a patch that drops the
py2tagWith
universal = 1Removed
universal = 1:martinRenou commentedon Dec 22, 2023
Thank you for your suggestion, I just pushed a PR making those changes.