| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
benoit-pierre/fix_889_and_non-ascii_in_setup.cfg_take_2
improve encoding handling for `setup.cfg`
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com>
|
|\ \
| | |
| | | |
Touch 'egg-info' directory
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'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>
|
|/ /
| |
| |
| | |
Ensure version is tagged only once.
|
| | |
|
| | |
|
| |
| |
| |
| | |
focus on the behavior in egg_info as the namesake suggests.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This ensures we don't unknowingly change the behavior of this again.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: #1307
|
| |
| |
| |
| | |
"Provides-Extra:" generated in metadata
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
#458.
|
| | |
| | |
| | |
| | | |
non-deterministic order, they may appear in the metadata in non-deterministic order. Ref #458.
|
| | |
| | |
| | |
| | | |
Ref #458.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By including one or more Project-URL entries in PKG-INFO metadata,
PyPI can display helpful hyperlinks in a generic manner. Add support
here to be able to pass it through setup.cfg and setup.py with a
project_urls dict. See the corresponding section of the Core
Metadata Specifications from the Python Packaging User Guide for
details:
https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When tests are invoked with the Python flag -Wall, warnings appear in
the form of:
ResourceWarning: unclosed file ...
Close all files and resources deterministically to avoid such warnings.
Most often, easiest to do using a context manager.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test that specifying a `long_description_content_type` keyword arg to
the `setup` function results in writing a `Description-Content-Type`
line to the `PKG-INFO` file in the `<distribution>.egg-info` directory.
`Description-Content-Type` is described at
https://github.com/pypa/python-packaging-user-guide/pull/258
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit a3ec721ec1e70f1f7aec6c3349ad85b446410809.
|
| |
| |
| |
| |
| |
| | |
Internally move requirements in `install_requires` that are using
extras to `extras_require` so those extras don't get stripped when
building wheels.
|
| |
| |
| |
| |
| | |
Allow requirements of the form `"extra": ["barbazquux; {marker}"]`
by internally converting them to `"extra:{marker}": ["barbazquux"]`.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing
changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
|
| | |
|
| | |
|