This is an automated email from the ASF dual-hosted git repository. richardantal pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix-queryserver.git
The following commit(s) were added to refs/heads/master by this push: new 21b1b35 PHOENIX-7323 fix twine check error (#153) 21b1b35 is described below commit 21b1b35923d148563c6844e66edb0ae4fa0f42bf Author: richardantal <richardan...@apache.org> AuthorDate: Tue Jun 4 09:21:48 2024 +0200 PHOENIX-7323 fix twine check error (#153) --- python-phoenixdb/README.rst | 1 + python-phoenixdb/RELEASING.rst | 5 +++++ python-phoenixdb/setup.py | 1 + 3 files changed, 7 insertions(+) diff --git a/python-phoenixdb/README.rst b/python-phoenixdb/README.rst index a8aa96c..1d70a6e 100644 --- a/python-phoenixdb/README.rst +++ b/python-phoenixdb/README.rst @@ -33,6 +33,7 @@ Extract the archive and then install it manually:: Note that old versions of pip and setuptools have various bugs and incompatibilities that may result in installation errors, especially on old python versions. If you encounter problems while building, update your pip and setuptools, and try again:: + pip install --upgrade pip pip install --upgrade setuptools diff --git a/python-phoenixdb/RELEASING.rst b/python-phoenixdb/RELEASING.rst index fb133f1..9963854 100644 --- a/python-phoenixdb/RELEASING.rst +++ b/python-phoenixdb/RELEASING.rst @@ -25,6 +25,11 @@ Prepare the RC #. Make sure the dockerized tests described in README.rst run successfully +#. Make sure to run twine check on the phoenixdb package files for python 2 and 3 and ensure they pass: + + python setup.py sdist bdist_wheel + twine check dist/* + #. Discuss release plans on dev@phoenix.a.o #. Open a ticket like https://issues.apache.org/jira/browse/PHOENIX-6529 diff --git a/python-phoenixdb/setup.py b/python-phoenixdb/setup.py index 38b53f8..88bc693 100644 --- a/python-phoenixdb/setup.py +++ b/python-phoenixdb/setup.py @@ -67,6 +67,7 @@ setup( name="phoenixdb", version=version, description="Phoenix database adapter for Python", + long_description_content_type="text/x-rst", long_description=readme(), author="Apache Software Foundation", author_email="d...@phoenix.apache.org",