Comments (3)
uh.. looks like pip 10 did a major API change. As I've heard, pip integrated a bunch of hacks that was necessary into the project, and changed a bunch of its internals. So I need to check the new better way of doing things and update this :)
I'm open to suggestions/pointers to help me expedite this, as I'm being currently snowed with paying work :)
from git-repo.
I'm open to suggestions/pointers to help me expedite this, as I'm being currently snowed with paying work :)
Generally, it is not a good practice to read requirements.txt
from setup.py
and install_requires
should be listed in setup.py
separately from requirements.txt
. There is a really good explanation for this on StackOverflow.
There are three possible solutions:
- List requirements in
setup.py
separately fromrequirements.txt
in a proper way. - Just change current code a bit to adapt to pip changes: they have moved
req
to_internal
, so something likefrom pip._internal import req
should work. But that is a hack, not a good solution :) - Just read requirements.txt as file and use its lines for
install_requires
. Some repos followed this way: example.
I would be happy to help to solve this issue (incl. pull request).
What are your thoughts on this?
from git-repo.
I pushed PR #191, which fixes this issue
from git-repo.
Related Issues (20)
- No manual entry for git-repo HOT 3
- git-repo cmd --help should show only options for that cmd HOT 2
- Suggest adding SSH key when none is present HOT 2
- Fatal error: 'GitRepoRunner' object has no attribute 'target' HOT 2
- Setup for BitBucket? HOT 5
- Bug: configure gitlab produces Fatal error HOT 5
- Naming HOT 1
- Bitbutcket request ls shows more than just open PRs HOT 5
- setup.py not compatible with pip 10+
- Can't create repo on gitlab HOT 1
- Fatal error: list index out of range for Python 3.6 HOT 3
- Switch bitbucket API lib to new official one
- Fix simple typo: pagckage -> package
- fatal: manifest 'default.xml' not availabl HOT 1
- Add full gitea support HOT 1
- github: Support for python 3.10 (dependency update required)
- Build Failure
- with the help of Java application Build
- TestNG
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 git-repo.