Pradyun Gedam
69783941c7
Move linting requirements to a requirements file
2018-06-16 00:08:33 +05:30
Pradyun Gedam
c57705d1e4
Move requirements files to tools/
...
* Rename dev-requirements to tests-requirements
2018-06-15 23:36:28 +05:30
Pradyun Gedam
8cb234c7c2
Simplify the call to mypy
...
This makes no functional difference, it's just cleaner.
2018-06-14 23:44:02 +05:30
Pradyun Gedam
1b07ea3725
Rework Travis CI configuration
...
- Use "group" terminology
- Remove tox factors
- Infer TOXENV from Travis environment (removes need to specify it)
2018-05-30 00:44:21 +05:30
Hugo
61b011293b
Run functional tests for install in separate jobs ( #5436 )
...
Speeds up the end-to-end running time for Travis tests.
* Adds a new jobs to test_install* separately (using -k "[not] test_install")
* More generic cache ignore
* Move slower Python 3.5 tests before 3.4
* Factor tox envs
2018-05-26 16:46:12 +05:30
Donald Stufft
90b3db476f
Drop support for Python 3.3
2018-05-17 13:34:48 -04:00
Pradyun Gedam
afbbacf136
Add a coverage job for Python 3 to tox
2017-11-14 12:03:01 +05:30
Benoit Pierre
fb56eb9b0a
tox: fix handling of flaky tests during CI builds
2017-11-04 21:55:11 +01:00
Pradyun Gedam
b96bde47c6
docs,tox: Start using a requirements file
2017-10-08 20:44:43 +05:30
Pradyun Gedam
df083c7916
Polish docs and change theme ( #4758 )
2017-10-07 17:45:27 +01:00
Benoit Pierre
961737ab98
Fix integration tests on Windows ( #4769 )
2017-10-06 20:51:42 +01:00
Benoit Pierre
6af0a836f3
tox: enable usedevelop
for faster testsuite startup ( #4776 )
2017-10-06 20:50:00 +01:00
Pradyun S. Gedam
d9a44310f7
Move mypy stubs as well
2017-09-02 16:18:28 +05:30
Pradyun S. Gedam
11451c54ec
Merge branch 'master' into mypy/infrastructure
2017-09-02 16:06:48 +05:30
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00
Pradyun S. Gedam
1b5a23fff9
🔧
2017-07-18 00:37:26 +05:30
Pradyun S. Gedam
55fd83fda5
Add a separate tox job for mypy
2017-07-17 23:02:30 +05:30
Pradyun S. Gedam
ed9208efaf
Improve mypy configuration
2017-07-17 22:34:33 +05:30
Pradyun S. Gedam
0f9d259fc7
Add basic mypy support
2017-07-17 22:19:31 +05:30
Pradyun S. Gedam
bf4c613071
Add man pages for pip ( #4491 )
...
* Add man pages to pip
* 📰
2017-07-05 19:56:13 -04:00
Pradyun S. Gedam
34100d406e
Merge linting tests onto 2 jobs ( #4566 )
...
* Merge linting tests onto 2
* Use a common section to remove repetition
2017-07-05 19:51:42 -04:00
Pradyun S. Gedam
8087a27942
Move flake8 configuration into setup.cfg ( #4594 )
...
For consistency; All of this will move into pyproject.toml one day soon, hopefully.
2017-07-05 13:37:24 -04:00
Pradyun S. Gedam
9c76a84f6b
Ignore the .idea directory when running flake8 ( #4570 )
2017-06-26 08:56:36 -04:00
Pradyun S. Gedam
69a30e8fbe
Don't lock down minor version when linting
2017-06-13 17:59:33 +05:30
Pradyun S. Gedam
d4f91fdb5a
isort: Ignore using setup.cfg
2017-06-13 17:59:33 +05:30
Pradyun S. Gedam
0c8592ccfa
Skip vendored files
2017-06-13 17:59:33 +05:30
Pradyun S. Gedam
3fd4beb46d
Add an isort job
2017-06-13 17:59:33 +05:30
Pradyun S. Gedam
f36a052fa4
Update version of flake8
2017-06-13 17:59:33 +05:30
Pradyun S. Gedam
3ece87de71
Pin Sphinx version
2017-05-17 00:17:43 +05:30
Donald Stufft
59cb562d59
Fix up some bookkeeping
2017-03-18 14:52:14 -04:00
Xavier Fernandez
067b473124
Fix travis and tox configurations for 3.6 and 3.7
2016-10-15 23:43:58 +02:00
Xavier Fernandez
5e7195f173
Drop the --pre option when installing environments
...
It currently causes our docs build to install sphinx==1.4a1 and to crash
2016-02-16 23:16:38 +01:00
Xavier Fernandez
4b316589f0
Rename readme to readme_renderer
2016-01-04 23:30:54 +01:00
Donald Stufft
b11cb019a4
Drop support for Python 3.2
2015-10-01 09:36:16 -04:00
Matt Iversen
d993429824
Check long_description is valid
2015-09-28 10:28:36 +10:00
Donald Stufft
f6856d6687
Try to test against Python 3.5
2015-05-27 21:34:17 -04:00
Donald Stufft
5fd4cee738
Set the environment variable
2015-05-14 06:59:33 -04:00
Donald Stufft
e324b27b61
Pin flake8 to 2.3.0
2015-03-05 17:04:50 -05:00
Marc Abramowitz
ce3ceb7bd1
Move dev reqs from tox.ini to dev-requirements.txt
...
Then folks who don't use tox can do `pip install -r
dev-requirements.txt`
Since this is pip, which created the idea of requirements files, it
seems nice for the project to have one to showcase the idea.
Also cleaned up the tox.ini and made it more compact (fits now on my
laptop screen) and consistent.
2014-12-17 23:36:29 -08:00
Paul Moore
1de31e332a
Python 2.6 doesn't support python -m for packages
2014-10-17 17:35:39 +01:00
Paul Moore
e38e427e41
Fix to tox.ini so that pip.exe doesn't try to overwrite itself on Windows
2014-10-17 17:23:31 +01:00
Donald Stufft
1e57b28f0c
Ensure that our packaging remains correct
2014-09-29 11:07:24 -04:00
Donald Stufft
f833126f7f
Point at freezegun master since PR has been merged
2014-09-19 04:54:23 -04:00
Donald Stufft
540ac67ebb
Fix on PyPy
2014-09-18 11:41:09 -04:00
Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Donald Stufft
a6b59e8a55
Remove some noise in the output
2014-06-30 23:31:27 -04:00
Donald Stufft
6832f17a29
Show coverage information for tests
2014-06-30 20:59:32 -04:00
Donald Stufft
566f4e6a40
Timeout the test runs
2014-06-30 20:33:08 -04:00
Donald Stufft
52ca02608e
Use CacheControl instead of custom cache code
...
* Deprecates the --download-cache option & removes the download
cache code.
* Removes the in memory page cache on the index
* Uses CacheControl to cache all cacheable HTTP requests to the
filesystem.
* Properly handles CacheControl headers for unconditional
caching.
* Will use ETag and Last-Modified headers to attempt to do a
conditional HTTP request to speed up cache misses and turn
them into cache hits.
* Removes some concurrency unsafe code in the download cache
accesses.
* Uses a Cache-Control request header to limit the maximum
length of time a cache is valid for.
* Adds pip.appdirs to handle platform specific application
directories such as cache, config, data, etc.
2014-05-09 18:28:20 -04:00
Donald Stufft
a4fec67bba
Merge branch 'master' into develop
...
Conflicts:
.travis.yml
CHANGES.txt
PROJECT.txt
README.rst
docs/installing.rst
pip/__init__.py
pip/_vendor/vendor.txt
setup.py
tox.ini
2014-05-03 02:37:03 -04:00
Donald Stufft
0e72f65bf4
Merge branch '1.5.X'
...
Conflicts:
.travis/py34.sh
CHANGES.txt
PROJECT.txt
2014-05-03 01:13:28 -04:00
Donald Stufft
b67c00e9b8
Update tox.ini
2014-05-02 17:23:49 -04:00
Donald Stufft
8d9041446f
Refactor the Travis running into a shell command
2014-04-26 00:56:42 -04:00
Donald Stufft
79bda14bed
pytest-xdist and Python 3.2 do not get along
2014-04-26 00:32:27 -04:00
Donald Stufft
ea8d16d7f4
Use a tarball because it's faster than cloning a repository
2014-04-26 00:19:48 -04:00
Donald Stufft
4c028186ac
Parallelize running tests with pytest-xdist
...
We've had a number of problems with pytest-xdist, primarily on
Python 3.x where we had intermittent failure. However we're also
getting intermittent failures on Travis due to how long the tests
actually take to run. Given two different intermittent failures
it seems that the one that runs faster should be preferred.
2014-04-26 00:06:18 -04:00
Marcus Smith
f2a9d7403e
have setup.py long_description just be README.rst
2014-03-01 11:12:03 -08:00
Donald Stufft
95035fc5c4
Turn on everything in flake8
...
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Donald Stufft
7a0bdd8a51
Run flake8 on the entire repository
2014-01-28 19:48:04 -05:00
Donald Stufft
d76330e0d8
Ignore the test data's flake8 results
2014-01-28 19:48:04 -05:00
Donald Stufft
b72f44b20c
Run flake8 as part of the test suite
2014-01-27 14:40:32 -05:00
Donald Stufft
51346470ed
Setup ignores for flake8
2014-01-27 09:08:33 -05:00
Donald Stufft
e7c2ca220d
Fix the branch for virtualenv testing
2014-01-02 09:04:37 -05:00
Donald Stufft
953e08288f
Test against virtualenv 1.11.X
2013-11-22 09:07:04 -05:00
Donald Stufft
ae15dfcc7a
Remove concurrent test runs because they are failing randomly
2013-11-04 15:28:30 -05:00
Donald Stufft
6c36e77e16
Work around Python 3.2 import issues
2013-09-05 10:39:28 -04:00
Donald Stufft
eae5ffc11a
Test that the documentation builds successfully
2013-08-28 06:49:28 -04:00
Donald Stufft
8df86cac0b
Test the collection of tests
...
This is to workaround pytest issues #149 / #180 where distributed
testing doesn't error out if it fails to collect tests.
2013-08-28 06:24:25 -04:00
Donald Stufft
07597dd412
Setup tox so that it matches current state of the art for testing
...
* Uses parallel testing where it's able to
* Sets PYTHONHASHSEED=0 Where it's required
2013-08-28 04:28:40 -04:00
Donald Stufft
ff6cef6c0d
Require the newest version of scripttest
2013-08-21 22:40:17 -04:00
Donald Stufft
da0bc4b1d1
Switch to using py.test as the test runner instead of nose
...
* Better output with the bare asserts we use throughout the tests
* Function fixtures are pretty nice, especially as a way to
start a background server or create an isolated virtualenv
2013-08-21 10:19:58 -04:00
Marcus Smith
156c909b95
can't use easy_install to install virtualenv test req from git
2013-07-01 21:14:10 -07:00
Marcus Smith
bc3e3d9ac9
add back in old tox.ini
2013-05-29 13:41:13 -07:00
Marcus Smith
2e2ce0f4e9
break up tests dir into data, unit tests, and functional tests
2013-05-29 13:41:12 -07:00
Chris McDonough
d95f2e1b45
add a tox.ini
2012-09-08 10:18:25 -04:00