Comments (11)
@ulupo Did it happen again when you uploaded the wheels?
from pyflagser.
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.
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.
@gtauzin thanks for the info. For 0.3.1, we can try uploading the tarball again then.
from pyflagser.
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.
How do you generate the archive?
from pyflagser.
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.
And this problem never arises with giotto-tda
while it is uploaded the same way?
from pyflagser.
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.
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.
@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)
- Computations following an interrupted call fail HOT 5
- Support for filtration algos HOT 2
- Computations take a long time HOT 2
- Filtration algorithm vertex_degree produces segmentation fault HOT 2
- Zero values outside of the diagonal HOT 10
- Incorrect outputs of the flagser bindings.
- One dimensional output for empty persistence diagram HOT 3
- flagser_weighted does not terminate/takes forever when coeff > 2 HOT 5
- Relax condition on square shape on sparse input HOT 1
- Warnings and crashes for FlagserPersistence with n_jobs>1 HOT 2
- Feature request: Allow (read only) access to the directed flag complex via python HOT 16
- `save_weighted_flag` crashes (and is uncovered by tests) HOT 3
- flagser_memory support HOT 13
- `pyflagser.flagser_count_unweighted` crashes on really huge graphs HOT 24
- Drop support for Python 3.6 HOT 6
- ERROR pyflagser - ModuleNotFoundError: No module named 'pyflagser.modules' HOT 4
- error 'flagser/src/flagser-count.cpp' file not found HOT 1
- feature request: custom filtration HOT 4
- Error installing pyflagser in macOS 12.4 FileNotFoundError
- [BUG] Error installing pyflagser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyflagser.