From 317961fcb0eebd57b6f77c2584d656c7270416e0 Mon Sep 17 00:00:00 2001 From: Fabien Le Frapper Date: Tue, 24 Aug 2021 10:47:02 +0200 Subject: [PATCH 1/4] Add markdown support for package description --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c823345..4f21d95 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,6 @@ #!/usr/bin/env python from setuptools import setup -setup() +setup( + long_description_content_type='text/markdown' +) From 85cd0b72b109b227153aa78b8c5868a2b0caa3b4 Mon Sep 17 00:00:00 2001 From: Fabien Le Frapper Date: Tue, 24 Aug 2021 10:48:05 +0200 Subject: [PATCH 2/4] bump versions --- HISTORY.rst | 5 +++++ graphql_ws/__init__.py | 2 +- setup.cfg | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 0bf53d1..1a7a4d1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,11 @@ History ======= +0.4.3 (2021-08-24) +================== +- Add markdown support for package description +- Fix: PyPi publish + 0.4.2 (2021-08-24) ================== - Bump django version diff --git a/graphql_ws/__init__.py b/graphql_ws/__init__.py index 5ea1f9f..30e0e02 100644 --- a/graphql_ws/__init__.py +++ b/graphql_ws/__init__.py @@ -4,4 +4,4 @@ __author__ = """Syrus Akbary""" __email__ = "me@syrusakbary.com" -__version__ = "0.4.2" +__version__ = "0.4.3" diff --git a/setup.cfg b/setup.cfg index 3eb39bd..8e2e8cc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = graphql-ws -version = 0.4.2 +version = 0.4.3 description = Websocket backend for GraphQL subscriptions long_description = file: README.rst, CHANGES.rst author = Syrus Akbary @@ -63,7 +63,7 @@ test = universal = 1 [bumpversion] -current_version = 0.4.2 +current_version = 0.4.3 commit = True tag = True From 0e1e750236f9255d4a7d95d198a1fab5801c7dc7 Mon Sep 17 00:00:00 2001 From: Fabien Le Frapper Date: Tue, 24 Aug 2021 11:02:08 +0200 Subject: [PATCH 3/4] Fix rst readme --- README.rst | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 4882551..65a6816 100644 --- a/README.rst +++ b/README.rst @@ -165,7 +165,7 @@ applications: ASGI_APPLICATION = 'graphql_ws.django.routing.auth_application' Run ``./manage.py runserver`` and go to -`http://localhost:8000/graphql`__ to test! +`http://localhost:8000/graphql `__ to test! Python 2 servers diff --git a/setup.py b/setup.py index 4f21d95..e8e7377 100644 --- a/setup.py +++ b/setup.py @@ -2,5 +2,5 @@ from setuptools import setup setup( - long_description_content_type='text/markdown' + long_description_content_type='text/x-rst' ) From 6ff93a8146ffb2a1f0e07a4388b2c7b856f59dc0 Mon Sep 17 00:00:00 2001 From: Fabien Le Frapper Date: Tue, 24 Aug 2021 11:02:59 +0200 Subject: [PATCH 4/4] Fix readme syntax to use rst and fix rst errors --- HISTORY.rst | 4 ++++ graphql_ws/__init__.py | 2 +- setup.cfg | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 1a7a4d1..ed7f666 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,10 @@ History ======= +0.4.4 (2021-08-24) +================== +- Fix: Readme syntax + 0.4.3 (2021-08-24) ================== - Add markdown support for package description diff --git a/graphql_ws/__init__.py b/graphql_ws/__init__.py index 30e0e02..7d385e9 100644 --- a/graphql_ws/__init__.py +++ b/graphql_ws/__init__.py @@ -4,4 +4,4 @@ __author__ = """Syrus Akbary""" __email__ = "me@syrusakbary.com" -__version__ = "0.4.3" +__version__ = "0.4.4" diff --git a/setup.cfg b/setup.cfg index 8e2e8cc..68781b0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = graphql-ws -version = 0.4.3 +version = 0.4.4 description = Websocket backend for GraphQL subscriptions long_description = file: README.rst, CHANGES.rst author = Syrus Akbary @@ -63,7 +63,7 @@ test = universal = 1 [bumpversion] -current_version = 0.4.3 +current_version = 0.4.4 commit = True tag = True