45
questions
0
votes
0
answers
61
views
Devpi-Postgres: Cannot upload large files
I am getting the following error while uploading files bigger than 1 GB to devpi using postgres.
pg8000.exceptions.DatabaseError: {'S': 'ERROR', 'V': 'ERROR', 'C': '54000', 'M': 'out of memory', 'D': ...
0
votes
2
answers
350
views
Configuring source dir for Sphinx documentation conf.py file
I got a package that i am about to upload to a local devpi server. I got some issues with the package not being able to find the conf.py file for Sphinx which makes sense as it looks at the (...
0
votes
1
answer
1k
views
“CA MD TOO WEAK” when pip-installing from local server with Python 3.10
Starting with Python 3.10, I get “CA MD TOO WEAK” when I try to “pip install” any Python package. Is it because my local Python package index is on a server that has weak certificates?
Background
We ...
0
votes
1
answer
278
views
TypeError: detect_vcs() missing 1 required positional argument: 'ui' when running `devpi upload --formats bdist_wheel`
username@machinename:~/$ devpi upload --formats bdist_wheel
Traceback (most recent call last):
File "/opt/python3.6/bin/devpi", line 11, in <module>
sys.exit(main())
File "...
1
vote
1
answer
675
views
devpi - how to get "root/<package>/json" served
my goal is to install python-packages on a micropython-device. Anyway I got the devpi-server to run and and upload a package.
What I could not achieve is, that the devpi-server delivers something like ...
0
votes
1
answer
284
views
How to cerate local cahe for pip to use in LAN without internet?
I am trying to get pip install working in a machine without internet connection. I tried using three proxies(devpi-server, proxypypi and pypicache) in a server within same LAN, but with internet ...
2
votes
1
answer
623
views
Devpi REST API - How to retrieve versions of packages
I'm trying to retrieve versions of all packages from specific index. I'm trying to sending GET request with /user/index/+api suffix but it not responding nothing intresting. I can't find docs about ...
0
votes
2
answers
220
views
unable to connect to local dockerized devpi container for pip install in another container without "--net=host"
I am running devpi in a docker container like so:
[Unit]
Description=devpi docker-container
Requires=docker.service
After=docker.service
[Service]
Restart=always
RestartSec=3
ExecStart=/usr/bin/...
1
vote
1
answer
357
views
devpi: manually upload toxresult.json
I currently have a Jenkins pipeline which builds and tests my python package using tox. If all unittests pass, it will be uploaded to my local devpi index.
Using devpi test <mypackage> I can ...
0
votes
1
answer
242
views
devpi replacing & with & while accessing mirror link to download from s3
I am trying to use dockerized devpi to mirror my organization's private pypi(pypicloud) hosted using a s3 bucket.
The simple index is visible but when I try to install one of the packages listed, I ...
0
votes
1
answer
1k
views
How to serve devpi with https?
I have an out-of-the-box devpi-server running on http://
I need to get it to work on https:// instead.
I already have the certificates for the domain.
I followed the documentation for nginx-site-...
0
votes
1
answer
1k
views
Why is pip install missing source of my package?
I have a private package which I have uploaded to my private devpi server. When I use pip to install it, only the egg folder is installed. The source is missing and hence I am unable to use any code ...
1
vote
1
answer
609
views
While installing package from PIP it using private repo/server
While I'm installing packages with pip it installing it from my private instead of public/official repo... How to fix it?
Edit:
(test) mymac@pc137 ~/workspace pip install pacman
Collecting ...
4
votes
1
answer
1k
views
pip to chose packages from a private index over PyPi even on name conflicts?
I have set up a devpi server to host my own Python modules. I would like to use pip to install them and for pip to install in preference my modules, not those in PyPi.
So far, I have this:
[global]
...
6
votes
1
answer
857
views
toxresult_upload permission in devpi index
I am using the Python devpi server, and when I create an index, it adds a default a setting acl_toxresult_upload=:ANONYMOUS:, but I cannot find out what it means.
When I view the index in the web ...
1
vote
0
answers
892
views
Unable to connect to devpi-server from a computer in the same network
I have a devpi-server running at http://localhost:3141/cloud-labs/dev/+simple. It's IP is 10.75.213.161. If I do something like pip install...., it installs from this index(http://localhost:3141/xxx/...
2
votes
0
answers
331
views
How to properly manage Pipfile.lock
This is my scenario:
I am using pipenv
I have private sources:
[[source]]
url = "http://devpi.mine/something/dev/+simple"
verify_ssl = false
name = "mysource"
I have different environments: dev for ...
1
vote
1
answer
422
views
DEVPI Server - "devpi login" returns 404
I am running devpi behind haproxy and not able to login.
devpi login username returns 404.
GET https://devpi.example.com/+login
404 Not Found: <!doctype html>
<snip>
<div id="...
1
vote
1
answer
2k
views
client URL for self hosted devpi?
I am running this devpi docker container
as per instruction I have setup password in the environment variable DEVPI_PASSWORD to devpi then
I have setup ~/.pypirc file
[devpi]
repository:http://...
1
vote
1
answer
391
views
Can devpi-server be used to create groups?
Devpi's docs for the --restrict-modify param specify that in addition to specifying access rights for a user, access rights can also be modified for a group:
specify which users/groups may create ...
0
votes
1
answer
1k
views
Dependencies are not installed by pip
I have a library with the following setup.py:
from setuptools import setup
from mylib import __version__
requirements = ['paramiko']
tests_require = ['pytest']
def main():
setup(
name='...
0
votes
0
answers
653
views
Not possible to create index
I have my local devpi working fine. I can create a new user, and login as this new user:
# Login as root
» devpi login root --password=
logged in 'root', credentials valid for 10.00 hours
# Create ...
5
votes
2
answers
5k
views
Use private devpi server with pipenv
I can install my packages with pip, using a private, local devpi server. The corresponding configuration is:
[global]
index_url = http://mydevpi.mine/root/pypi/+simple/
[search]
index = http://...
2
votes
1
answer
2k
views
How to remove one wheel file from a release?
There's a package with multiple wheels built for different architecture. The 2.7 wheel has an issue and needs to be removed from the index.
The devpi remove sub-command just accepts a single ...
0
votes
1
answer
305
views
setuptools very simple (one source file module) configuration
I want to use setuptools to create a package consisting of two files: foo.py (script) and foo.conf.
Then I want to publish the package on my devpi-server and then install the package using pip.
...
2
votes
0
answers
122
views
Satis for Python
Is there anything like Satis from PHP for Python?
I've tried some tools for "private pypi's" respectively private package indexes like devpi or pyshop.
I want to mirror some packages which ...
0
votes
1
answer
345
views
Serve a specific version of a requirement, otherwise default to PyPi
We are successfully running a relaying devpi server, serving our private libraries. The server is able to serve the libraries that we upload, and relay the rest to the standard PyPi.
Recently, we ...
4
votes
0
answers
122
views
Data file in Python module extracted to where?
I have a Python package like this (reduced):
├── data
│ └── folder
│ └── file.dat
├── MANIFEST.in
└── setup.py
My setup file includes:
include_package_data = True,
Have a Manifest like ...
0
votes
1
answer
234
views
Devpi-server. redirect to additional server
How and where I can define addional redirect server for Devpi-server ? Primary is pypi.python.org by default. I need additional. Thanks.
5
votes
1
answer
3k
views
How to disable uploading a package to PyPi unless --public is passed to the upload command
I'm developing packages and uploading development/testing/etc versions of my packages to a local devpi server.
In order to prevent an accidental upload to PyPi, I'm adopted the common practice of:
...
10
votes
1
answer
7k
views
Difference between devpi and pypi server
Had a quick question here, I am used to devpi and was wondering what is the difference between devpi and pypi server?
Is one better than another? Which of this one scale better?
0
votes
1
answer
572
views
devpi upload error: no commands supplied to setup.py
When trying to upload to devpi-4.1.0, the same error occurs no matter what options I choose. The workaround is to build package and upload it as a file, but I'm not able to upload any docs.
(tstenv) [...
5
votes
1
answer
6k
views
Include requirements.txt file in Python wheel
To avoid specifying dependencies in two places, I have a Python project whose setup.py parses a requirements.txt file to generate the list of install_requires packages. This works great until I try to ...
8
votes
1
answer
11k
views
How can I make a local PyPI mirror without Internet access and with search available?
I'm trying to make a complete local PyPI repository mirror with a pip search feature on a server I can only connect an external hard drive to. To be clear, I don't want a simple caching system, the ...
1
vote
1
answer
335
views
devpi - pip install setup.cfg MissingSectionHeaderError - virtualenv
I have a really simply python package which I'm building/uploading to a devpi repo running on my laptop.
When I attempt to pip install it I get the following error:
MissingSectionHeaderError: File ...
3
votes
1
answer
1k
views
Configure list of servers for devpi
I am running a devpi-server locally in my laptop, so that I can work offline whenever I have no internet connection (this only works if devpi has had the chance to locally cache the packages that I ...
4
votes
2
answers
4k
views
Can I upload a binary wheel to a local devpi on Linux?
Is it possible to use "pip wheel" to upload a binary wheel on Linux, to a local devpi server? Or do I need to get to a setup.py and do an upload from there? It seems a shame to build the ...
3
votes
0
answers
1k
views
PyPi Server firewall and port settings
I am running devpi-server on a host to host some python packages on. On my laptop, I can download them using pip install --index <hostname>.
On another host though, running the same shows me a ...
0
votes
1
answer
2k
views
configuring nginx as proxy to work with devpi mirror on HP-cloud
I'm trying to create a devpi mirror on HP-cloud that will be accessed via nginx, i.e - nginx listens to port 80 and used as a proxy to devpi that is using port 4040 on the same machine.
I have ...
10
votes
1
answer
4k
views
Install package dependencies with setup.py and wheels
We're using an internally hosted PyPI server (devpi-server) so that we can host binary wheels of huge packages that take a long time to install from source like scipy, matplotlib, etc. Installing ...
6
votes
2
answers
3k
views
How to force docker build to use devpi server for pip install command?
I am trying to build an image for my flask based web-application using docker build. My Dockerfile looks like this:
FROM beehive-webstack:latest
MAINTAINER Anuvrat Parashar <[email protected]>
...
15
votes
3
answers
15k
views
Remove packages from local pypi index
This is similar to this question with one exception. I want to remove a few specific versions of the package from our local pypi index, which I had uploaded with the following command in the past.
...
2
votes
1
answer
4k
views
how to setup devpi-server for pypi pip searching
I am using a a devpi-server to locally cache and install pypi packages using pip. However when I search for packages using the devpi server I get the following error:
pypi.xyz.com is the name of the ...
1
vote
1
answer
1k
views
devpi :: AttributeError: 'FileUpload' object has no attribute 'value' :: when uploading
Out of the sudden, package uploads fail to devpi with the error:
AttributeError: 'FileUpload' object has no attribute 'value'
1
vote
2
answers
1k
views
How to get rid of "dev" postfix in version number when packaging a python module with devpi
I use devpi to deploy python modules. When I upload packages via devpi upload the generated module name always contains the 'dev' postfix after the version number. When I try to install those packages ...