Tzu-ping Chung
c55eee4188
Explicitly set newline when rewriting for release ( #7600 )
2020-01-19 00:15:20 +05:30
Paul Moore
21e5c0eb11
Fix lint error
2020-01-15 09:40:16 +00:00
Paul Moore
53eba71ef4
Add an assertion to check the version got modified
2020-01-15 09:10:27 +00:00
Paul Moore
9dff8c1440
Fix invalid assumption that version file contains just a version number
2020-01-14 15:09:14 +00:00
Tzu-ping Chung
c98c0ad79c
Default to /etc/xdg if XDG_CONFIG_DIRS if empty
2019-12-23 14:33:17 +08:00
Tzu-ping Chung
f6afa1a154
Make appdirs detect IronPython Windows
2019-12-20 15:42:44 +08:00
Tzu-ping Chung
2ccc5c055d
Match site_config_dirs for empty XDG_CONFIG_DIRS
2019-12-20 14:36:30 +08:00
Tzu-ping Chung
204887da03
Apply changes from bundled appdirs to vendored
...
* Convert Windows app data directory values to bytes on Python 2, so the
output type is consistent across platforms (pypa/pip#4000 )
* Also look in ~/.config for user config on macOS (pypa/pip#4100 )
* Remove pywin32 dependency, only use ctypes and winreg for directory
lookup on Windows (pypa/pip#2467 )
* Always use os.path.join() instead of os.sep.join() so cross-platform
tests work as expected (pypa/pip#3275 )
2019-12-19 17:15:03 +08:00
Pradyun Gedam
53aaa3e40b
Drop invoke task for vendoring dependencies
...
This is no longer needed, since `vendoring` does what we need here.
2019-12-15 04:02:17 +05:30
Pradyun Gedam
b7706798ae
Revert "Make it clearer where licenses are coming from"
...
This reverts commit d8d948de64
.
2019-11-11 11:25:01 +05:30
Pradyun Gedam
85083f008b
🎨 nicer grammer in a comment
2019-11-10 17:26:35 +05:30
Pradyun Gedam
e3400fda03
Use ALL_CAPS for global variable
2019-11-10 17:26:35 +05:30
Pradyun Gedam
ef53667aeb
Rework mypy stub generation
2019-11-10 17:26:29 +05:30
Pradyun Gedam
25d98529dd
Move logic for generating stubs into dedicated module
2019-11-10 17:11:06 +05:30
Pradyun Gedam
d8d948de64
Make it clearer where licenses are coming from
2019-11-10 15:39:49 +05:30
Pradyun Gedam
419ddf4d7c
Get rid of TASK_NAME
2019-11-10 15:37:14 +05:30
Christopher Hunt
5b77910715
Merge pull request #7289 from chrahunt/bugfix/send-client-cert
...
Send client certificate when using --trusted-host
2019-11-04 08:30:28 +08:00
Chris Hunt
204a004377
Add test helpers for HTTP(S) server and certs
2019-11-03 17:05:52 -05:00
Pradyun Gedam
1a28d31002
Type Annotations!
2019-11-03 14:48:21 +05:30
Pradyun Gedam
db66b6eaf5
Add a nox command to build release artifacts
2019-11-03 14:48:18 +05:30
Pradyun Gedam
9e3e82e081
Rewrite release preparation automation
2019-11-03 14:48:11 +05:30
Chris Hunt
a7edcc730e
Normalize parallelization parameter.
2019-10-29 02:04:55 -04:00
Xavier Fernandez
79b48aab6e
Fix contextlib2 vendoring
2019-10-09 22:45:19 +02:00
Pradyun Gedam
3e86297c70
Bump to latest sphinx
2019-10-04 16:09:35 +05:30
Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Pradyun Gedam
0f093c1f76
Delete mypy.txt
2019-09-28 19:55:38 +05:30
Pradyun Gedam
033a01333c
Drop tox -e packaging from CIs
2019-09-24 18:35:53 +05:30
Pradyun Gedam
ea68afab93
Enable isort in pre-commit
2019-09-24 18:03:22 +05:30
Pradyun Gedam
7b005c2d7d
Switch to using pre-commit in `tox lint`
2019-09-24 18:03:18 +05:30
Pradyun Gedam
ea80263958
Drop lint-py2 and mypy from Travis CI
2019-09-24 17:03:38 +05:30
Chris Hunt
459c1c7e40
Validate NEWS files with rstcheck.
2019-09-16 20:52:46 -04:00
Pradyun Gedam
ae4a22958e
Move invoke.generate commands to nox
2019-09-05 12:40:33 +05:30
Pradyun Gedam
506a08bc38
Rename `tox lint-py3` to `tox lint`
...
Also update references to it, in Travis CI config and in documentation.
2019-08-27 13:55:20 +05:30
Pradyun Gedam
ef91b330cb
Merge pull request #6816 from pradyunsg/move-tasks-to-tools.automation
...
Move invoke tasks to tools/automation
2019-07-30 18:57:48 +05:30
Pradyun Gedam
c9b6d252a8
Move invoke commands to tools.automation
2019-07-30 17:41:22 +05:30
Pradyun Gedam
c6da85a6eb
Move requirement files to tools/requirements/
2019-07-30 17:01:05 +05:30
Pradyun Gedam
ebdde3d17d
Bump mypy version
2019-07-29 23:19:09 +05:30
Xavier Fernandez
c0203692fa
travis: keep lint jobs for docs-only changes
2019-07-18 14:37:31 +02:00
SeongSoo Cho
17be5bfe81
Upgrade Sphinx version for Read the Docs ( #6477 )
2019-05-08 11:26:34 -04:00
Chris Jerdonek
5bc80d6583
Pin pytest-xdist to < 1.28.0 in tests-requirements.txt.
2019-04-03 18:26:45 -07:00
Chris Jerdonek
4bf25b0aa0
Pin pytest-rerunfailures to < 7.0 in tests-requirements.txt.
2019-03-29 02:28:56 -07:00
Pradyun Gedam
04f1e70427
Merge pull request #6282 from mkurnikov/update-flake8-to-3.7.6
...
Update flake8 to 3.7.6
2019-02-22 21:56:28 +05:30
Maxim Kurnikov
75c4f4a298
update flake8 to 3.7.6
2019-02-22 14:05:53 +03:00
Maxim Kurnikov
bd06107923
update mypy to 0.670
2019-02-22 00:39:40 +03:00
Nick Coghlan
682cff7230
Fix #6163 : Default to setuptools.build_meta:__legacy__
...
The main setuptools PEP 517 backend is intended for
explicit usage in `pyproject.toml`, when the project
authors can ensure that their `setup.py` runs without
that directory being implicitly on `sys.path`.
For implicit usage, setuptools now offers a separate
legacy backend that more closely mimics direct
execution of the `setup.py` script.
2019-02-06 20:57:57 +10:00
Pradyun Gedam
7e22a2234e
Update the mypy version
2018-12-18 11:15:56 +05:30
Pradyun Gedam
20356a7142
Use tox -e pypy on Travis CI for PyPy 2.7 and 3.5
2018-12-13 19:54:53 +05:30
Benoit Pierre
744b8cf96e
improve build environment
...
- check build requirements for conflicts
- better isolation (ignore system site packages)
- support 2 prefixes: a "normal" one, and an "overlay" one
(with higher priority over "normal")
2018-10-29 23:17:51 +01:00
Benoit Pierre
a4209aa0fb
tests: add support for using venv for the virtual environment
...
Add a new testsuite option `--use-venv` to enable the use of `venv`
for creating a test virtual environment. The option is opt-in because
creating a `venv` environment does not work right when running under a
`virtualenv`; which is why `tox-venv` must be used in combination with
tox.
2018-10-21 21:43:32 +02:00
Benoit Pierre
add3801163
tests: rework tests virtual environment
...
- cleanup virtualenv creation code
- ensure all testing virtual environments use a recent version
of setuptools / wheel, making it easier to switch to custom
versions of those, as well as reducing network accesses
- reduce size of testing virtual environment, slightly speeding
up the testsuite
2018-10-18 23:28:37 +02:00