Comments (5)
This is not a solution for the problem you posted but it might help.
If not ignore this.
I do not use any extension to access password protected repos and I try not to add secrets in my buildout cfgs.
I just configure my ~/.pypirc
like:
[distutils]
index-servers =
...
private
...
[private]
repository=https://private.example.com/
username=user
password=...
from buildout.
Hi,
do you have tried to use this extension?
https://pypi.org/project/cykooz.buildout.basicauth/
Maybe it helps you with your Problem.
- Christian
from buildout.
@goschtl @ale-rt Thanks for your comments. I have tried both methods using buildout 3.0.0rc3
and unfortunately neither works.
It appears that the sections of code in how buildout installs packages have been completely rewritten. A couple of notes that I can drop here if someone else hit the same issue:
~/.pypirc
is ignored, none of the changes made in it were seen by buildout. It is mainly used by twine to upload packages.- It also appears that buildout
3.0.0rc3
doesn't read pip.conf. Combiningpip.conf
and~/.netrc
made pip work with basic authentication. Buildout doesn't see such configurations directly nor indirectly.
from buildout.
Just to be sure: did it work for you with 2.x
? Or am I right that you only tried 3.x
?
from buildout.
This is not a solution for the problem you posted but it might help. If not ignore this. I do not use any extension to access password protected repos and I try not to add secrets in my buildout cfgs. I just configure my
~/.pypirc
like:[distutils] index-servers = ... private ... [private] repository=https://private.example.com/ username=user password=...
Works, I use 2.x
from buildout.
Related Issues (20)
- ERROR: Package 'collective-jsonmigrator' requires a different Python: 3.8.10 not in '==2.7,>=3.7' HOT 1
- Problem with Buildout on Python 3.10 and macOS >= 11; with reproduction repository HOT 17
- Where does `buildout.exe` come from? HOT 4
- distutils-sig has closed HOT 1
- Error message with pip 22.2+ HOT 4
- gh-actions are run twice for PRs HOT 3
- Recipe feature error, depending on part order HOT 1
- Support PEP 508 markers in section expressions/conditions
- zc.buildout 3.0.0 broken HOT 3
- Buildout may be slow with pip 23 and setuptools 67 HOT 4
- vscode python extension passes `-I` option to the designated python interpreter which is unknown to the python interpreter wrapper installed by zc.recipe.egg
- Parts += bug with multiple extends HOT 4
- be explicit when egg cannot be installed due to python-requires conflict
- Could be nice if a conditional section expression could evaluate a buildout variable
- Bootstrap.py unable to install zc.buildout HOT 3
- PEP 503 has not been implemented HOT 2
- In case of problems -- where the heck is the logfile? HOT 1
- Get rid of that ValueError: need more than 0 values to unpack HOT 2
- Can't install uWSGI egg HOT 2
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 buildout.