Commit Graph
2296 Commits
Author SHA1 Message Date
Semyon Proshev 04c8e3f96d Sync with typeshed @ a5429d25dc326b69116f958dcb0a43c6f82dadce 2018-04-16 19:39:04 +03:00
Elizaveta Shashkova 27cecf4c84 "Matplotlib support failed" when importing matplotlib subpackages (PY-29260)
Sometimes activation function can be called, when matplotlib module isn't fully imported. Do not remove activation function until the module is imported properly.
2018-04-16 16:54:03 +03:00
Ilya.Kazakevich 1da58424f2 PY-29497: Do not provide sys.argv[1:] to behave since they are already provided
_jb_django_behave.py:
"scenario_n_options" already contains all options and arguments
behave needs (see how this method is called).
No need to duplicate them using "sys.argv[1:]"

+tests added
2018-04-11 02:29:05 +03:00
Mikhail Golubev 1b469a75fb PY-29395 Remove accidentally left command clause from packaging_tool.py 2018-04-09 18:30:21 +03:00
Mikhail Golubev ec95d05c76 PY-29395 Remove unused functions from packaging_tool.py
Some of which still use no longer public API of pip
2018-04-06 12:58:58 +03:00
Mikhail Golubev a7ec58330c PY-29395 Use pip._internal.main instead of pip.main in pip 10.0
It's obviously only a workaround, we should find a better way
not to use internal modules of the package altogether.
2018-04-06 12:58:58 +03:00
Ilya.Kazakevich 1bd950ed71 PY-29371: Sync with teamcity(#176): purge tests on "scenario" call
When some scenarios are skipped due to tags, behave reports their steps but never reports "match" for them.

So, on next "match" stale (ignored actually) step is left on stack and used instead of real one
2018-04-05 19:51:48 +03:00
Elizaveta Shashkova aa8a46c001 Fix deprecation warning with inspect.getargspec() (PY-25496) 2018-04-05 17:17:46 +03:00
Ilya.Kazakevich 9a82e20592 PY-27636: Add cwd to pythonpath's head instead of tail
current workdir must be inserted at position 0, not at
the last position because local files (like "test.py") must have priority over site-lib
2018-04-04 23:57:06 +03:00
Semyon Proshev 793d868ef2 Sync with typeshed @ 0af84cd9a0526aea30107ccddc89aa3c401279ca 2018-04-04 19:20:08 +03:00
Elizaveta Shashkova 80f8cf2cef Attach debugger to Console shows Cython extensions warning (PY-28698)
Update sys.path value to make extension's folder available during import
2018-04-03 12:58:25 +03:00
fitermay 932dedcdf6 PY-29092: Merge env vars instead of overriding in console debugger 2018-04-03 12:58:24 +03:00
Elizaveta Shashkova e5109982e1 Fix debugging while new process creation with -c script arg (PY-28241)
Distinguish interpreter option and script arg
2018-04-03 12:41:24 +03:00
Ilya.Kazakevich 519cd800c8 PY-28893: Sync with teamcity-messages
+test added

Convert objects and message in diff to string
2018-04-03 02:27:23 +03:00
Elizaveta Shashkova e34124b91b Log matplotlib activation errors (PY-26369) 2018-04-02 20:45:41 +03:00
Elizaveta Shashkova d9f32f650b Fix ValueError for IPython 6.3 (PY-29313) 2018-04-02 18:46:22 +03:00
Elizaveta Shashkova 86bd00fe56 Get rid of context manager, because it doesn't work fine with IronPython (PY-20959)
Also suspend some tests
2018-04-02 13:56:49 +03:00
Ilya.Kazakevich 6c598ffe1d PY-28893: sync with messages 2018-03-30 17:32:54 +03:00
Elizaveta Shashkova 413b5856c2 Fix debugging for IronPython (PY-20959)
Remove duplication and fix generator exception
2018-03-30 14:17:42 +03:00
Ilya.Kazakevich ca744da635 PY-29243: Remove first item from sys.argv for tox
first item is _jb_runner name which is not how tox does.
It breaks {posargs}
2018-03-30 00:41:18 +03:00
Elizaveta Shashkova 7637bcd46b Fix debugging for IronPython (PY-20959) 2018-03-29 18:22:47 +03:00
Ekaterina Tuzova fde209c313 fix conda packages list for conda v 4.2.X 2018-03-29 14:35:28 +03:00
Ekaterina Tuzova 2c02c5a2b0 PY-29165 Conda index is unavailable in version 4.4.10
Unfortunately, conda move API each version to the new place
2018-03-28 20:33:21 +03:00
Semyon Proshev eafd474910 Add forgotten typeshed files @ ac70fdc614feb07fb96e0524a06263c357f51647 2018-03-28 18:54:08 +03:00
Elizaveta Shashkova 8f13aefa23 Console autocompletion doubled variants for True, False, None (PY-26482)
Completion elements are duplicated because these built-in constants are added to builtin dict and also added again like keywords.
2018-03-28 17:56:28 +03:00
Semyon Proshev 5c30a6879f Sync with typeshed @ ac70fdc614feb07fb96e0524a06263c357f51647 2018-03-28 15:38:31 +03:00
Elizaveta Shashkova 5e0f63ccd3 Show interactive plots when running "with Python console" (PY-28448)
Put matplotlib import hook back before a file execution, because it's useful for data scientists. If it affects program execution, it can be easily disabled by other users.
2018-03-27 19:32:00 +03:00
Elizaveta Shashkova 9eb91c3ab5 "Show value tooltip on code selection" option raises exceptions (PY-25828)
Do not print evaluation's exception traceback to output console
2018-03-21 16:57:26 +03:00
Elizaveta Shashkova decc9825a7 Fix Suspend all threads policy and stepping into properties (PY-28911) 2018-03-21 15:19:18 +03:00
fitermay b8de320eb6 PY-28911: Prevent pydevd_tracing.SetTrace from being reentered
As it causes a deadlock on a non-recursive lock
2018-03-20 19:04:28 +03:00
Elizaveta Shashkova b7c446213b Support Python 3.7 in build scripts and generate Cython extensions for it (PY-27651) 2018-03-19 14:41:20 +03:00
Elizaveta Shashkova b680029e57 A proper fix for async variables loading in Console (PY-27356) 2018-03-13 15:25:41 +03:00
Elizaveta Shashkova 5dc1df3c0d Fixes after review (PY-26101)
Fix stepping after error jump, fix tests, move code modification to an appropriate function and make it more general
2018-03-13 12:54:48 +03:00
fitermay e9af010573 Make set next statement work properly for frame eval debugger (PY-26101) 2018-03-13 12:54:48 +03:00
Ilya.Kazakevich 28320f5d2d PY-21979: IDEA-CR-30103 update env variables in Django console, return False in python code explicitly 2018-03-13 00:47:26 +03:00
Ekaterina Tuzova 717aeb5240 matplotlib removed verbose attribute in 2.2.0 2018-03-06 17:28:36 +03:00
Ilya.Kazakevich cc3d5ba0df PY-28757: tox3: provide mandatory argument
args must be sys.argv
2018-03-02 00:58:49 +03:00
Ilya.Kazakevich 973dfe5fb8 PY-28757: tox3: provide mandatory argument 2018-03-01 23:24:52 +03:00
Ilya.Kazakevich 0e364a7554 PY-21979: Use behave formatter and "manage.py django" for behave-django
* Use behave formatter from "teamcity" to integrate PyCharm with behave
* If behave is 1.2.6 and behave-django installed and Django enabled -- use "manage.py django" instead of plain behave
2018-03-01 21:37:30 +03:00
Ilya.Kazakevich 9ba9a1fd32 sync messages with TC 2018-03-01 19:47:29 +03:00
fitermay 61c21ab776 Handle console tracebacks for frameworks that invoke sys.except_hook (PY-28599, pr#738)
Some frameworks invoke sys.excepthook themselves. This behavior is
described in IPython and IPython handles this. In those cases
showtraceback is invoked with the exception tuple as an argument
and not contained inside sys.exc_info()
2018-02-21 18:50:20 +03:00
Rohan Joyce c82257f116 Add real directory of target to syspath (PY-27886, pr#735) 2018-02-21 15:15:23 +03:00
Semyon Proshev dce45edc74 Enable subprocess stubs (PY-19898, PY-24760) 2018-02-19 20:52:40 +03:00
Elizaveta Shashkova 1728da2e0d Tests: debugger unittests: update numpy data to the latest version 2018-02-15 14:23:04 +03:00
Elizaveta Shashkova 1b7d7761ed Tests: debugger unittests: increase time for Django server to start and make it compatible with different Django versions 2018-02-15 14:23:03 +03:00
fitermay 027d0a169b exclude gradle build folders from project and add to .gitignore 2018-02-09 14:49:10 +03:00
Semyon Proshev 5829294cee Sync with typeshed @ 10b14c654cca831b5989c744b6f60a1c5903ac9e
PY-24444, PY-27908, PY-27911
2018-02-02 15:40:26 +03:00
Ekaterina Tuzova 9096ff1c84 Deprecated function removed 2018-02-02 12:56:48 +03:00
Ilya.Kazakevich 5be2a98ace Deprecated function removed 2018-02-01 23:43:37 +03:00
Semyon Proshev 3c531561e9 Regenerate lists of unsupported interpreter modules after deprecating Pythons 3.0-3.3 (PY-27705) 2018-02-01 19:53:40 +03:00