1,864 questions
0
votes
0
answers
72
views
Why does Ray attempt to install ray wheels from ray-wheels.s3-us-west-2.amazonaws.com?
When submitting a Ray job using a conda runtime env (runtime_env = {"conda": "environment.yml"}), Ray attempts to install the ray wheel from ray-wheels.s3-us-west-2.amazonaws.com ...
0
votes
1
answer
36
views
Get the real python package names [duplicate]
How can I get Pypi package name with the name uses in import?
for example:
import allauth
But its name in Pypi is django-allauth and this name must be used to install with pip.
I don't want to use ...
1
vote
1
answer
80
views
Image size inconsistency between GitHub and PyPI in README.md
I created some simple console games in Python(Oyna Project) and took screenshots of each game to showcase them in the README.md file. I wanted to display these images in a table format both on GitHub ...
0
votes
1
answer
21
views
Is it possible to automatically regenerate auth token for PyPi?
I have a CI-CD pipeline which builds and release a Python package into PyPi.
An auth token is used for this and I have a new requirement to rotate/regenerate this token relatively regularly, maybe ...
-1
votes
1
answer
26
views
How does one get pypi package metadata for an uninstalled package - preferably in JSON?
pip show doesn't work for packages that aren't installed and does not output in JSON. Is there a way to make it do so?
pip show django
WARNING: Package(s) not found: django
Is there any way of ...
0
votes
0
answers
18
views
Using hunter to trace test calls misses certain invocations — how to capture more complete code dependencies?
I’m working on a project with the following goal: extract a self-contained set of Python modules and their corresponding test cases from a PyPI package, so that this extracted code (plus tests) can ...
1
vote
0
answers
52
views
'pdm build' adds date to scm version number, TestPyPI rejects it
My distribution project is managed with git, The last tag is 0.1.2.dev1. I use PDM (https://pdm-project.org). The relevant snipped in pyproject.toml is:
[build-system]
requires = ["pdm-backend&...
4
votes
1
answer
109
views
Why does some unknown codes appeared in standard library after using pip to install mstplotlib (not matplotlib)
When I entered the typo pip install mstplotlib accidentally, the mstplotlib automatically installs its requirement matplotlib and other dependencies, and the installation seems successful.
C:\Users\...
0
votes
1
answer
41
views
PyPi Server on windows: 503 Forbidden
I have a windows server with pypiserver running as a schedule task and am accessing it via a reverse proxy.
My pypi server is running as a scheduled task under user X.
I have .htpasswd setup.
The ...
0
votes
0
answers
40
views
How to distribute multiple variations of a package on PyPI?
I have a Python package with two variations: a CPU-only, and a GPU-enabled build. I would like to distribute both versions on PyPI, where users could maybe do something like the following (it doesn't ...
1
vote
1
answer
95
views
How to avoid invalid version numbers when publishing to TestPyPI in GitHub Actions?
I want to set up my Python project on GitHub for automatic publications to PyPI using GitHub Actions following this guide. This includes publishing to the TestPyPI server with every push. For this, I ...
1
vote
0
answers
27
views
Poetry configuration for installing local and remote package versions together
I want to create a Poetry configuration that installs my local package during development and installs my package from PyPI for other users.
I try to create fake localdev optional dependency that ...
0
votes
3
answers
111
views
How to define external dependencies in DLT pipeline definitions?
In order to deploy DLT tables I am using yaml files that define Delta Live Tables Pipeline. Here is an example configuration.
resources:
pipelines:
bronze:
name: ${var.stage_name}_bronze
...
0
votes
1
answer
163
views
windows pip cant install concurrent due to 'could not find a version that satisfies the requirement' but pycharm can
I am writing a small script to do multithreading examples, but I can't get it to work outside the pycharm environment. When I run it in pycharm (community edition) it is able to install the concurrent....
0
votes
1
answer
95
views
cannot install latest mysqlclient on ubuntu
I have read pip install mysql-python fails with EnvironmentError: mysql_config not found and mysql_config not found when installing mysqldb python interface and I am sure it is not a duplicate ...