Commit Graph

73 Commits

Author SHA1 Message Date
Jonathan Kim
bd6d8d086d
Fix tests (#1119)
* Fix tests

* Add extra folders to make test command

* Update snapshots

* Add python 3.8 to test matrix

* Add black command to makefile and black dependency to setup.py

* Add lint command

* Run format

* Remove 3.8 from test matrix

* Add Python 3.8 to test matrix

* Update setup.py
2019-12-31 14:08:30 +00:00
Mel van Londen
8e7d76bbce
Graphene v3 following v3 graphql-core (#1048)
* v3.0 - remove Python 2.x from build (#983)

* Change travis to only compile for p3.6+

* Changed tox to only run Python 3.6+

* Changed library classifiers to reflect support in Python 3.6+

* Changed version to 3.0.0 development

In [15]: get_version((3, 0, 0, "alpha", 0))
Out[15]: '3.0.dev20190601212304'

* Reorganize Tests (#985)

We no longer need a dedicated folder for Python3.6+ tests
We no longer need to check six.PY3 in tests

* Upgrade black to 19.3b0 (#987)

* Remove six dependency (#986)

* No one is using func_name

* Remove six simple usages

* Remove six requirement

* Remove `six.with_metaclass` calls

* pytest-asyncio should be a regular dependency now with Py3 move

* Change dependency to graphql-core-next (#988)

* Changed dependencies to core-next

* Converted Scalars

* ResolveInfo name change

* Ignore .venv

* Make Schema compatible with GraphQL-core-next

* Ignore more venv names and mypy and pytest caches

* Remove print statements for debugging in schema test

* core-next now provides out_type and out_name

* Adapt date and time scalar types to core-next

* Ignore the non-standard result.invalid flag

* Results are named tuples in core-next (immutable)

* Enum values are returned as dict in core-next

* Fix mutation tests with promises

* Make all 345 tests pass with graphql-core-next

* Remove the compat module which was only needed for older Py version

* Remove object as base class (not needed in Py 3)

* We can assume that dicts are ordered in Py 3.6+

* Make use of the fact that dicts are iterable

* Use consistent style of importing from pytest

* Restore compatibility with graphql-relay-py v3

Add adpaters for the PageInfo and Connection args.

* Avoid various deprecation warnings

* Use graphql-core 3 instead of graphql-core-next

* Update dependencies, reformat changes with black

* Update graphene/relay/connection.py

Co-Authored-By: Jonathan Kim <jkimbo@gmail.com>

* Run black on setup.py

* Remove trailing whitespace
2019-08-17 17:07:53 -04:00
Jonathan Kim
6fc1a8f79d
Upgrade graphql-relay (#1032)
* Upgrade graphql-relay

* Remove pypy3 test
2019-07-15 21:02:56 +01:00
Jonathan Kim
0e8a3c5063
Update travis.yml (#1010)
* Use xenial dist

* Only install coveralls after success

* Latest version of pypi

* Refactor travis.yml into stages and add travis-tox

* Drop 2.6

* Bump to python 3.7
2019-06-19 18:25:21 +01:00
cclauss
f73055f72b Drop support for Python 3.4 because it is EOL (#963) 2019-05-07 12:16:22 -07:00
Alex Kuzmenko
325ab0d002 Add Python3.7 to CI 2018-09-04 17:17:28 +03:00
Syrus Akbary
3d41a500c9 Fixed lint & imports 2018-08-31 20:01:03 +02:00
Syrus Akbary
3e5319cf70 Abstract thenables (promise, coroutine) out of relay Connections and Mutations 2018-08-31 19:53:21 +02:00
Daniel Gallagher
400a98de92 Add tox env for running mypy and add that to .travis.yml 2018-06-11 09:12:27 -07:00
Daniel Gallagher
0f3d786402 Run pre-commit on all files 2018-06-08 22:08:58 -07:00
Daniel Gallagher
87cf3d4b80 Try installing mypy only when python version is 3.6 2018-06-08 22:00:01 -07:00
Daniel Gallagher
1d49df033c Explicitly run on py27 2018-06-08 21:56:08 -07:00
Daniel Gallagher
dbb72ba06b Update to match graphql-core 2018-06-08 21:54:24 -07:00
Daniel Gallagher
013c9e5077 Update .travis.yml file to use tox as script for running tests 2018-05-24 23:33:32 -07:00
Syrus Akbary
afcad8a8f0 Commented pypy until is stable on travis 2017-10-25 10:27:50 -07:00
Syrus Akbary
3ce6031192 Fixed pypy tests 2017-10-09 12:01:37 +02:00
Syrus Akbary
4585469425 Fixed travis 2017-08-07 20:55:05 -07:00
Syrus Akbary
7cfec55410 Added mypy static checking 2017-08-07 20:48:26 -07:00
Syrus Akbary
81018268aa Added support for wheel distributions. Fixed #505 2017-07-31 22:30:13 -07:00
Syrus Akbary
800fbdf820 Use dev version of graphql-core and promise 2017-07-23 21:47:23 -07:00
Syrus Akbary
f8561fa5c4 Fixed travis 2017-07-23 19:20:19 -07:00
Syrus Akbary
287a7a814d Added package test requirements into travis excluding setup 2017-07-23 19:15:51 -07:00
Syrus Akbary
8ff3380291 Removed testing in Python 3.4 and start testing in 3.6 2017-07-12 21:58:05 -07:00
Syrus Akbary
256c84a9a5 Added test extra requirements 2017-02-07 21:54:50 -08:00
Syrus Akbary
90e8e30a3a Added PyPI upload based on travis 2016-11-14 21:29:24 -08:00
Syrus Akbary
88ccaec8fa Added jsonstring tests 2016-10-03 21:42:07 -07:00
Syrus Akbary
4a2f10b116 Remove pip cache 2016-08-19 00:37:41 -07:00
Syrus Akbary
0f76e8f817 Added simple benchmarks 2016-08-17 21:26:05 -07:00
Syrus Akbary
1e4393f74d Improved travis tests 2016-08-06 19:45:11 -07:00
Syrus Akbary
387b997b1d Fixed tests and flake errors 2016-08-06 19:42:06 -07:00
Syrus Akbary
05144487ce Fixed travis 2016-08-06 19:28:09 -07:00
Syrus Akbary
b91e10ef8a Improved tests 2016-06-15 00:18:20 -07:00
Syrus Akbary
7caf96c746 Improved relay requirement, removed Django/SQLAlchemy dependency in main package 2016-06-14 23:59:37 -07:00
Syrus Akbary
9da1d1ec00 Update package requirements 2016-05-11 22:44:25 -07:00
Syrus Akbary
c738d3db28 Added support for graphql 0.5.0 2016-05-10 00:42:18 -07:00
Syrus Akbary
91cc0ced86 Added psycopg2 (cffi) to travis 2016-04-02 20:25:21 -07:00
Syrus Akbary
b3693e3702 Added support for sqlalchemy choice 2016-02-01 14:02:38 -08:00
Syrus Akbary
017f6ae2a1 Updated SQLAlchemy integration in graphene 2016-01-22 18:31:27 -08:00
Syrus Akbary
39a4fe20b3 Fixed builds and flexibilize the graphql-core integration 2016-01-02 14:49:08 +01:00
Syrus Akbary
8eaa2cfc49 Fixed compatibility with Django 1.6, 1.7, 1.8 and 1.9 2015-12-12 00:51:31 -08:00
Adam Charnock
166a143c18 No longer testing on python 3.3 as no supported django versions support it 2015-12-04 17:08:58 +00:00
Adam Charnock
d9f1df1125 No longer building python 3.3 + django 1.9 2015-12-04 16:58:04 +00:00
Adam Charnock
1877c45f05 Updating django version requirement to Django 1.8 2015-12-04 16:52:43 +00:00
Adam Charnock
993a3751c4 Work on travis excludes 2015-12-04 16:21:43 +00:00
Adam Charnock
4398f6d6bd Removing debug line from travis.yml. Omitting --download-cache seems to fix the issue 2015-12-04 16:19:30 +00:00
Adam Charnock
e8f491c1ff Debugging travis django install 2015-12-04 16:13:45 +00:00
Adam Charnock
1bace349da Updating travis config to build for multiple django versions 2015-12-04 16:00:17 +00:00
Adam Charnock
7d2ec21855 Merge branch 'master' into feature/django 2015-12-04 13:58:00 +00:00
Syrus Akbary
256a94bc81 Improved travis build 2015-12-03 19:10:11 -08:00
Adam Charnock
4f054b3640 Adding django-filter to .travis.yml
As pip doesn't seem inclined to pickup on tests_require
2015-12-03 20:53:10 +00:00