Git Product home page Git Product logo

Comments (11)

gtauzin avatar gtauzin commented on June 14, 2024

@ulupo Did it happen again when you uploaded the wheels?

from pyflagser.

ulupo avatar ulupo commented on June 14, 2024

It didn't, but uploading the wheels was never a problem. We didn't attempt to upload the tar this time round either, so I don't know if it would have happened again.

from pyflagser.

gtauzin avatar gtauzin commented on June 14, 2024

I think initially it might have been because the link to the tarball in setup.py was not the right one.
It was still pointing to v0.1.0 on May 6, when I changed it (commit d59d35e).

from pyflagser.

ulupo avatar ulupo commented on June 14, 2024

@gtauzin thanks for the info. For 0.3.1, we can try uploading the tarball again then.

from pyflagser.

ulupo avatar ulupo commented on June 14, 2024

Update: we just tested on 0.3.0 and the problem persists there: the traceback shows:

ValueError: No PKG-INFO in archive: /Users/matteocaorsi/Desktop/UPLOAD_TO_PYPI/dist/pyflagser-0.3.0.tar.gz

from pyflagser.

gtauzin avatar gtauzin commented on June 14, 2024

How do you generate the archive?

from pyflagser.

ulupo avatar ulupo commented on June 14, 2024

I think (please @matteocao correct me if wrong) that we take it from the release, i.e. from https://github.com/giotto-ai/pyflagser/archive/v0.3.0.tar.gz.

from pyflagser.

gtauzin avatar gtauzin commented on June 14, 2024

And this problem never arises with giotto-tda while it is uploaded the same way?

from pyflagser.

ulupo avatar ulupo commented on June 14, 2024

As far as I recall, this problem did not arise when we were uploading it. But we no longer upload tars for giotto-tda as they are guaranteed to fail due to the git submodule steps.

from pyflagser.

gtauzin avatar gtauzin commented on June 14, 2024

Ok, the one you pointed to is generated by GitHub. Indeed, we don't upload tarballs directly. I don't see any difference with giotto-tda then. As I recall, the git submodules steps are the same in giotto-tda and in pyflagser, no?

It seems to me the one PyPI expects are the one generated by the azure pipelines. It does have the egg-file folder and the PKG-INFO file. which are absent from the GitHub generated tarballs which just contain the release branch.

from pyflagser.

ulupo avatar ulupo commented on June 14, 2024

@gtauzin using the Azure files did the trick, thanks for the diagnosis! Closing the issue as it is solved.

However, installing from tarballs will fail. In my case, I obtained the following traceback:

ERROR: Command errored out with exit status 1:
     command: /Users/umbertolupo/anaconda3/envs/pyflagser-tar/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8d/05mg3tln65v3x2qxs9pxfgkm0000gn/T/pip-req-build-0_yn8bgm/setup.py'"'"'; __file__='"'"'/private/var/folders/8d/05mg3tln65v3x2qxs9pxfgkm0000gn/T/pip-req-build-0_yn8bgm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/8d/05mg3tln65v3x2qxs9pxfgkm0000gn/T/pip-pip-egg-info-1ny2253v
         cwd: /private/var/folders/8d/05mg3tln65v3x2qxs9pxfgkm0000gn/T/pip-req-build-0_yn8bgm/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/8d/05mg3tln65v3x2qxs9pxfgkm0000gn/T/pip-req-build-0_yn8bgm/setup.py", line 19, in <module>
        with open('requirements.txt') as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

This is of course a different problem and should be the subject of a separate issue.

from pyflagser.

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.