On Mon, Oct 2, 2017 at 5:20 AM, Aaron Meurer <[email protected]> wrote:

> I'm glad to see mpmath hit a real version number!
>
> What is the error message you are getting for PyPI?
>
> I recommend using setup.py sdist to create a tarball, upload that
> tarball to the GitHub releases page, and then use twine to upload the
> tarball to PyPI.
>
> Aaron Meurer
>

$ python setup.py sdist upload
...
Creating tar archive
removing 'mpmath-1.0.0' (and everything under it)
running upload
Submitting dist/mpmath-1.0.0.tar.gz to https://pypi.python.org/pypi
Upload failed (410): Gone (This API has been deprecated and removed from
legacy PyPI in favor of using the APIs available in the new PyPI.org
implementation of PyPI (located at https://pypi.org/). For more information
about migrating your use of this API to PyPI.org, please see
https://packaging.python.org/guides/migrating-to-pypi-org/#uploading. For
more information about the sunsetting of this API, please see
https://mail.python.org/pipermail/distutils-sig/2017-June/030766.html)

(Similar message with python3.)

I've tried creating a ~/.pypirc with "repository:
https://upload.pypi.org/legacy/"; in it according to the instructions on
https://packaging.python.org/guides/migrating-to-pypi-org/#uploading, but
this made no difference.

With twine, I get:

$ twine upload dist/mpmath-1.0.0.tar.gz
Uploading distributions to https://upload.pypi.org/legacy/
Uploading mpmath-1.0.0.tar.gz
...
/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:137:
InsecurePlatformWarning: A true SSLContext object is not available. This
prevents urllib3 from configuring SSL appropriately and may cause certain
SSL connections to fail. You can upgrade to a newer version of Python to
solve this. For more information, see
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
SSLError: HTTPSConnectionPool(host='upload.pypi.org', port=443): Max
retries exceeded with url: /legacy/ (Caused by SSLError(SSLError(1,
'_ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
internal error'),))

Fredrik

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJdUXTLgi1CqqMsPm-vMow7Te6h-HjEtzaGw2FJ%3DTpQYr1Q3vQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to