Questions tagged [pypiserver]
45 questions
0
votes
1 answer
C++ build tools problem while using private pypiserver
Private pypiserver shows error with C++ build tools, which didn't occur while using default setting(pypi.org).
For some reasons I need to make private pypiserver which has basic python modules - like numpy and pandas.
I had downloaded several whl…

watersilver
- 1
- 2
0
votes
1 answer
Best way to upload libraries to an offline Artifactory Pypi repo
I have an offline environment where I do development work and I'm currently downloading Python libraries (python - m pip download -r /dir/requirements.txt) on a laptop. I've just been copying the libraries in whl format to the offline env and…

user3372090
- 11
- 1
0
votes
1 answer
Install python packages from containerized pypiserver into containerized flask app
I have two docker containers. First one is pypiserver, that contains a package I've created. Second one is my flask app that will install that package from pypiserver. I build those containers with docker-compose, and after that I go into the app…

Oğuz Öztınaz
- 165
- 9
0
votes
0 answers
Python PyPiserver - not able to install python packages
we are using local PyPiserver which is installed on google cloud run and only that has access to internet.
So to download the packages I am using following command.
I had no issue install protobuf but I am facing issue installing rsa
pip install…

Gaurang Shah
- 11,764
- 9
- 74
- 137
0
votes
0 answers
Pypiserver WRONG_VERSION_NUMBER
On windows, I have a simple conda env named pypitester.
On a linux I am hosting a private pypiserver which loads when I call it on http://{IP}:8888/simple/:
I can load the url and see the contents. I was able to upload to my server using twine…

jason m
- 6,519
- 20
- 69
- 122
0
votes
2 answers
Docker - Build a service after the dependant service is up and running
I have a docker-compose file for a Django application.
Below is the structure of my docker-compose.yml
version: '3.8'
volumes:
pypi-server:
services:
backend:
command: "bash ./install-ppr_an_run_dphi.sh"
build:
context:…

Shreehari Vaasistha L
- 78
- 1
- 8
0
votes
0 answers
How to convert dist-packages / site-packages to pip repository
On enterprise systems where no internet might be some computer with relevant python packages,
Is it possible to convert dist-packages / site-packages to private repository.
In Java i able to upload jar to Artifactory/Nexus and it will work when i…

Yehuda
- 457
- 2
- 6
- 16
0
votes
0 answers
What is a better way to build and publish python library from the docker container?
I am working on building and publishing a python library using hatch library to our local pypiserver. I would like to build and publish it from the Docker container.
What is a proper way to do so? Do I need to run the container and then connect to…

Stanislav Hordiyenko
- 617
- 2
- 7
- 19
0
votes
1 answer
How can I specify upload server in pypi upload?
Suppose I have a .pypirc file as,
[distutils]
index-servers =
pypi
test2
test3
test4
[pypi]
repository: https://test.pypi.org/legacy/
username: username_1
password: passme_1
[test2]
repository: url_1
username: username_1
password:…

JPG
- 82,442
- 19
- 127
- 206
0
votes
0 answers
Pypiserver logging in API
I'm trying to create a private Python index using PyPiServer using the API.
According to the documentation I can specify the verbosity and the log file in the pypiserver app setup.
This is what I have:
import pypiserver
from pypiserver import…

Baldeep
- 4,213
- 4
- 17
- 17
0
votes
1 answer
While running pypi-server getting ValueError: zero length field name in format
Command : pypi-server -p 8080 -v ~/packages
2017-04-12 10:45:11,939|pypiserver.bottle|INFO|139762541180672|Bottle v0.13-dev server starting up (using AutoServer())...
2017-04-12 10:45:11,939|pypiserver.bottle|INFO|139762541180672|Listening on…

Michael
- 69
- 6
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.

Oleg Ieroshenko
- 1
- 1
0
votes
2 answers
Disable authentication when uploading to local pypi server
I'm using pypiserver to start up a local server to host and serve python packages for development inside a sandbox. Is it possible to disable password authentication? The documentation here says
Currently only password-protected uploads are…

Srikanth
- 973
- 2
- 9
- 19
0
votes
1 answer
Weird CPython 2.7 import traceback - not an ImportError
I have added directories to my sys.path hundreds of times before
importing from them, and know what to expect from that. I confess, I
don't have a lot of package or egg experience.
However, I have a somewhat special (apparently) directory that…

dstromberg
- 6,954
- 1
- 26
- 27
-1
votes
1 answer
How to fix OSError: [WinError 123] when publishing to PyPi
Full error:
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\Program Files\GDAL"'
Why is Python looking for the file C:\Program Files\GDAL" when I run the following?
python -m twine upload…

P_B
- 94
- 6