kikem / pkga Goto Github PK
View Code? Open in Web Editor NEWToy library to fix pip bug.
Toy library to fix pip bug.
The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.
This should install numpy==1.14.0
but it doesn't:
classDiagram
pkgA --|> pkgB
pkgA --|> numpy
pkgA : numpy>=1.14.0
pkgA : pkgB
pkgB : numpy==1.14.0
numpy : whatever
conda create -n tst2 python=3.6 pip=18 -y
conda activate tst2
git clone https://github.com/KikeM/pkgA.git
git clone https://github.com/mmngreco/pkgB.git
cat pkgA/setup.py
cat pkgB/setup.py
pip install pkgA/. --process-dependency-links -I --no-cache-dir
pip freeze | grep numpy # numpy==1.17.1 ??
This should crash installation process but it doesn't with incompatible versions of numpy.
classDiagram
pkgA --|> pkgB
pkgA --|> numpy
pkgA : numpy>=1.14.0
pkgA : pkgB
pkgB : numpy==1.13.0
numpy : whatever
cd pkgA
git checkout crash # pkgA
cd ../pkgB
git checkout crash # pkgB
cd ..
cat pkgA/setup.py
cat pkgB/setup.py
pip install pkgA/. --process-dependency-links -I --no-cache-dir
pip freeze | grep numpy # numpy==1.17.1
The best and most direct workaround this dependencies issue is to fork pip
and solve it.
Difficulty: Hard.
Scalability: Big.
The second best workaround is to use the tools within pip
: pip check.
This tool provides the user with a report on compatibility among the different versions of the installed libraries. Additionally, it sends an integer to the standard error. Therefore, this can provide an easy way to implement an automatic test that guarantees the sanity of the environment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.