From a8ec2a9f62f0dcbe4d96d42828071a2cd0797cab Mon Sep 17 00:00:00 2001 From: Mel van Londen Date: Sat, 13 Jul 2019 13:11:49 -0700 Subject: [PATCH] Set graphql-core-next as v3 of graphql-core (#40) Add PyPI packing and deploy and set GraphQL-core-next as v3 of GraphQL-core. Update version number everywhere and update PyPi deploy credentials. Add alpha prerelease qualifier. --- .bumpversion.cfg | 2 +- .travis.yml | 9 +++++++++ README.md | 2 +- docs/conf.py | 2 +- pyproject.toml | 2 +- setup.py | 4 ++-- src/graphql/version.py | 4 ++-- 7 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 6fe2314e..f2eb6500 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.1.0 +current_version = 3.0.0a0 commit = False tag = False diff --git a/.travis.yml b/.travis.yml index 02dfb226..40fee176 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,3 +27,12 @@ script: after_success: - codecov + +deploy: + provider: pypi + user: mvanlonden + on: + tags: true + password: + secure: xWXF8kHWqM2/KIxM3rSRM2zKU0ZSRzexxos2BrJK/favSNXthsAfbNrkvWgJRpleyo/WrP5A0yRoGZRFzDkg7JX4oqUNOMkVG591V6eLNdXLwvrpxTujzEY2dKcwWzJ+EreOesIZFsK2TpkAyE0ntzBDbyhHPJl5uLCVD0d7F//psIUOM2EHwR49efV+eDBFgSdEPZ+P/e8OUlPV+U9lxoqvc1qFz5o2aV5tOEadZy1jzKEKslu2U3/F8vdOHrDAJGND3d3xpjRndZuaPPMUp9Fzbf7KdHiKGhbtjIPbR6E0jGkI9y2hesdjOgktLjRmUxES+KfthwDpP0uEXdS4FhLA+eXb5j2oKrC2uI/5s3efq8L55v4lYVpqiKFhYPXkqYbRpITZnHsCDBqgDx9BcrziJ15Y2NEZl1vKvmT6rKSkzhxjXO0slPV/fC4Po9dPvujvAzM2QEfl6aCv0wkP66SaSwWyK3K3B2a0FT2jURQ9qHCQ9hMGjwwA3xQh8UyuMXonzOjmtt8R0F9NrZnvLetrKAJjR1oGhTgEwqFhmq2uK/Q8QILuUMBKGHkFv2Ve1p3CLEJcX+KHrpKtGJvnWYVIISTfDivdKNIjoN+hM90vH1tC1DrvFY/PXGMDO+MHwYgyOezcrNdj+sav02cLm5XG+7449S5vgIa4DpAE+24= + distributions: "sdist bdist_wheel" diff --git a/README.md b/README.md index 130a6b58..543c92aa 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.1.0 of GraphQL-core-next is up-to-date with GraphQL.js version +The current version 3.0.0a0 of GraphQL-core-next is up-to-date with GraphQL.js version 14.4.0. All parts of the API are covered by an extensive test suite of currently 1882 unit tests. diff --git a/docs/conf.py b/docs/conf.py index ac0da833..c9cfe0c1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -61,7 +61,7 @@ # The short X.Y version. # version = u'1.1' # The full version, including alpha/beta/rc tags. -version = release = u'1.1.0' +version = release = u'3.0.0a0' # 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 d561430f..8e328334 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "graphql-core-next" -version = "1.1.0" +version = "3.0.0a0" description = """ GraphQL-core-next is a Python port of GraphQL.js, the JavaScript reference implementation for GraphQL.""" diff --git a/setup.py b/setup.py index 36060abf..3f41c272 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", diff --git a/src/graphql/version.py b/src/graphql/version.py index f4bbb596..270a2bf4 100644 --- a/src/graphql/version.py +++ b/src/graphql/version.py @@ -19,9 +19,9 @@ def __str__(self): return v -version = "1.1.0" +version = "3.0.0a0" -version_info = VersionInfo(1, 1, 0, "final", 0) +version_info = VersionInfo(3, 0, 0, "alpha", 0) version_js = "14.4.0"