Questions tagged [pypiserver]

45 questions
34
votes
1 answer

what does pip install actually do?

Super newb question here.. What does pip install actually do? Assuming the pypi package is a tarball... Does it just download the tar.gz, unpack it and run setup.py? Does it add the downloaded package to the site_packages folder? I want to create a…
Derek Eden
  • 4,403
  • 3
  • 18
  • 31
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
7
votes
1 answer

How can I make `pip search` work with my local pypi server?

I have a bunch of machines that are isolated from the internet, and only have access to some services on the local network. I want the users using those machines to be able to search for and install whatever python libraries they want from a local…
rasebo
  • 957
  • 1
  • 13
  • 21
6
votes
1 answer

How to host a private python package manager in Azure or AWS

I work in a small team of Python developers and we aim to create a private package manager to store our packages. I came cross pypicloud and following its tutorial I've successfully been able to upload and install packages stored in AWS-S3. That's…
MLguy
  • 1,776
  • 3
  • 15
  • 28
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
1 answer

Can't upload poetry package to local dockerized pypiserver

I have created a local pypi server using docker run -p 5151:8080 -v ~/.htpasswd:/data/.htpasswd pypiserver/pypiserver:latest -P .htpasswd packages However, when I try to upload my package using poetry I get: poetry publish -r myrepo Publishing…
Mike
  • 3,775
  • 8
  • 39
  • 79
5
votes
1 answer

Creating Python Wheels for libraries like numpy

We are currently running our own private PyPi server, and uploading wheels of our internal Python libraries to speed up installs. Many of our tools require numpy, scipy, pandas, etc. We built wheels for all of our dependencies by installing all of…
dacox
  • 502
  • 1
  • 6
  • 14
4
votes
2 answers

Where does twine look for certificates?

I have a personal Python repository set up with https and I'm able to upload to it using the following command: twine upload -r --cert However, I'd like to be able to upload without having to explicitly specify…
Billy
  • 5,179
  • 2
  • 27
  • 53
2
votes
0 answers

Poetry cannot handle sources which redirect after setting cert

I have a pypi server, TLS server cert signed by self signed CA. I added it as a source (default, secondary = false) to my toml file using poetry source add mypypiserver https://server.url/ I added the CA cert using poetry config…
2
votes
0 answers

How to setup Webui for private pypi server?

I'm able to install and setup private pypi server , however it has no UI such as https://pypi.org/ where we can see list of projects and there corresponding readme. Is there any way to setup Web UI for private pypi server ?
Arun Pal
  • 687
  • 7
  • 28
2
votes
0 answers

Why is Pipenv failing to found package on pypiserver local repo?

I have a pypiserver running locally with one package already deployed. The server is responding on localhost:8080 and i can see and download the package manually. But every time I try to install the package through pipenv it can't find it :( Any…
2
votes
1 answer

--extra-index-url is not working in docker file

I have setup local pypiserver using following docker-compose.yml and it is working when i use it directly like pip install -r requirements.txt --extra-index-url http://127.0.0.1:8082 However, When I try to use same command in Dockerfile, it is not…
2
votes
1 answer

409 Conflict while uploading to pypiserver

I have set-up a local pypiserver with repo myrepo. Managed to publish a package there fine with poetry. However, after changing some packages in my poetry environment I get: poetry publish -r myrepo Publishing mypackage (0.1.0) to myrepo -…
Mike
  • 3,775
  • 8
  • 39
  • 79
2
votes
0 answers

How to configure my docker pypi server to use pypiserver[cache]?

I'm using docker pypi server as my internal pip server. I have thousands of requests and sometimes my server fails (i.e. reaches 5 timeouts) pypiserver specifies an option that can help with that: using cache. How can I make my docker run with this…
CIsForCookies
  • 12,097
  • 11
  • 59
  • 124
2
votes
1 answer

Basic Auth doesn't work in kubernetes ingress

I have created pypiserver in kubernetes cluster, I have used https://hub.docker.com/r/pypiserver/pypiserver docker image. I need to create basic auth for the server which I created. I used this method…
Nesicha
  • 21
  • 1
  • 2
1
2 3