Comments (4)
Should be fixed
from pyflow.
Fixed in latest commit, for the case of BSD. Like you suggest, I'm going to parse pep 508 and handle all cases, so this doesn't come up for a different OS - that PEP's exactly what we need to prevent this from coming up again.
from pyflow.
It looks like neither PEP 508 nor the sys module docs have a comprehensive list. this SO post is the best I can find. Also using some tricks like if the name contains bsd
, linux
etc. Let me know if you have a more comprehensive/official list.
from pyflow.
The point is that these requirements are abstract, and were devised to be interpreted by the application according its context. So there will be nothing like an exhaustive list of values for those requirements.
And I think this is a great design because, to my mind, there's no reliable way to model such an ever changing domain.
I usually find them easier to handle by reversing the evaluation in a lazy and best-effort approach, rather than attempting to model every single dependency; since you know how to evaluate the markers of the systems you support, but not many others which actually do not matter. In this way, this issue is not a bug, but an enhancement ;)
The flow in naïve-Python would be roughly like:
requirements_that_matter = list()
for requirement in install_requires:
for marker, value in requirement.markers.items():
if value not in this_specific_system.get_values_for(marker):
break
requirements_that_matter.append(requirement)
I think this approach makes the dependency management easier, especially the transitive ones.
It's great to hear about your commit. I'm going to try the build again and I'll give you feedback. Thanks!
from pyflow.
Related Issues (20)
- Can't import numpy c-extension on 3.9 HOT 2
- Failed to install: `manylinux_2_17_aarch64.manylinux2014_aarch64` HOT 1
- pyflow init and install error
- Support for editable installs
- propagate Exit Code
- error: invalid command 'bdist_wheel' HOT 1
- pyflow randomizes the order of pyflow.lock every time I run a script through it HOT 2
- stop using system Python to build wheels
- Can't find a compatible package for Req
- "Can't get version info"
- Installing ujson panics
- Maybe use indygreg/python-build-standalone for Python binaries?
- `Aborting graph creation: Problem getting dependency data` issue HOT 5
- establish a communique for users
- Update PEP 582 references
- Pyflow can't get dependency data, thus preventing much of its functionality
- __python__ in script not working
- Problem getting dependency data on init.
- Submit pyflow to Windows Package Manager
- Is this project still under development? 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 pyflow.