From 570b1f31b2183665e6647f1deaae8c33c95ef5c7 Mon Sep 17 00:00:00 2001 From: Naoya Yamashita Date: Fri, 23 Sep 2022 04:10:05 +0900 Subject: [PATCH] Suggest to use poetry instead of pipenv (#161) --- README.md | 4 ++-- docs/intro.rst | 6 +++--- tests/test_docs.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bd732d72..24179de4 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,10 @@ GraphQL-core 3 can be installed from PyPI using the built-in pip command: python -m pip install graphql-core -You can also use [pipenv](https://docs.pipenv.org/) for installation in a +You can also use [poetry](https://github.com/python-poetry/poetry) for installation in a virtual environment: - pipenv install graphql-core + poetry install ## Usage diff --git a/docs/intro.rst b/docs/intro.rst index 2ac64258..5af7f5aa 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -33,9 +33,9 @@ You can install GraphQL-core 3 using pip_:: pip install graphql-core -You can also install GraphQL-core 3 with pipenv_, if you prefer that:: +You can also install GraphQL-core 3 with poetry_, if you prefer that:: - pipenv install graphql-core + poetry install Now you can start using GraphQL-core 3 by importing from the top-level :mod:`graphql` package. Nearly everything defined in the sub-packages @@ -94,4 +94,4 @@ in the current development or want to report issues or send pull requests. .. _Execution: https://facebook.github.io/graphql/draft/#sec-Execution .. _Response: https://facebook.github.io/graphql/draft/#sec-Response .. _pip: https://pip.pypa.io/ -.. _pipenv: https://github.com/pypa/pipenv +.. _poetry: https://github.com/python-poetry/poetry diff --git a/tests/test_docs.py b/tests/test_docs.py index 3217f904..7796ec31 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -50,8 +50,8 @@ def getting_started(capsys): intro = get_snippets("intro") pip_install = intro.pop(0) assert "pip install" in pip_install and "graphql-core" in pip_install - pipenv_install = intro.pop(0) - assert "pipenv install" in pipenv_install and "graphql-core" in pipenv_install + poetry_install = intro.pop(0) + assert "poetry install" in poetry_install create_schema = intro.pop(0) assert "schema = GraphQLSchema(" in create_schema scope: Scope = {}