| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python 2.7 and 3.4 are end-of-life. They are no longer receiving bug
fixes, including for security issues. Python 2.7 went EOL on 2020-01-01
and 3.4 on 2019-03-18. For additional details on support Python
versions, see:
Supported: https://devguide.python.org/#status-of-python-branches
EOL: https://devguide.python.org/devcycle/#end-of-life-branches
Removing support for EOL Pythons will reduce testing and maintenance
resources while allowing the library to move towards modern Python 3.
Using pypinfo, we can show the PyPI download statistics, showing less
than 10% of users are using Python 2.7.
| python_version | percent | download_count |
| -------------- | ------: | -------------: |
| 3.7 | 45.36% | 3,056,010 |
| 3.6 | 26.46% | 1,782,778 |
| 3.8 | 12.22% | 823,213 |
| 2.7 | 9.97% | 671,459 |
| 3.5 | 5.86% | 394,846 |
| 3.4 | 0.10% | 6,700 |
| 3.9 | 0.03% | 2,346 |
| 2.6 | 0.00% | 57 |
| 3.3 | 0.00% | 21 |
| 3.10 | 0.00% | 6 |
| Total | | 6,737,436 |
Library users who continue to use Python 2.7 will still be able to
install previous versions of sqlparse.
Compatibility shims have been dropped, simplifying the code.
Using pyupgrade, the codebase has been updated to take advantage of
modern syntax <https://github.com/asottile/pyupgrade>.
The wheel is no longer marked as "universal" as it is now Python 3 only.
|
| | |
|
| | |
|
| |
|
|
| |
Testing was added in b9ff0bd225e71f4fe522859b49b8194a725b4421.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* spelling: choice
* spelling: duplicate
* spelling: identifier
* spelling: issue
* spelling: parenthesis
* spelling: split
* spelling: statements
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Python 3.3 is EOL. It is no longer receiving bug fixes, including for
security issues. Python 3.3 has been EOL since 2017-09-29. For
additional details, see:
https://devguide.python.org/#status-of-python-branches
Additionally, pytest has dropped support for Python 3.3 in a recent
version, causing test failures. See:
https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
switch scripts to console-script
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This change includes minor fixes and code cleanup too.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Fair warning: Support for Python 2.4 may be dropped at any time. But as long as the changes are
that minimal and have no significant side-effects we can keep up the compatibility.
|
| | |
|
| | |
|
| |
|
|
| |
Downloads on github are disabled since December 2012.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This change makes the extras/py3k stuff obsolete and installing for
Python 3 is as easy as "python3 setup.py install". setup.py uses
distribute's use_2to3 flag to automatically run 2to3 when Python 3 is
used.
\o/ Happy New Year, everyone!
|
| |
|
|
|
|
|
| |
This allows to bootstrap the python 3 conversion process whithout failing on
python setup.py develop.
Patch with slight modifications by Florian Bauer.
|
| | |
|
| |
|
|
| |
one as deprecated.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|