diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..8871594f6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI + +on: push + +jobs: + build-n-publish: + name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.x" + - name: Install pypa/build + run: >- + python3 -m + pip install + build + --user + - name: Build a source tarball + run: >- + python3 -m + build + --sdist + --outdir dist/ + - name: Publish distribution 📦 to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG index 4655d94a4..b6cc4b16f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -172,4 +172,7 @@ 0.30 28/04/2022 * Fix decoding large json arrays -* Handle null json \ No newline at end of file +* Handle null json + +0.30.1 05/02/2024 +* improve performance Version Check \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 05e628362..09e055a5c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ # built documents. # # The short X.Y version. -version = '0.30' +version = '0.30.1' # The full version, including alpha/beta/rc tags. -release = '0.30' +release = '0.30.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 0c56468b4..58a28adcf 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,7 @@ except ImportError: from distutils.core import setup, Command +from pathlib import Path import sys tests_require = [] @@ -34,12 +35,14 @@ def run(self): unittest.main(tests, argv=sys.argv[:1]) -version = "0.30" +version = "0.30.1" +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() setup( name="mysql-replication", version=version, - url="https://github.com/noplay/python-mysql-replication", + url="https://github.com/julien-duponchelle/python-mysql-replication", author="Julien Duponchelle", author_email="julien@duponchelle.info", description=("Pure Python Implementation of MySQL replication protocol " @@ -50,5 +53,5 @@ def run(self): "pymysqlreplication.tests"], cmdclass={"test": TestCommand}, extras_require={'test': tests_require}, - install_requires=['pymysql>=0.10'], + install_requires=["packaging",'pymysql>=0.10'], )