Skip to content

I don't get my package with pip after "twine upload dist/*" #281

Closed

Description

@felipesanches

I did this:

Releases to PyPI are performed by updating the version metadata on setup.py and then running the following commands (with the proper version number and date):

# cleanup
rm build/ -rf
rm dist/ -rf
rm venv/ -rf

# create a fresh python virtual env
virtualenv venv
. venv/bin/activate

# Remove the '-git' suffix and bump up the version number on setup.py
vim setup.py
git add setup.py
git commit -m "Updating version in preparation for a new release"

# install fontbakery on it and run our code tests
pip install .
pip install pytest
pytest Lib/fontbakery --verbose

# crate the package
python setup.py bdist_wheel

# Register a git tag for this release and publish it
git tag -a v0.3.3 -m "FontBakery version 0.3.3 (2017-11-23)"
git push upstream --tags

# and finally upload the new package to PyPI
twine upload dist/*

# Then we append a '-git' suffix on setup.py
vim setup.py
git add setup.py
git commit -m "Adding '-git' to version for the next release cycle"

I can see my package live at https://pypi.python.org/pypi/fontbakery/0.3.3

But I get this when doing pip install:

screenshot at 2017-11-24 00 31 39

Activity

  1. sigmavirus24 commented on Nov 24, 2017

    @sigmavirus24
    Member

    I can reproduce your problems with pip, that said, I can also download the file directly from PyPI using https://files.pythonhosted.org/packages/a3/b9/9744b9ffe0629711be58930cec3cde6c1d23b6cf31fe30affe138622ed92/fontbakery-0.3.3-py2-none-any.whl

    I can't explain to you why pip won't select that file for you. This definitely seems to be a bug in the interaction between pip and PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions