Coder Social home page Coder Social logo

PKG-INFO Missing Metadata about hatch HOT 6 OPEN

benieric avatar benieric commented on August 27, 2024
PKG-INFO Missing Metadata

from hatch.

Comments (6)

ofek avatar ofek commented on August 27, 2024

What is the build job that produces the final artifacts?

from hatch.

benieric avatar benieric commented on August 27, 2024

I think it could be due to python version? Because, when I run the same locally using Py3.10, the PKG-INFO shows as expected.

The job we run is in a CodeBuild project which runs the following commands:

"pip install wheel",

"python3 setup.py sdist bdist_wheel",

...

"python3 -m twine upload $PACKAGE_FILES -u $PYPI_USER -p $PYPI_PASSWORD",

from hatch.

benieric avatar benieric commented on August 27, 2024
git clone [email protected]:aws/sagemaker-python-sdk.git
cd sagemaker-python-sdk
python setup.py sdist
cd dist
tar -xvf sagemaker-2.229.1.dev0.tar.gz
cd sagemaker-2.229.1.dev0
╭─ ~/workplace/sagemaker-python-sdk/dist/sagemaker-2.229.1.dev0 master ················································································  py3.10.14 3.10.14 02:53:24 PM ─╮
╰─❯ cat PKG-INFO                                                                                                                                                                        ─╯
Metadata-Version: 2.1
Name: sagemaker
Version: 2.229.1.dev0
Summary: Open source library for training and deploying models on Amazon SageMaker.
Author: Amazon Web Services
Project-URL: Homepage, https://github.com/aws/sagemaker-python-sdk
Keywords: AI,AWS,Amazon,ML,MXNet,Tensorflow
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
License-File: NOTICE.txt
...

from hatch.

benieric avatar benieric commented on August 27, 2024

Our job runs in py3.8

root@feb069ce3127:/# python3 --version
Python 3.8.18

from hatch.

ofek avatar ofek commented on August 27, 2024

Oh, are you able to change the build process to do python -m build rather than python setup.py ...?

from hatch.

ofek avatar ofek commented on August 27, 2024

Were you able to get it working?

from hatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.