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
15
votes
3 answers

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. python setup.py sdist upload -r Any…
Indrajeet
  • 521
  • 3
  • 9
  • 23
10
votes
1 answer

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?
wodash
  • 103
  • 1
  • 5
10
votes
1 answer

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 these packages with pip install scipy works perfectly…
onlynone
  • 7,602
  • 3
  • 31
  • 50
6
votes
1 answer

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 interface, it shows: permissions toxresult_upload …
zoidberg
  • 1,969
  • 4
  • 22
  • 33
6
votes
1 answer

How to make a local Pypi mirror without internet access and with search available?

I'm trying to make a complete local Pypi repository mirror with 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 server is connected to other machines in a completely…
axellink
  • 128
  • 1
  • 9
5
votes
2 answers

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://mydevpi.mine/root/pypi/ [install] trusted-host =…
user9541335
5
votes
1 answer

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 upload a wheel to a devpi server and then…
heyitsbmo
  • 1,715
  • 1
  • 14
  • 29
5
votes
2 answers

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 EXPOSE 5000 ADD . /srv/beehive/ RUN pip install -i…
Anuvrat Parashar
  • 2,960
  • 5
  • 28
  • 55
4
votes
1 answer

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] timeout = 60 index-url =…
Sardathrion - against SE abuse
  • 17,269
  • 27
  • 101
  • 156
4
votes
0 answers

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 this: include data/folder/file.dat When I package the…
user7291906
4
votes
1 answer

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: setup(..., classifiers=[ …
ckot
  • 819
  • 2
  • 10
  • 23
3
votes
1 answer

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 need, of course) Currently I have the devpi-server…
blueFast
  • 41,341
  • 63
  • 198
  • 344
3
votes
2 answers

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 wheel without need of a setup.py (it's taken care of behind…
dstromberg
  • 6,954
  • 1
  • 26
  • 27
3
votes
0 answers

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 . On another host though, running the same shows me a Package Not Found error. It seems like it is not finding…
darksky
  • 20,411
  • 61
  • 165
  • 254
2
votes
1 answer

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 devpi rest api. Has anyone idea how could I do…
user3025978
  • 477
  • 2
  • 8
  • 27
1
2 3