Skip to content

Mention poetry instead of pipenv #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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