From b4e78afd1c831b368f9dcd16d1699eb8f3794d2e Mon Sep 17 00:00:00 2001 From: Richard Antal Date: Mon, 3 Jun 2024 14:24:04 +0200 Subject: [PATCH] PHOENIX-7323 fix twine check error --- 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 @@ def readme(): 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="dev@phoenix.apache.org",