Questions tagged [devpi]

Server and command line utilities for professional Python release work flows.

devpi: packaging server and packaging/testing/release tool

The MIT-licensed devpi system features a PyPI-compatible server and a complimentary command line tool to drive packaging, testing and release activities with Python. Features:

  • fast PyPI mirror;
  • uploading, testing and staging with private indexes;
  • index inheritance: each index can inherit packages from another index;
  • web interface and search;
  • replication;
  • Jenkins integration.

See docs at http://doc.devpi.net/latest/

45 questions
0
votes
0 answers

How to create devpi-server service on windows 10?

I'm trying to make a service out of devpi-server, here's the steps I've followed: Create virtualenv: virtualenv venv_devpi Activate: venv_devpi\Scripts\activate Install devpi-server: pip install devpi-server Test the server (it runs at…
BPL
  • 9,632
  • 9
  • 59
  • 117
0
votes
1 answer

“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 have an in-house PyPI server that provides (only)…
circlepi314
  • 1,031
  • 10
  • 14
0
votes
1 answer

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 sys.exit(main()) File "/opt/python3.6/lib/python3.6/site-packages/devpi/main.py", line 32,…
vvvvv
  • 25,404
  • 19
  • 49
  • 81
0
votes
1 answer

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 connection. pip --no-cache-dir --trusted-host…
0
votes
2 answers

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/docker run --rm -p 3141:3141 --name devpi -v…
Anu
  • 400
  • 1
  • 4
  • 19
0
votes
1 answer

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 get a 403 from S3. Initially I thought it to be a…
Anu
  • 400
  • 1
  • 4
  • 19
0
votes
1 answer

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-config, and created the /etc/nginx/conf.d/domain.conf…
Noam Musk
  • 47
  • 1
  • 5
0
votes
1 answer

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 or libraries in my package. My setup.py: from…
ritratt
  • 1,703
  • 4
  • 25
  • 45
0
votes
1 answer

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='mypackage', description='A collection of…
blueFast
  • 41,341
  • 63
  • 198
  • 344
0
votes
0 answers

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 new user "sample" » devpi user -c sample…
blueFast
  • 41,341
  • 63
  • 198
  • 344
0
votes
1 answer

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. Suppose I that initially I have my current working…
konstunn
  • 355
  • 4
  • 17
0
votes
1 answer

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 have been forced to customize a third-party library,…
blueFast
  • 41,341
  • 63
  • 198
  • 344
0
votes
1 answer

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.
0
votes
1 answer

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) [root@master workspace]# devpi upload --formats…
hoefling
  • 59,418
  • 12
  • 147
  • 194
0
votes
1 answer

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 configured an HP-cloud security group that is opened for…
Hagai
  • 678
  • 7
  • 20
1 2
3