Skip to content

Commit 570b1f3

Browse files
authored
Suggest to use poetry instead of pipenv (#161)
1 parent 45851a9 commit 570b1f3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ GraphQL-core 3 can be installed from PyPI using the built-in pip command:
4848

4949
python -m pip install graphql-core
5050

51-
You can also use [pipenv](https://docs.pipenv.org/) for installation in a
51+
You can also use [poetry](https://github.com/python-poetry/poetry) for installation in a
5252
virtual environment:
5353

54-
pipenv install graphql-core
54+
poetry install
5555

5656

5757
## Usage

docs/intro.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ You can install GraphQL-core 3 using pip_::
3333

3434
pip install graphql-core
3535

36-
You can also install GraphQL-core 3 with pipenv_, if you prefer that::
36+
You can also install GraphQL-core 3 with poetry_, if you prefer that::
3737

38-
pipenv install graphql-core
38+
poetry install
3939

4040
Now you can start using GraphQL-core 3 by importing from the top-level
4141
: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.
9494
.. _Execution: https://facebook.github.io/graphql/draft/#sec-Execution
9595
.. _Response: https://facebook.github.io/graphql/draft/#sec-Response
9696
.. _pip: https://pip.pypa.io/
97-
.. _pipenv: https://github.com/pypa/pipenv
97+
.. _poetry: https://github.com/python-poetry/poetry

tests/test_docs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def getting_started(capsys):
5050
intro = get_snippets("intro")
5151
pip_install = intro.pop(0)
5252
assert "pip install" in pip_install and "graphql-core" in pip_install
53-
pipenv_install = intro.pop(0)
54-
assert "pipenv install" in pipenv_install and "graphql-core" in pipenv_install
53+
poetry_install = intro.pop(0)
54+
assert "poetry install" in poetry_install
5555
create_schema = intro.pop(0)
5656
assert "schema = GraphQLSchema(" in create_schema
5757
scope: Scope = {}

0 commit comments

Comments
 (0)