| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- add coverage factor to tox
- report coverage to codecov.io
- configure testpaths for pytest, instead of passing it through tox
command
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As isort is primarily used as a command-line tool, it is in a good
position to move to Python 3 only. Other command-line-only tools have
begun moving to Python 3. For example: black, mypy, pylint, and Sphinx.
It will continue to support formatting Python 2 code, so users can still
format their Python 2 projects.
Allows for many code cleanups. By removing these workarounds, the
project will be easier to maintain and reduce testing resources.
Python 2 is scheduled to be EOL on January 1, 2020. The Python community
is moving on.
https://www.python.org/dev/peps/pep-0373/
For reasons to drop Python 2 support, see:
https://python3statement.org/
For an overview of projects that have dropped Python 2 support entirely,
see:
https://hugovk.github.io/drop-python/2.7/
Fixes #808
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The "futures" package need only be installed on Python 2. To specify a
conditional dependency, setuptools, pip, and wheel support "environment
markers". Use this mechanism instead of adding install time logic to the
setup.py file.
Allows restoring universal wheel support, allowing a single wheel for
all version of Python.
For additional details on wheel support for environment markers, see the
documentation at:
https://wheel.readthedocs.io/en/stable/index.html#defining-conditional-dependencies
> Defining conditional dependencies
>
> In wheel, the only way to have conditional dependencies (that might
> only be needed on certain platforms) is to use environment markers as
> defined by PEP 426.
>
> ...
>
> As of setuptools 36.2.1, you can pass extras as part of
> install_requires. The above requirements could thus be written like
> this:
>
> install_requires=[
> 'argparse; python_version=="2.6"',
> 'keyring; extra=="signatures"',
> 'pyxdg; extra=="signatures" and sys_platform!="win32"',
> 'ed25519ll; extra=="faster-signatures"'
> ]
|
| |
|
|
|
|
|
|
|
|
| |
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:
https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
|
|
|
|
|
|
|
|
|
| |
Enables more of flake8's default rules and makes CI check all files,
not just a subset. Also pins the version of flake8 to avoid CI
non-determinism when newer versions add/adjust the default rules.
The `# noqa: F401` entries in `pie_slice.py` are required due to:
https://github.com/PyCQA/pyflakes/issues/276
|
|
|
|
| |
[wheel] is legacy, [bdist_wheel] is the future. See https://bitbucket.org/pypa/wheel/src/4da780b849affbff98a0defb21ad1f30a94d6f57/wheel/bdist_wheel.py?at=default&fileviewer=file-view-default#bdist_wheel.py-119
|
| |
|
|
|