Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Add test for OSError in upload_file | Paul Ganssle | 2018-11-07 | 1 | -0/+10 | |
| | | | | ||||||
| * | | | Add test for HTTPError in upload_file | Paul Ganssle | 2018-11-07 | 1 | -0/+20 | |
| | | | | ||||||
| * | | | Add test for invalid URLs in upload_file | Paul Ganssle | 2018-11-07 | 1 | -1/+18 | |
| | | | | ||||||
| * | | | Use the patched_upload fixture in upload_metadata | Paul Ganssle | 2018-11-07 | 1 | -21/+6 | |
| | | | | | | | | | | | | | | | | | | | | `test_upload_metadata` was written before the fixture, so this updates the test to use the fixture. | |||||
| * | | | Add upload fixture | Paul Ganssle | 2018-11-07 | 1 | -0/+45 | |
| | | | | | | | | | | | | | | | | | | | | This is a fixture to create an upload command with a patched version of urlopen so that no HTTP queries are sent. | |||||
| * | | | Use an in-memory IO object instead of a temp file | Paul Ganssle | 2018-11-07 | 1 | -6/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Rather than writing to a file in a temporary directory, we can write to and read from an in-memory buffer, now that the encoding functionality in write_pkg_file is fixed. | |||||
| * | | | Add test for read_pkg_file | Paul Ganssle | 2018-11-07 | 1 | -0/+96 | |
| | | | | ||||||
| * | | | Use get_metadata_version in upload_file | Paul Ganssle | 2018-11-07 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this value was hard-coded to '1.0', which was inaccurate for many packages. Fixes #1381 | |||||
| * | | | Add failing test for issue #1381 | Paul Ganssle | 2018-11-07 | 1 | -0/+59 | |
| | | | | ||||||
| * | | | Merge pull request #1572 from pganssle/import_futures_test_reqs | Paul Ganssle | 2018-11-04 | 1 | -2/+3 | |
| |\ \ \ | | | | | | | | | | | Add futures and backport to Python 2.7 test requirements | |||||
| | * | | | Add futures backport to test reqs | Paul Ganssle | 2018-11-02 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `setuptools.tests.test_build_meta` relies on the Python 3 feature `concurrent.futures` to run, and as a result has been silently skipped in Python 2.7. This adds the `futures` backport to the 2.7 test requirements and turns the `pytest.importorskip` invocations in test_build_meta into standard import statements. | |||||
| * | | | | Test that manifest can exclude setup.py | Paul Ganssle | 2018-11-03 | 1 | -0/+21 | |
| | | | | | ||||||
| * | | | | Add tests for setup.py inclusion | Shashank Singh | 2018-11-02 | 3 | -4/+70 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | This tests that `setup.py` is included by default in the distribution with the egg_info command and when an sdist is built with build_meta.build_sdist | |||||
| * | | | Merge pull request #1541 from smenon8/deprecate-requires | Paul Ganssle | 2018-10-29 | 1 | -0/+17 | |
| |\ \ \ | | | | | | | | | | | Deprecate the requires keyword | |||||
| | * | | | Deprecate the requires keyword | Sreejith Menon | 2018-10-27 | 1 | -0/+17 | |
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | For runtime dependencies, install_requires should be used. For build dependencies, a PEP 518-compliant `pyproject.toml` should be used. Other dependencies can use extra requirements. | |||||
| * | | | Add unit tests for setuptools deprecation warnings | robinjhuang | 2018-10-28 | 3 | -3/+25 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | These are tests to ensure that the specified deprecation warnings are raised when the functions are called. Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com> | |||||
| * | | Remove pytest marker and code for Python < 2.7 | Nikolaus Waxweiler | 2018-10-27 | 2 | -7/+0 | |
| | | | ||||||
| * | | Mark Py 2/3-only tests as skip instead of xfail | Nikolaus Waxweiler | 2018-10-27 | 5 | -6/+6 | |
| | | | | | | | | | | | | | | | Also reuse pre-defined py2_only and py3_only decorators where appropriate. | |||||
* | | | Remove unnecessary parameters from the test | Deniz Taneli | 2018-11-10 | 1 | -6/+2 | |
| | | | ||||||
* | | | Address review comments | Deniz Taneli | 2018-11-10 | 1 | -0/+2 | |
| | | | ||||||
* | | | Make the new tests parametrized | Deniz Taneli | 2018-10-28 | 1 | -60/+19 | |
| | | | ||||||
* | | | Unit tests for installing licenses from setup.cfg (#357) | Deniz Taneli | 2018-10-27 | 1 | -0/+92 | |
|/ / | | | | | | | Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com> | |||||
* | | Add data_files support in setup.cfg with test case | Satoru SATOH | 2018-10-24 | 1 | -0/+17 | |
| | | | | | | | | | | | | In the test case, dist.data_files needs to be sorted because the current implementation loads the configuration files as a dictionary with arbitrary order on Python < 3.6. | |||||
* | | Suppress Unbuild egg warnings in TestPTHFileWriter | Jason R. Coombs | 2018-09-23 | 1 | -0/+1 | |
| | | ||||||
* | | Update tests to remove use of deprecated get_script_header | Jason R. Coombs | 2018-09-23 | 1 | -5/+5 | |
| | | ||||||
* | | Ignore warnings about deprecated features. | Jason R. Coombs | 2018-09-23 | 1 | -0/+1 | |
| | | ||||||
* | | Capture expected warning | Jason R. Coombs | 2018-09-23 | 1 | -1/+3 | |
| | | ||||||
* | | Add tests exposing the issues with sdist_directory not being --dist-dir | Bernat Gabor | 2018-09-16 | 1 | -1/+35 | |
| | | ||||||
* | | Merge pull request #1402 from ↵ | Jason R. Coombs | 2018-09-16 | 1 | -8/+33 | |
|\ \ | | | | | | | | | | | | | daa/pkg-resources-always-handle-namespace-package-path Improved handling of module __path__ attribute for namespace packages, fixes #1321 | |||||
| * | | remove xfail for AppVeyor from namespace tests entirely | Alexander Duryagin | 2018-08-21 | 1 | -4/+0 | |
| | | | ||||||
| * | | remove xfail for namespace tests that actually pass in AppVeyor | Alexander Duryagin | 2018-08-21 | 1 | -13/+1 | |
| | | | ||||||
| * | | change formatting to fix flake8 warning | Alexander Duryagin | 2018-08-17 | 1 | -2/+4 | |
| | | | ||||||
| * | | xfail namespace packages tests on appveyor instead of skipping them | Alexander Duryagin | 2018-08-17 | 1 | -8/+16 | |
| | | | ||||||
| * | | always process module.__path__ for namespace packages, fixes #1321 | Alexander Duryagin | 2018-06-27 | 1 | -0/+31 | |
| | | | ||||||
* | | | Merge pull request #1427 from stephenfin/touch-egg-info-directory | Jason R. Coombs | 2018-09-16 | 1 | -0/+17 | |
|\ \ \ | | | | | | | | | Touch 'egg-info' directory | |||||
| * | | | egg_info: Touch 'egg-info' directory | Stephen Finucane | 2018-08-19 | 1 | -0/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'tox' determines whether a package should be rebuilt by comparing the timestamp of the package's 'egg-info' directory and its 'setup.py' or 'setup.cfg' files [1][2]. Unfortunately this checks the 'egg-info' directory itself, which is not updated, unlike the contents of that directory. This means that 'tox' will always rebuild the package once one of the two setup files has been updated. While this is clearly a bug in 'tox' that should be fixed separately, there is merit in using this as a heuristic so enable it. [1] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L253-L257 [2] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L221-L244 Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
* | | | | Merge pull request #1477 from gaborbernat/no-sdist-wheel | Jason R. Coombs | 2018-09-16 | 1 | -0/+6 | |
|\ \ \ \ | | | | | | | | | | | build_meta.get_requires_for_build_sdist does not include wheel | |||||
| * | | | | build_meta.get_requires_for_build_sdist does not include wheel | Bernat Gabor | 2018-09-13 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the wheel package is not required to build a source distribution Resolves #1474. | |||||
* | | | | | Remove use of compatibility shim six.binary_type | Jon Dufresne | 2018-09-14 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The type bytes is available on all supported Pythons. Makes the code more forward compatible with Python 3. | |||||
* | | | | | Add tests for setuptools.glob | Jon Dufresne | 2018-09-14 | 1 | -0/+35 | |
|/ / / / | ||||||
* | | | | Delint | Jason R. Coombs | 2018-08-21 | 1 | -26/+34 | |
| | | | | ||||||
* | | | | Use unicode literals in test_easy_install. | Jason R. Coombs | 2018-08-21 | 1 | -11/+13 | |
| | | | | ||||||
* | | | | Delint | Jason R. Coombs | 2018-08-21 | 1 | -1/+3 | |
| | | | | ||||||
* | | | | Reindent to avoid hanging indent. | Jason R. Coombs | 2018-08-21 | 1 | -44/+46 | |
| | | | | ||||||
* | | | | Adapt test to only run on Python 2, as it's redundant on Python 3. | Jason R. Coombs | 2018-08-21 | 1 | -2/+3 | |
| | | | | ||||||
* | | | | Use unicode literals throughout. | Jason R. Coombs | 2018-08-21 | 1 | -1/+3 | |
| | | | | ||||||
* | | | | Merge pull request #1466 from pfmoore/pep517_fix | Jason R. Coombs | 2018-08-21 | 1 | -0/+9 | |
|\ \ \ \ | | | | | | | | | | | Fix for Unicode handling in PEP 518 backend | |||||
| * | | | | Add a test for a Unicode metadata directory | Paul Moore | 2018-08-21 | 1 | -0/+9 | |
| |/ / / | ||||||
* | | | | setuptools: fix regression with `egg_info` command | Benoit Pierre | 2018-08-21 | 1 | -0/+16 | |
|/ / / | | | | | | | | | | Ensure version is tagged only once. | |||||
* | | | Added test for scripts with unicode | Daniele Esposti | 2018-08-17 | 1 | -0/+52 | |
| | | |