Skip to content

Commit

Permalink
Suggest to use poetry instead of pipenv (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
conao3 committed Sep 22, 2022
1 parent 45851a9 commit 570b1f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/intro.rst
Expand Up @@ -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
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/test_docs.py
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 570b1f3

Please sign in to comment.