-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add compatibility with Django 4.0 and 4.1 #191
Conversation
Commit b9423b74ca9d22d009a1a4633b38b2bcd06c604b in graphql-core changed specified_directives from FrozenList to Tuple making it impossible to concatenate with list.
…rsion of setup tools
- djangorestframework version specifier "^no" was not valid - fix pytest error by upgrading to the latest version supporting python3.6 (TypeError: required field "lineno" missing from alias)
as tox changed the naming.
and remove forgotten python 3.6 requirement as it conflicts with the latest black.
and simplify tox environment configuration to be more maintenable.
@washeck Thank you for your PR! Now it's the only way to use this package with django 4. I think it's worth checking out the PR with python 3.11. Can you update tox and CI configs to run tests on python 3.11? |
Actually, I thought it would be easier to add python 3.11 after it is added to graphene-django itself, see graphql-python/graphene-django#1365 |
I didn't notice that. Agree with you One more question about It seems that django-filter 22.1 doesn't have major changes since 2.2.0. Mainly, they removed outdated warnings and switched to a two-part versioning scheme. The latter doesn't allow to install the latest version django-filter with graphene-django-extras in the same project. Does it make sense to upgrade django-filter version in pyproject.toml up to 22.1? |
I hit this when trying to install from master branch
|
This PR is mainly based on #181 but I tried to make it in such a way that GitHub actions passes so it can be merge with no additional work.