Skip to content
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

graphene-sqlalchemy > abc-sqlalchemy/next #2

Open
wants to merge 70 commits into
base: next/abc-master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
9a0f740
Implement Mechanism to Selectively Override Automatic Field Creations…
jnak Jun 7, 2019
c89cf80
Fix `createConnectionField` deprecation warnings (#229)
jnak Jun 18, 2019
a361c52
[Regression Fix] Call custom resolve functions if provided (#241)
jnak Aug 14, 2019
5eb5559
[Python 2] Add support for unicode field names
aubustou Aug 28, 2019
8ea2086
Add support for generic SQLAlchemy Array type (#246)
Forever-Young Sep 9, 2019
0544f81
Add support for Python enums in sqlalchemy_utils.ChoiceType (#240)
metheoryt Sep 11, 2019
89c3726
ValueError: The options 'only_fields' and 'exclude_fields' cannot be …
clemens-tolboom Oct 23, 2019
98e6fe7
Fix N+1 problem for one-to-one and many-to-one relationships (#253)
jnak Nov 18, 2019
d90de4a
Fix N+1 problem for one-to-many and many-to-many relationships (#254)
jnak Jan 22, 2020
631513f
Add benchmark for connection fields (#259)
jnak Jan 24, 2020
6dca279
Add class property `connection` to `SQLAlchemyObjectType` (#263)
jnak Feb 11, 2020
4c5b4d1
[documentation] Fix Connection patterns (#264)
jnak Feb 12, 2020
7a48d3d
Bump promise to 2.3 (#265)
jnak Feb 12, 2020
17d535e
Add `batching` params (#260)
jnak Feb 12, 2020
3c3442e
Release 2.3.0.dev1 (#266)
jnak Feb 12, 2020
421f8e4
Fix deprecation warning in tests (#268)
dpep Feb 24, 2020
849217a
Add support for Non-Null SQLAlchemyConnectionField (#261)
chrisberks Jun 4, 2020
20ecaea
Release 2.3.0 (#278)
jnak Jun 4, 2020
cba727c
Move from travis to github actions (#316)
mvanlonden Sep 16, 2021
d6dd67e
Graphene v3 (tests) (#317)
richin13 Sep 21, 2021
57cd786
Build clean up (#318)
mvanlonden Sep 21, 2021
7bf0aa5
I resolved spelling and capitalization mistakes. (#290)
quinnkj Apr 8, 2022
771f4f5
Fix for import from graphql-relay-py (#329) (#330)
Cito Apr 27, 2022
869a55b
Add support for N-Dimensional Arrays
jbeard4 Apr 28, 2022
5da2048
🥅 Don't suppress SQLAlchemy errors when mapping classes (#169)
connorbrinton Apr 28, 2022
0820da7
Support setting @hybrid_property's return type from the functions typ…
flipbit03 Apr 29, 2022
b0aa63c
Added suport for Optional[T] in @hybrid_property's type annotation in…
flipbit03 May 3, 2022
a47dbb3
Pick up the docstrings of hybrid properties (#344)
bim9262 May 5, 2022
294d529
Update README.md
erikwrede Jun 2, 2022
f16d434
Add Python 3.10 & Update Build Scripts (#352)
erikwrede Jun 3, 2022
a702569
Native support for additional Type Converters (#353)
erikwrede Jul 15, 2022
dfee3e9
Release new beta
erikwrede Jul 15, 2022
a03a8b1
Use Graphene DataLoader in graphene>=3.1.1 (#360)
erikwrede Sep 8, 2022
bb7af4b
3.0.0b3
erikwrede Sep 8, 2022
43df4eb
feat: Support Sorting in Batch ConnectionFields & Deprecate UnsortedC…
PaulSchweizer Sep 9, 2022
b3657b0
Add Black to pre-commit (#361)
erikwrede Sep 12, 2022
0a765a1
Made Relationshiploader utilize the new and improved DataLoader imple…
flipbit03 Sep 13, 2022
75abf0b
feat: Add support for UUIDs in `@hybrid_property`-ies (#363)
flipbit03 Oct 1, 2022
8bfa1e9
chore: limit CI runs to master pushes & PRs (#366)
erikwrede Nov 21, 2022
2edeae9
feat: Support GQL interfaces for polymorphic SQLA models (#365)
polgfred Nov 28, 2022
32d0d18
feat: support for async sessions (#350)
jendrikjoe Dec 21, 2022
a03e74d
docs: fix installation instruction (#372)
zahrevsky Jan 2, 2023
2041835
refactor!: use the same conversion system for hybrids and columns (#371)
erikwrede Jan 4, 2023
d3a4320
feat!: Stricter non-null fields for relationships (#367)
polgfred Jan 13, 2023
1708fcf
fix: allow type converter inheritance again (#377)
erikwrede Jan 27, 2023
185a662
docs: add docs pipeline
erikwrede Feb 24, 2023
686613d
docs: extend docs and add autodoc api docs
erikwrede Feb 24, 2023
aa668d1
docs: add relay to index
erikwrede Feb 24, 2023
39a64e1
docs: fix sphinx problems and add autodoc
erikwrede Feb 24, 2023
e175f87
housekeeping: add issue management workflow
erikwrede Feb 24, 2023
ba0597f
chore: limit lint runs to master pushes and PRs (#382)
sabard Feb 27, 2023
506f58c
fix: warnings in docs build (#383)
sabard Feb 27, 2023
3720a23
release: 3.0.0b4
erikwrede Feb 27, 2023
2ca659a
docs: update PyPI page (#384)
sabard Feb 27, 2023
882205d
fix: set README content_type (#385)
sabard Feb 27, 2023
d0668cc
feat: SQLAlchemy 2.0 support (#368)
erikwrede May 14, 2023
f5f05d1
docs: Add database session to the example (#249)
clemens-tolboom Oct 6, 2023
1436807
feat: association_proxy support (#267)
dpep Oct 6, 2023
b94230e
chore: recreate loader if old loader is on different loop (#395)
zeptonaut Oct 9, 2023
c927ada
feat: add filters (#357)
sabard Dec 4, 2023
ae4f87c
fix: keep converting tuples to strings for composite primary keys in …
erikwrede Dec 4, 2023
9c2bc84
release: 3.0rc1
erikwrede Dec 4, 2023
b30bc92
feat(filters): Added DateTimeFilter (#404)
Salamek Mar 5, 2024
eb9c663
fix: create_filters option now does what it says (#414)
skolazbynek Sep 13, 2024
a6161dd
hoursekeeping: add support for python 3.12 (#417)
richin13 Dec 5, 2024
febdc45
release: 3.0.0rc2
erikwrede Dec 5, 2024
72c3cce
fix: Do not create filter class if create_filters is False (#420)
romeroyonatan Apr 7, 2025
83e0c17
chore: update tests actions
erikwrede Apr 7, 2025
6dbd94f
chore: update deploy actions
erikwrede Apr 7, 2025
4ea6ee8
chore: update lint actions (#421)
erikwrede Apr 7, 2025
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
Prev Previous commit
Next Next commit
Move from travis to github actions (graphql-python#316)
* move from travis to github actions

* add flake8 to tox

* add flake8 as env in tox

* add flake8 to setup

* remove sqlalchemy 1.1 in tests

* fix flake8 exclude

* move coveralls to github action

* fix coverall github action config

* move coveralls to tox

* move coveralls dep to test list

* add coverage command

* move coveralls back into github action

* modify coverage output
mvanlonden authored Sep 16, 2021
commit cba727ca4cb344350f92d93ad01f6a3b183c11c6
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 🚀 Deploy to PyPI

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Build wheel and source tarball
run: |
pip install wheel
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.1.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run lint 💅
run: tox
env:
TOXENV: flake8
38 changes: 38 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 10
matrix:
sql-alchemy: ["1.2", "1.3"]
python-version: ["3.6", "3.7", "3.8", "3.9"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
env:
SQLALCHEMY: ${{ matrix.sql-alchemy }}
TOXENV: ${{ matrix.toxenv }}
- name: Upload coverage.xml
if: ${{ matrix.sql-alchemy == '1.3' && matrix.python-version == '3.9' }}
uses: actions/upload-artifact@v2
with:
name: graphene-sqlalchemy-coverage
path: coverage.xml
if-no-files-found: error
- name: Upload coverage.xml to codecov
if: ${{ matrix.sql-alchemy == '1.3' && matrix.python-version == '3.9' }}
uses: codecov/codecov-action@v1
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -60,8 +60,8 @@
extras_require={
"dev": [
"tox==3.7.0", # Should be kept in sync with tox.ini
"coveralls==1.10.0",
"pre-commit==1.14.4",
"flake8==3.7.9",
],
"test": tests_require,
},
28 changes: 24 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,40 @@
[tox]
envlist = pre-commit,py{27,35,36,37}-sql{11,12,13}
envlist = pre-commit,py{27,35,36,37,38,39}-sql{12,13},flake8
skipsdist = true
minversion = 3.7.0

[gh-actions]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39

[gh-actions:env]
SQLALCHEMY =
1.2: sql12
1.3: sql13

[testenv]
passenv = GITHUB_*
deps =
.[test]
sql11: sqlalchemy>=1.1,<1.2
sql12: sqlalchemy>=1.2,<1.3
sql13: sqlalchemy>=1.3,<1.4
commands =
pytest graphene_sqlalchemy --cov=graphene_sqlalchemy {posargs}
pytest graphene_sqlalchemy --cov=graphene_sqlalchemy --cov-report=term --cov-report=xml {posargs}

[testenv:pre-commit]
basepython=python3.7
basepython=python3.9
deps =
.[dev]
commands =
pre-commit {posargs:run --all-files}

[testenv:flake8]
basepython = python3.9
deps = -e.[dev]
commands =
flake8 --exclude setup.py,docs,examples,tests,.tox --max-line-length 120