Skip to content

Commit 89505a7

Browse files
author
Julien Nakache
committed
release new version
1 parent ef1fce2 commit 89505a7

File tree

3 files changed

+33
-22
lines changed

3 files changed

+33
-22
lines changed

CONTRIBUTING.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Local Development
2+
3+
Set up our development dependencies:
4+
5+
```sh
6+
pip install -e ".[dev]"
7+
pre-commit install
8+
```
9+
10+
We use `tox` to test this library against different versions of `python` and `SQLAlchemy`.
11+
While developping locally, it is usually fine to run the tests against the most recent versions:
12+
13+
```sh
14+
tox -e py37 # Python 3.7, SQLAlchemy < 2.0
15+
tox -e py37 -- -v -s # Verbose output
16+
tox -e py37 -- -k test_query # Only test_query.py
17+
```
18+
19+
Our linters will run automatically when committing via git hooks but you can also run them manually:
20+
21+
```sh
22+
tox -e pre-commit
23+
```
24+
25+
## Release Process
26+
27+
1. Update the version number in graphene_sqlalchemy/__init__.py via a PR.
28+
29+
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.
30+
31+
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.

README.md

+1-21
Original file line numberDiff line numberDiff line change
@@ -111,24 +111,4 @@ To learn more check out the following [examples](examples/):
111111

112112
## Contributing
113113

114-
Set up our development dependencies:
115-
116-
```sh
117-
pip install -e ".[dev]"
118-
pre-commit install
119-
```
120-
121-
We use `tox` to test this library against different versions of `python` and `SQLAlchemy`.
122-
While developping locally, it is usually fine to run the tests against the most recent versions:
123-
124-
```sh
125-
tox -e py37 # Python 3.7, SQLAlchemy < 2.0
126-
tox -e py37 -- -v -s # Verbose output
127-
tox -e py37 -- -k test_query # Only test_query.py
128-
```
129-
130-
Our linters will run automatically when committing via git hooks but you can also run them manually:
131-
132-
```sh
133-
tox -e pre-commit
134-
```
114+
See [CONTRIBUTING.md](/CONTRIBUTING.md)

graphene_sqlalchemy/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from .fields import SQLAlchemyConnectionField
33
from .utils import get_query, get_session
44

5-
__version__ = "2.1.1"
5+
__version__ = "2.1.2"
66

77
__all__ = [
88
"__version__",

0 commit comments

Comments
 (0)