Skip to content

Release 2.1.2 #207

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
Apr 17, 2019
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
31 changes: 31 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
## Local Development

Set up our development dependencies:

```sh
pip install -e ".[dev]"
pre-commit install
```

We use `tox` to test this library against different versions of `python` and `SQLAlchemy`.
While developping locally, it is usually fine to run the tests against the most recent versions:

```sh
tox -e py37 # Python 3.7, SQLAlchemy < 2.0
tox -e py37 -- -v -s # Verbose output
tox -e py37 -- -k test_query # Only test_query.py
```

Our linters will run automatically when committing via git hooks but you can also run them manually:

```sh
tox -e pre-commit
```

## Release Process

1. Update the version number in graphene_sqlalchemy/__init__.py via a PR.

2. Once the PR is merged, tag the commit on master with the new version (only maintainers of the repo can do this). For example, "v2.1.2". Travis will then automatically build this tag and release it to Pypi.

3. Make sure to create a new release on github (via the release tab) that lists all the changes that went into the new version.
22 changes: 1 addition & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,4 @@ To learn more check out the following [examples](examples/):

## Contributing

Set up our development dependencies:

```sh
pip install -e ".[dev]"
pre-commit install
```

We use `tox` to test this library against different versions of `python` and `SQLAlchemy`.
While developping locally, it is usually fine to run the tests against the most recent versions:

```sh
tox -e py37 # Python 3.7, SQLAlchemy < 2.0
tox -e py37 -- -v -s # Verbose output
tox -e py37 -- -k test_query # Only test_query.py
```

Our linters will run automatically when committing via git hooks but you can also run them manually:

```sh
tox -e pre-commit
```
See [CONTRIBUTING.md](/CONTRIBUTING.md)
2 changes: 1 addition & 1 deletion graphene_sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .fields import SQLAlchemyConnectionField
from .utils import get_query, get_session

__version__ = "2.1.1"
__version__ = "2.1.2"

__all__ = [
"__version__",
Expand Down