Commit Graph

65 Commits

Author SHA1 Message Date
Ülgen Sarıkavak
8540a9332c
Add support for Python 3.11 (#1365)
* Add support for Python 3.11

* Fix Python 3.11 compatibility matrix

* Add temporary fix for default enum description

---------

Co-authored-by: Firas Kafri <firaskafri@Firass-MacBook-Pro-2.local>
2023-05-04 15:19:24 +03:00
Firas K
af8888f58e
Upgrade github actions versions, default python and dev dependencies (#1407)
* Use Python 3.10 for deployments on PyPi

* Update gh-action-pypi-publish version

* Update python version

* Update checkout and setup-python versions

* Upgrade dev dependencies

* fromat examples and few files to follow black new version

* Upgrade pytest version

---------

Co-authored-by: Firas Kafri <firaskafri@Firass-MacBook-Pro-2.local>
2023-05-03 13:25:16 +03:00
Steven DeMartini
c1a22bfd91 Add pre-commit to dev-setup
pre-commit is currently configured nicely but hasn't been part of the
Makefile setup and isn't mentioned in the contributing notes. This
change makes it so that pre-commit is installed as a part of the dev
setup, whereas before it had to be manually installed.
2023-05-03 12:08:22 +03:00
Firas K
541caa117e
Fixes related to pr#1412 (#1352)
* fix: setup.py graphene dependency

* fix: graphene_django/tests/test_get_queryset.py format

Co-authored-by: Firas Kafri <firaskafri@Firass-MacBook-Pro-2.local>
2022-09-24 15:50:40 +03:00
Thomas Leonard
5d81ba04f9
fix: unit test for graphene pr#1412 (#1315)
* Issue #1111: foreign key should also call get_queryset method

* fix: test for graphene PR https://github.com/graphql-python/graphene/pull/1412

Co-authored-by: Thomas Leonard <thomas@loftorbital.com>
2022-09-23 11:45:02 +03:00
Thomas Leonard
42a40b4df0
chore: update dev dependencies (#1345)
Co-authored-by: Thomas Leonard <thomas@loftorbital.com>
2022-09-22 10:26:21 +01:00
Nikolai Røed Kristiansen
8ae576394e
💥 Stop supporting EOL djangos and pythons (#1337)
* 💥 Stop supporting EOL djangos and pythons

* 👷 Run only supported version in test workflow
2022-09-19 14:31:04 +02:00
Keith
775644b536
Update requirements to the official graphene 3.0 release (#1290) 2022-01-22 20:04:30 +00:00
Ülgen Sarıkavak
3058118e8f
Tox & actions updates (#1143)
* Update Django's main branch name
* Add Python 3.9 to tox
* Update base gh action versions
* Add Django 3.2 to tests
* Remove redundant Django 1.11 references
* Update setup.py for new Django and Python versions
2021-03-24 09:32:37 +03:00
Jason Kraus
c049ab7470
WIP: Merge master into v3 (#1086)
* merge master into v3

* fix order_by snake casing by checking if value is None, switch executor to execution_context_class since schema.execute no longer supports executor

* fix linting by removing duplicate defintion and test of convert_form_field_to_string_list
2020-12-30 15:37:57 -08:00
Jonathan Kim
da9f41c295 Rename get_resolver -> wrap_resolve and fix tests 2020-08-06 20:45:30 +01:00
Jonathan Kim
965ebdee13 Merge branch 'master' into v3 2020-06-27 11:14:09 +01:00
Jean-Louis Fuchs
08d0cce55a
Move to_const function from Graphene into Graphene-Django (#992) (#996)
Co-authored-by: Jonathan Kim <jkimbo@gmail.com>
2020-06-27 10:43:25 +01:00
Jonathan Kim
1bec8e44b7
Move to_const function from Graphene into Graphene-Django (#992) 2020-06-25 15:11:18 +01:00
Jonathan Kim
56f1db80cf
Update setup.py classifiers (#987)
Fixes https://github.com/graphql-python/graphene-django/issues/985
2020-06-10 17:41:11 +01:00
Jean-Louis Fuchs
10d22de98e
graphql 3.0 and graphene 3.0 final rebase (#951) 2020-05-09 12:13:47 +01:00
Jean-Louis Fuchs
f33223daa7
Make tests order independent (v3) (#940)
* Completes 'Make tests order independent'
2020-04-20 14:01:43 +01:00
Ülgen Sarıkavak
dd0d6ef28f
Python 3 (#904)
* Remove Python 2 support

* Upgrade Python & Django versions

* Remove unsupported Django versions
* Remove unsupported Python versions
* Add Python 3.8

* Drop support for django-filter < 2

* Update LoginRequiredMixin doc link

* Remove redundant import

* Resolve RemovedInDjango40Warning warnings

* gql/graphene-django/graphene_django/tests/test_converter.py:175:
RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is
deprecated in favor of django.utils.translation.gettext_lazy().

* graphene-django/graphene_django/utils/utils.py:28:
RemovedInDjango40Warning: force_text() is deprecated in favor of
force_str().

* No need to use unicode strings with Python3

* Remove singledispatch dependency

singledispatch is inluded with Python >= 3.4, no need for external
package.
2020-04-06 13:21:07 +01:00
Ülgen Sarıkavak
cf9f59071e
Update dev dependencies (#903) 2020-03-14 10:40:41 +00:00
Mel van Londen
0962db5aa6 Pin higher version of graphene for proper graphql-core version r… (#768) 2019-09-22 21:09:57 +01:00
Jonathan Kim
692540cc78
Update flake8 (#688)
* Include setup.py in black formatting

* Add new flake8 plugins and update errors to look for

* Fix duplicate test name

* Don't use mutable data structure

* Install all dev dependencies for flake8 and black tox envs
2019-06-24 18:55:44 +01:00
Paul Hallett
e6ad5887ca
Introduce Black formatting, additional tests 2019-05-02 17:46:35 +01:00
Syrus Akbary
a59f41b080
Remove iso8601 dependency, updated graphql-core 2018-09-05 13:18:09 +02:00
Jay Hale
9152075ed8 Remove unsupported python & Django test cases 2018-09-04 13:15:04 -04:00
Jay Hale
dc0c2900d1 Making GrapheneFilterSetMixin compatible with django_filter 2 2018-09-04 13:15:04 -04:00
Syrus Akbary
f0705e2c25 Pin a explicit version of django-filter (<2) 2018-07-19 16:43:09 -07:00
Syrus Akbary
192ac963d9 Trying to fix tests 2018-07-19 16:39:24 -07:00
Syrus Akbary
26cfa88f3a
Fixed non-deterministic setup.py. Related issue #427
This commit is trying to fix https://github.com/graphql-python/graphene-django/issues/427#issuecomment-395539715
2018-06-08 11:51:41 -07:00
Syrus Akbary
b1948d70bd Make graphene>=2.1 as a requirement 2018-06-05 14:17:21 -07:00
Syrus Akbary
a9e5beb9eb Merge branch 'master' into form_mutations
# Conflicts:
#	graphene_django/forms/converter.py
#	graphene_django/forms/tests/test_converter.py
2018-06-05 13:23:39 -07:00
Syrus Akbary
4f47ffdc8d Updated graphql-core requirements 2018-06-05 12:19:37 -07:00
Syrus Akbary
33c6fdf5ab Added graphql-core min version to requirements 2018-06-05 01:24:53 -07:00
urbandove
c73b6e32a9
Merge branch 'master' into master 2017-12-18 12:24:27 -05:00
=
c952ef1a88 Date Scalar only added in graphene 2.0.1 2017-12-18 12:21:49 -05:00
=
f8a5860f34 django version depends on python version 2017-12-09 14:24:48 -08:00
Syrus Akbary
d7c160c3b0
Pin current Graphene-Django version to Graphene~2
To avoid compatibility issues it's better to pin dependencies.
2017-11-20 21:02:00 -08:00
Syrus Akbary
de3947351b Updated graphene-django to 2.0 🎉 2017-10-25 10:49:37 -07:00
Syrus Akbary
872ce3922e Added support for wheel package 2017-07-31 22:46:27 -07:00
Syrus Akbary
36480b7366 Updated version 2017-07-26 23:36:41 -07:00
Syrus Akbary
f5ecee3b1b Updated version 2017-07-25 00:03:31 -07:00
Syrus Akbary
48bcccdac2 Improved integration with Graphene 2.0 2017-07-24 22:27:50 -07:00
Patrick Arminio
dc86e4e9a1 Add optional requires for rest framework 2017-06-26 09:19:49 +01:00
Syrus Akbary
7c52aa3c7f Merge pull request #180 from arianon/master
Make DjangoConnectionField compatible with Promise-based iterables.
2017-06-24 15:44:51 -07:00
Patrick Arminio
99c153ac5d Up required django version to 1.8 2017-06-23 11:57:49 +01:00
arianon@openmailbox.org
4350582c52 Support Connections created from Promises 2017-05-19 19:12:28 -04:00
Syrus Akbary
1e34dfb3e5 Updated version to 1.3 - Require graphene 1.4 2017-04-20 01:15:05 -07:00
Syrus Akbary
28db2c0506 Improved docs for running tests locally 2017-03-02 18:32:25 -08:00
Syrus Akbary
4246ceaa85 Updated version to 1.2.1 2016-12-16 00:27:33 -08:00
Paul Bailey
0b76e1abac updated dependency 2016-11-28 14:25:41 -05:00
Syrus Akbary
c60c1430a7 Updated version to 1.2.0 2016-11-23 02:43:58 -08:00