From b8e1a913a8df33db045c06cc5f3b70d63e1ef709 Mon Sep 17 00:00:00 2001 From: Mel van Londen Date: Sat, 29 Jun 2019 10:48:31 -0700 Subject: [PATCH 1/3] add PyPI packing and deploy and set graphql-core-next as v3 of graphql-core --- .travis.yml | 9 +++++++++ graphql/version.py | 4 ++-- setup.py | 6 +++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index adc9500b..4a014700 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,3 +27,12 @@ script: after_success: - codecov + +deploy: + provider: pypi + user: syrusakbary + on: + tags: true + password: + secure: q7kMxnJQ5LWr8fxVbQPm3pAXKRfYa1d2defM1UXKTQ+Gi6ZQ+QEOAOSbX1SKzYH62+hNRY2JGTeLkTQBeEYn05GJRh+WOkFzIFV1EnsgFbimSb6B83EmM57099GjJnO2nRUU4jyuNGU1joTeaD/g08ede072Es1I7DTuholNbYIq+brL/LQMJycuqZMoWUW4+pP8dE9SmjThMNYHlqNhzdXSE3BlZU0xcw7F2Ea384DNcekIIcapZuPjL167VouuSH/oMQMxBJo+ExEHdbqn5zsA9xcoF931XCgz4ag8U3jHhE48ZXM/xwdQt+S8JnOZcuv3MoAAioMbh+bYXUt2lmENWXCKK1kMDz2bJymwEUeZLA6lFxJQwvlVShowdi7xeyDYLIbeF7yG90Hd+5BqCZn5imzlcQxpjanaQq6xLwAzo6AHssWtd5bBOjDydknPxd1t3QGDoDvtfRdqrfOhlVX5813Hmd/vAopBAba7msKPMLxhsqDZKkwsVrLJLJDjGdpHNl/bbVaMsYcPrsFxa2W8PuddQFviHbL4HDNqHn5SpRwJcQ18YL1X5StQnUz1J+4E0W4mLrU3YW1k8RGlKTes/GeTH4sU+Sh3I9vrDv7849A8U9sSFyB2PT4Jyy8O2R5UyjoqnZDrkYYbLdn/caVo3ThrubTpwdPBmNwcDLA= + distributions: "sdist bdist_wheel" diff --git a/graphql/version.py b/graphql/version.py index e71622c8..f64ed092 100644 --- a/graphql/version.py +++ b/graphql/version.py @@ -18,9 +18,9 @@ def __str__(self): return v -version = "1.0.5" +version = "3.0.0" -version_info = VersionInfo(1, 0, 5, "final", 0) +version_info = VersionInfo(3, 0, 0, "final", 0) version_js = "14.3.1" diff --git a/setup.py b/setup.py index 67c31a4a..98114214 100644 --- a/setup.py +++ b/setup.py @@ -8,9 +8,9 @@ readme = readme_file.read() setup( - name="GraphQL-core-next", + name="graphql-core", version=version, - description="GraphQL-core-next is a Python port of GraphQL.js," + description="GraphQL implementation for Python, a port of GraphQL.js," " the JavaScript reference implementation for GraphQL.", long_description=readme, long_description_content_type="text/markdown", @@ -24,7 +24,7 @@ classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - 'Topic :: Software Development :: Libraries', + "Topic :: Software Development :: Libraries", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", From 1905fd40d969d9b83e1becce69ac14de7b020f55 Mon Sep 17 00:00:00 2001 From: Mel van Londen Date: Sat, 29 Jun 2019 18:00:29 -0700 Subject: [PATCH 2/3] update version number everywhere and update pypi deploy credentials --- .bumpversion.cfg | 2 +- .travis.yml | 4 ++-- README.md | 2 +- docs/conf.py | 2 +- pyproject.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e3cac9b2..beb58730 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.5 +current_version = 3.0.0 commit = False tag = False diff --git a/.travis.yml b/.travis.yml index 4a014700..3996a208 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,9 +30,9 @@ after_success: deploy: provider: pypi - user: syrusakbary + user: mvanlonden on: tags: true password: - secure: q7kMxnJQ5LWr8fxVbQPm3pAXKRfYa1d2defM1UXKTQ+Gi6ZQ+QEOAOSbX1SKzYH62+hNRY2JGTeLkTQBeEYn05GJRh+WOkFzIFV1EnsgFbimSb6B83Em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jmtt8R0F9NrZnvLetrKAJjR1oGhTgEwqFhmq2uK/Q8QILuUMBKGHkFv2Ve1p3CLEJcX+KHrpKtGJvnWYVIISTfDivdKNIjoN+hM90vH1tC1DrvFY/PXGMDO+MHwYgyOezcrNdj+sav02cLm5XG+7449S5vgIa4DpAE+24= distributions: "sdist bdist_wheel" diff --git a/README.md b/README.md index 494190e0..8fdb3ebb 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ a query language for APIs created by Facebook. [![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core-next/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/) [![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) -The current version 1.0.5 of GraphQL-core-next is up-to-date with GraphQL.js version +The current version 3.0.0 of GraphQL-core-next is up-to-date with GraphQL.js version 14.3.1. All parts of the API are covered by an extensive test suite of currently 1786 unit tests. diff --git a/docs/conf.py b/docs/conf.py index 89261475..93f0dbcb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -61,7 +61,7 @@ # The short X.Y version. # version = u'1.0' # The full version, including alpha/beta/rc tags. -version = release = u'1.0.5' +version = release = u'3.0.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyproject.toml b/pyproject.toml index fde66cce..b44e7f86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "graphql-core-next" -version = "1.0.5" +version = "3.0.0" description = """ GraphQL-core-next is a Python port of GraphQL.js, the JavaScript reference implementation for GraphQL.""" From 0256efd70aff23828328dbdfc2917db07a21c01f Mon Sep 17 00:00:00 2001 From: Mel van Londen Date: Sat, 29 Jun 2019 18:09:00 -0700 Subject: [PATCH 3/3] add alpha prerelease qualifier --- .bumpversion.cfg | 2 +- README.md | 2 +- docs/conf.py | 2 +- graphql/version.py | 4 ++-- pyproject.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index beb58730..e28c4b1b 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.0.0 +current_version = 3.0.0-alpha commit = False tag = False diff --git a/README.md b/README.md index 8fdb3ebb..04003d55 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ a query language for APIs created by Facebook. [![Python 3 Status](https://pyup.io/repos/github/graphql-python/graphql-core-next/python-3-shield.svg)](https://pyup.io/repos/github/graphql-python/graphql-core-next/) [![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) -The current version 3.0.0 of GraphQL-core-next is up-to-date with GraphQL.js version +The current version 3.0.0-alpha of GraphQL-core-next is up-to-date with GraphQL.js version 14.3.1. All parts of the API are covered by an extensive test suite of currently 1786 unit tests. diff --git a/docs/conf.py b/docs/conf.py index 93f0dbcb..44f235f0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -61,7 +61,7 @@ # The short X.Y version. # version = u'1.0' # The full version, including alpha/beta/rc tags. -version = release = u'3.0.0' +version = release = u'3.0.0-alpha' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/graphql/version.py b/graphql/version.py index f64ed092..eb29fed1 100644 --- a/graphql/version.py +++ b/graphql/version.py @@ -18,9 +18,9 @@ def __str__(self): return v -version = "3.0.0" +version = "3.0.0-alpha" -version_info = VersionInfo(3, 0, 0, "final", 0) +version_info = VersionInfo(3, 0, 0, "alpha", 0) version_js = "14.3.1" diff --git a/pyproject.toml b/pyproject.toml index b44e7f86..dffe3c22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "graphql-core-next" -version = "3.0.0" +version = "3.0.0-alpha" description = """ GraphQL-core-next is a Python port of GraphQL.js, the JavaScript reference implementation for GraphQL."""