iOS exception EXC_GUARD

I had a crash on an iPhone 4 with an exception type of EXC_GUARD. I can't find any information on this particular exception via google (only 1 result) or on stackoverflow. What is it? Version: ...

How am I supposed to register a package to PyPI?

In the documentation for packaging and distributing Python packages, it says to use twine with repository = https://upload.pypi.org/legacy/ in .pypirc. Now this URL is both – from the last bit...

400 ERROR: Invalid URI when uploading new PyPI package (twine)

I followed the official documentation for uploading packages to PyPI, as well as the information provided in PyPI readme, but I get a HTTP 400 error each time: $ twine upload dist/* Uploading...

Can't upload to PyPi with Twine

I'm trying to upload a python package to PyPi, using the following commands: pip install -e . python setup.py bdist_wheel --universal twine upload --repository-url https://upload.pypi.org/legacy/...

Upload to pypi from Gitlab Pipelines

I'm trying to upload a package to pypi using a Gitlab CI job, but I cannot make it work :/ Anyone has a working example? What I have tried so far in my .gitlab-ci.yaml (from my local machine all...

How to style individual passages with CSS in Twine? (Sugarcube)

I'm currently doing a project in Twine and am using the Sugarcube format. I can't figure out how to style individual passages using CSS. I've tried creating classes in CSS and then tagging a...

How to publish binary Python wheels for linux on a local machine

I have a package containing C extensions that I would like to upload to pypi: https://github.com/Erotemic/netharn I built a wheel on Ubuntu 18.04 using the command python setup.py bdist_wheel...

Issue uploading a Python package to Pypi using Windoes 10 - twine is not recognized as an internal or external commend

I have been trying to upload a Python package to Pypi. I have been following a couple of different guides. I have install twine using pip install twine And it doesn't show any...

How to upload new versions of project to PyPI with twine?

I've uploaded my Python package to PyPI. But now I made new version of my package and need to upload it. I tried to make same progress which I did when upload the package first time. but give me...

Twine hangs without prompting for password

I'm attempting to upload a tarball and wheel for a new package to PyPI using twine which was recently installed under a conda environment (Miniconda3). After I enter my username I expect to be...

Python dependency hell: A compromise between virtualenv and global dependencies?

I've tested various ways to manage my project dependencies in Python so far: Installing everything global with pip (saves spaces, but sooner or later gets you in trouble) pip & venv or virtualenv...

How to publish to an Azure Devops PyPI feed with Poetry?

I am trying to set up Azure Devops to publish to a PyPI feed with Poetry. I know about Twine authentication and storing credentials to an Azure Key Vault. But is there any more straightforward...

Is `versioneer` compatible with `PyPI` packaging?

I've been using versioneer for version control of my package and I'm currently trying to upload it to PyPI. I am getting the following error, however, when running python -m twine upload...

Twine is asking for my password each time : how to use the .pypirc

I have pip installed pypirc and set up a ~/.pypirc file with the requisite password. Why is twine asking for a password each time python setup.py is invoked? $twine upload --repository-url...

Create conda environment: "Found conflicts!" when solving environment and "Finding shortest conflict path" running forever

I was provided with an environment.ubuntu.yml file to be able to create a conda environment. However, running conda create env --file environment.ubuntu.yml I get the following output: conda env...

setup.py/setup.cfg install all extras

I search for a possibility to 'inherit' other extras in the setup.cfg like so: [options.extras_require] all = <doc> <dev> <test> doc = sphinx dev = dvc twine # for...

TF object detection API detection model retraining: "object_detection.protos.TrainConfig" has no field named "fine_tune_checkpoint_version"

I'm retraining ssd_mobilenet_v2_coco_2018_03_29 using Tensorflow Object Detection API and I get this particular error on both Windows and Ubuntu environments. My environment below is Windows 10...

Get {"error":"404 Not Found"} when uploading pypi package to gitlab with twine

I am following the official documentation while trying to upload my pypi package to gitlab private repository using twine. I am working on a community project on gitlab.com that is set to...

PyPI package testing: 403 Forbidden from https://test.pypi.org/legacy/

I am just trying to create a python package on testPyPI for some testing (using twine), following this official guide. I am using a token, which succeeded exactly one time (username __token__,...

Force a global variable using a specific register by Clang/LLVM

I have the code as follows: // global.cpp int a = 5; register unsigned b __asm("r9"); int test() { b = 4; a++; b = b + 7; int c = a + b; return c; } I run clang -target arm -c...

I get 'AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' when trying to build a Docker image of a python app

I am trying to build a docker image of a python application. It fails with the following error: "Installing build dependencies: finished with status 'done' Getting requirements to build wheel:...

DOCKER_BUILDKIT - passing a token secret during build time from github actions

I have a pip installable package that was published using twine to Azure DevOps artifact. In my build image I need to download that package and install it with pip. So I need to authenticate...

How do I make access to a AWS CodeArtifact repository public / public in VPC, without need of credentials?

I need a package repository for my companies Python packages. I've setup a AWS CodeArtifact repository and managed to publish&install my packages. To enable pip to use this repository, AWS...

How to publish pip wheels using github actions

Maybe a bit of a broad question, but I think this is relevant for any maintainer of python packages that uses github and could reduce their workload significantly, so hopefully the powers that be...

How to access environment secrets from a Github workflow?

I am trying to publish a Python package to PyPI, from a Github workflow, but the authentication fails for "Test PyPI". I successfully published to Test PyPI from the command line, so my API token...

Pypi: InvalidDistribution: Invalid distribution metadata. Try upgrading twine if possible

So I'm trying to upload my code to pypi (I'm on Pycharm). When I built it into a dist folder it references a folder created UNKNOW.egg-info. I think it's reading the PKG-INFO which is invalid....

Connect to feed in Azure Artifacts using poetry (or pipenv) with artifacts-keyring

I'm a bit of a beginner to working with Azure, in particular my problem is related to publishing python packages. I have a package managed with poetry, i am posting it to the private repository...

GCP - Cloud Function can't find Python package from Artifact Registry in the same project

I've been trying GCP's Artifact Registry, which is currently in alpha for Python packages. I do the authentication via Keyring along with my service account, as explained in the documentation. I...

How to disable SSL certificate verification in Twine?

When I tried to push a new package to my company's artifactory : python -m twine upload --repository-url https:///artifactory/api/pypi/gdp_pypi dist/* I got an error on SSL. ssl.SSLError: [SSL:...

install PyTorch CPU-only in Dockerfile

I am fairly new to Docker and containerisation. I am wanting to decrease the size of my_proj docker container in production. I prefer installing packages and managing dependencies via Poetry. How...

Relevant tags