summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Also restore port consideration when re-injecting credentials for found links.Jason R. Coombs2019-02-031-1/+1
|
* Revert to using a copy of splituser from Python 3.8. Using ↵Jason R. Coombs2019-02-031-7/+11
| | | | urllib.parse.urlparse is clumsy and causes problems as reported in #1663 and #1668. Alternative to #1499 and fixes #1668.
* Ensure a specified port in package_index isn't lost in the parse/unparse of ↵Jason R. Coombs2019-01-311-1/+1
| | | | the URL when auth is present. Fixes #1663.
* Prefer native strings on Python 2 when reading config files. Fixes #1653.Jason R. Coombs2019-01-281-1/+21
|
* test: add a simple regression test for `build_ext`Benoit Pierre2019-01-282-0/+72
|
* Merge pull request #1180 from ↵Jason R. Coombs2019-01-276-89/+288
|\ | | | | | | | | benoit-pierre/fix_889_and_non-ascii_in_setup.cfg_take_2 improve encoding handling for `setup.cfg`
| * Fix test failure by better detecting string options from an updated ↵Jason R. Coombs2019-01-261-1/+1
| | | | | | | | ConfigParser.
| * Adopt distutils.dist.Distribution._set_command_options to support better ↵Jason R. Coombs2019-01-261-0/+48
| | | | | | | | string detection.
| * Given that the config file parsing functionality is unlikely to change ↵Jason R. Coombs2019-01-253-99/+87
| | | | | | | | upstream, just incorporate the functionality directly.
| * Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2Jason R. Coombs2019-01-2580-585/+12361
| |\
| * | improve encoding handling for `setup.cfg`Benoit Pierre2017-10-255-15/+169
| | | | | | | | | | | | | | | | | | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136.
| * | add test to ensure `setup.cfg` interpolation behavior remain unchangedBenoit Pierre2017-10-251-0/+10
| | |
* | | Feed the hobgoblins (delint).Jason R. Coombs2019-01-2622-140/+183
| |/ |/|
* | Feed the hobgoblins (delint).Jason R. Coombs2019-01-081-1/+3
| |
* | Feed the hobgoblins (delint).Jason R. Coombs2019-01-081-5/+6
| |
* | Merge pull request #1625 from pypa/bugfix/1623-always-targzJason R. Coombs2019-01-032-1/+20
|\ \ | | | | | | In build_meta (PEP 517), always built gztar
| * | Always specify formats=gztar, overriding the project's legacy expectation ↵Jason R. Coombs2019-01-021-1/+1
| | | | | | | | | | | | that a zip sdist should be generated. Fixes #1623.
| * | Add test capturing failure. Ref #1623.Jason R. Coombs2019-01-021-0/+19
| | |
* | | Extract common behavior into a functioniterator-unpackJason R. Coombs2019-01-021-14/+11
| | |
* | | Avoid hanging indentJason R. Coombs2019-01-021-4/+8
| | |
* | | Rely on iterable unpacking to extract one element from generator expression.Jason R. Coombs2019-01-021-8/+8
|/ /
* | Feed the hobgoblins (delint).Jason R. Coombs2019-01-021-4/+6
| |
* | Merge pull request #1620 from scop/spellingPaul Ganssle2019-01-012-2/+2
|\ \ | | | | | | Spelling fixes
| * | Spelling fixesVille Skyttä2018-12-292-2/+2
| | |
* | | Merge pull request #1559 from RajdeepRao/BUG-1551Paul Ganssle2018-12-313-4/+73
|\ \ \ | | | | | | | | Disallow files for license inputs
| * | | Add explicit test for license in setup.cfgPaul Ganssle2018-12-291-0/+20
| | | |
| * | | Change how license field ValueError is testedPaul Ganssle2018-12-291-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Both the old and new approaches are deeply unsatisfying to me, but without reworking how these test commands are run, I think this is about as close as we can get to enforcing that this specific call raises ValueError.
| * | | Disallow files for license inputsrajdeep2018-12-292-3/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ability to handle files was originally added and documented based on a misunderstanding of what the `license` field should include. The field should be the name of the license, not the full text. It is likely that anyone actually using this was outputing malformed PKG-INFO files, because most license files contain newlines. See GH issue #1551
* | | | Feed the hobgoblins (delint).Jason R. Coombs2018-12-291-2/+2
| |/ / |/| |
* | | Remove unused importJason R. Coombs2018-12-291-1/+0
|/ /
* | Use HTTPS in link to RFC #6125Reece D2018-12-281-1/+1
| |
* | Assert that warning is raised with svn downloadsPaul Ganssle2018-12-281-2/+4
| | | | | | | | | | This both prevents the warning from surfacing during the tests and ensures that no regressions occur.
* | Import distribution in doctestPaul Ganssle2018-12-281-0/+1
| | | | | | | | Fixes GH issue #1612, bug introduced in commit 0902f02d9d68f18
* | Access pkg_resources objects through its namespaceJason R. Coombs2018-12-241-11/+13
| |
* | Rely on package names to namespace the package contents.Jason R. Coombs2018-12-241-6/+7
| |
* | Add test for download_svn, improving coverage on patchJason R. Coombs2018-12-151-0/+16
| |
* | Remove use of splituser in packag_index.py. Fixes #1499.Jason R. Coombs2018-12-151-6/+10
| |
* | Merge pull request #1544 from kanikas3/added-unittest-download-gitJason R. Coombs2018-12-141-0/+39
|\ \ | | | | | | added unittest for _download_git
| * | Call index.download, covering more code. Split test into two.Jason R. Coombs2018-12-141-25/+28
| | |
| * | added unittest for _download_gitKanika Sabharwal2018-10-271-0/+36
| | |
* | | Fix the testsPaul Moore2018-11-141-2/+2
| | |
* | | Backend should not say that setuptools is needed to buildPaul Moore2018-11-141-2/+2
| | |
* | | add a test to catch unvendored dependenciesBenoit Pierre2018-11-131-0/+12
| | |
* | | import internal version of sixOleg Sharov2018-11-133-6/+5
| | |
* | | Fix issue with missing author metadataPaul Ganssle2018-11-122-2/+18
| | | | | | | | | | | | | | | Prior to this patch, if the author or author_email were omitted from `setup`, a malformed `PKG-INFO` would be created.
* | | Remove bdist_rpm and bdist_dumb commentPaul Ganssle2018-11-122-28/+2
| | | | | | | | | | | | | | | | | | | | | This comment is not used anywhere and `platform.dist()` is deprecated. See CPython PR #10414: https://github.com/python/cpython/pull/10414 and bpo-35186: https://bugs.python.org/issue35186
* | | Fix show_response behavior on Python 2Paul Ganssle2018-11-072-3/+14
| | | | | | | | | | | | | | | | | | | | | The `upload.show_response` feature was not added until Python 3. Rather than backport it, it is now enabled only if supported. This also adds a "smoke test" for the feature.
* | | Fix bdist_rpm and bdist_dumb in upload_filePaul Ganssle2018-11-072-0/+22
| | | | | | | | | | | | | | | This fixes uploads when bdist_rpm or bdist_dumb are the command, both of which insert a comment about what platform they are built for.
* | | Fix gpg signature code in upload_filePaul Ganssle2018-11-072-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where `distutils.spawn.spawn` was not available in the ported upload_file, which is only used when signing the data. This also adds a test that the gpg signature command is invoked and included in the uploaded data.
* | | Add test for OSError in upload_filePaul Ganssle2018-11-071-0/+10
| | |