Commit Graph

72 Commits

Author SHA1 Message Date
Peter Law
5e6138d16f Update to flake8 3.8.x
In particular this improves support for detecting usage of various
type annotation usages and adds support for correctly parsing
type: ignore comments which contain a reason tag.
2020-07-21 21:34:58 +01:00
Dave Halter
0790f376ca Some Python 2 removals 2020-07-02 03:34:44 +02:00
Dave Halter
d67dfba7f5 Remove Python 2.7/3.5 support 2020-07-02 00:00:46 +02:00
Dave Halter
61ad05d511 Mention 3.9 support better 2020-06-16 08:42:18 +02:00
Batuhan Taskaya
b9131c6070 Upgrade setup.py's version parsing for 3.8+ 2020-05-28 15:26:48 +03:00
Dave Halter
e6d8a955d2 Pin Django in a different way so tests can work everywhere 2020-04-25 23:25:51 +02:00
Dave Halter
9b58bf6199 Pin the Django test dependency 2020-04-25 22:55:29 +02:00
Dave Halter
857e0fc00e Include Django stubs license in Jedi package 2020-04-25 22:55:29 +02:00
ANtlord
09950233e7 Django is designated in test dependencies. 2020-04-18 18:36:04 +03:00
Dave Halter
a892887b04 Remove Python 3.4 support 2020-02-27 02:04:03 +01:00
Dave Halter
57e18da7ae Merge branch 'qa' of https://github.com/blueyed/jedi
Made some slight adaptions
2020-01-01 03:14:49 +01:00
Dave Halter
f91f655d55 Cleanup fuzzy tests a bit, see #1409 2019-12-15 19:50:43 +01:00
Dave Halter
1f73c65dcd Pin colorama to a version that works for Python 3.4 2019-12-07 01:09:36 +01:00
Dave Halter
cb95dbc707 Cannot use pytest 5 yet 2019-07-01 22:30:59 -07:00
Dave Halter
cb0a0d228a Add 3.8 to supported versions 2019-06-22 14:45:22 +02:00
Dave Halter
ed092e6da7 Better error message, when typeshed is missing, see #1341 2019-06-12 00:08:54 +02:00
Dave Halter
8cad21819c Add only stubs/README/LICENSE, when packaging typshed 2019-05-19 17:14:49 +02:00
Dave Halter
016e66846b After upgrading tox, packaging works again 2019-05-19 17:11:29 +02:00
Dave Halter
c654301f22 Add thirdpart/typeshed to MANIFEST.in 2019-05-19 13:59:25 +02:00
Dave Halter
7f5225cb70 Fix a setup.py assertion 2019-05-18 22:34:19 +02:00
Dave Halter
ba59ab40ab Make sure in setup.py that the typeshed submodule is loaded 2019-05-18 00:14:53 +02:00
Dave Halter
9617d4527d setup.py was not executable in Python3.7 2018-12-15 22:18:42 +01:00
oleg.hoefling
70800a6dc2 bumped pytest dependency to 3.1.0 2018-12-07 18:22:29 +01:00
Daniel Hahler
28ecbd6b6a Add qa env
Ignores tests with flake8 completely for now.
2018-11-23 22:12:08 +01:00
Daniel Hahler
afb2755c27 Add extras_require=testing 2018-09-22 10:03:12 +02:00
Hugo
7c9f24a18e Drop support for EOL Python 3.3 (#1019) 2018-08-04 00:40:00 +02:00
Carl George
ff4a77391a Parse correct AST attribute for version
Earlier development versions of Python 3.7 added the docstring field to
AST nodes.  This was later reverted in Python 3.7.0b5.

https://bugs.python.org/issue29463
https://github.com/python/cpython/pull/7121
2018-06-16 14:43:17 +02:00
Dave Halter
cc460a7126 Merge branch 'master' into rm-2.6 2018-01-07 14:32:47 +01:00
Dave Halter
4e52acbf26 Using setup.py build should not include part of tests
It looks like that we have to not only exclude the test package but also 'test.*'. Thanks to @david-geiger for noticing this. Fixes #1024.
2018-01-07 14:13:40 +01:00
Hugo
abe0f27e6a Add python_requires to help pip 2018-01-07 10:40:06 +02:00
Hugo
7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Thomas A Caswell
22c97b0917 FIX: install on python 3.7 (#971)
* FIX: install on python 3.7

https://github.com/python/cpython/pull/46 /
https://bugs.python.org/issue29463 move the module comment into the
AST node and hence out of the tree which means the 2nd entry in the
tree is now the import rather than the `__version__` string.

Adds nightly on travis.

* BLD: update python tags in setup.py

* CI: switch to 3.7-dev

* CI: allow failure on 3.7 dev
2017-11-06 19:29:06 +01:00
Robin Roth
f13b4e800a Install docopt for dev setup 2017-10-28 14:36:16 +02:00
Dave Halter
b70cef735a Find packages differently in setup.py 2017-09-28 21:03:56 +02:00
Dave Halter
d6f695b3bb Use the ast module instead of a jedi import to get the jedi version.
With dependencies it's not possible to do this with importing jedi anymore. It's now just a bit more complicated. Gosh I hate setup.py.
2017-05-20 17:53:11 -04:00
Dave Halter
c7984c0710 Add a requirements.txt.
Also use it within setup.py. It doesn't seem possible to define dependencies for tox with install_requires.
2017-05-20 17:22:34 -04:00
Dave Halter
fdff9396dd Move an import. 2017-05-20 16:08:43 -04:00
Dave Halter
aec86c6c80 distutils doesn't support install_requires. 2017-05-20 16:07:38 -04:00
Dave Halter
ccbaa12143 Add parso as a depencency in setup.py. 2017-05-19 10:29:32 -04:00
Dave Halter
32432b1cd1 Remove the parser packages from setup.py. 2017-05-19 10:27:26 -04:00
Felipe Lacerda
aa2dfa9446 Fix path for grammar files in MANIFEST 2017-04-05 19:59:00 +02:00
Dave Halter
595ffc24d4 Move some more stuff to a python directory in the parser. 2017-03-13 00:54:39 +01:00
Dave Halter
c4ec5caf40 3.2 is not supported anymore. Mention this in docs as well. 2016-07-03 11:38:38 +02:00
Mathias Fussenegger
09310dae7d add python 3.5 classifier to setup.py
Since 5a555076bb 3.5 is listed as
supported python version in the docs
2016-02-29 22:19:02 +01:00
Dave Halter
8775d90173 Merge the master branch into the dev branch. 2015-02-09 14:41:41 +01:00
Marc Abramowitz
672982a2f5 setup.py: Add python3.4 classifier 2015-01-02 11:07:01 -08:00
Dave Halter
6821ccba91 Add the pgen2 packages and grammar files to be able to deploy Jedi. 2014-12-16 15:23:49 +01:00
Syohei YOSHIDA
605ab9c6f5 Fix package_data '*.pym' paths 2014-06-19 19:10:58 +09:00
Dave Halter
269e84da85 changed version stuff in setup.py, fixes #369 2014-01-16 00:36:14 +01:00
Dave Halter
8854206f2a created a module for compiled 2014-01-10 16:37:28 +01:00