pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-flake8



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr 30 17:08:14 UTC 2023

Modified Files:
        pkgsrc/devel/py-flake8: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/py-flake8/patches: patch-setup.cfg

Log Message:
py-flake8: update to 6.0.0.

6.0.0 -- 2022-11-23
-------------------

Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Remove ``--diff`` option (See also :issue:`1389`, :pull:`1720`).
- Produce an error when invalid codes are specified in configuration (See also
  :issue:`1689`, :pull:`1713`).
- Produce an error if the file specified in ``--extend-config`` does not exist
  (See also :issue:`1729`, :pull:`1732`).
- Remove ``optparse`` compatibility support (See also :pull:`1739`).

New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~

- pycodestyle has been updated to >= 2.10.0, < 2.11.0 (See also :pull:`1746`).
- Pyflakes has been updated to >= 3.0.0, < 3.1.0 (See also :pull:`1748`).

Features
~~~~~~~~

- Require python >= 3.8.1 (See also :pull:`1633`, :pull:`1741`).
- List available formatters in for ``--format`` option in ``--help`` (See also
  :issue:`223`, :pull:`1624`).
- Improve multiprocessing performance (See also :pull:`1723`).
- Enable multiprocessing on non-fork platforms (See also :pull:`1723`).
- Ensure results are sorted when discovered from files (See also :issue:`1670`,
  :pull:`1726`).

5.0.4 -- 2022-08-03
-------------------

Bugs Fixed
~~~~~~~~~~

- Set a lower bound on ``importlib-metadata`` to prevent ``RecursionError``
  (See also :issue:`1650`, :pull:`1653`).

5.0.3 -- 2022-08-01
-------------------

Bugs Fixed
~~~~~~~~~~

- Work around partial reads of configuration files with syntax errors (See
  also :issue:`1647`, :pull:`1648`).

5.0.2 -- 2022-08-01
-------------------

Bugs Fixed
~~~~~~~~~~

- Fix execution on python == 3.8.0 (See also :issue:`1637`, :pull:`1641`).
- Fix config discovery when home does not exist (See also :issue:`1640`,
  :pull:`1642`).

5.0.1 -- 2022-07-31
-------------------

Bugs Fixed
~~~~~~~~~~

- Fix duplicate plugin discovery on misconfigured pythons (See also
  :issue:`1627`, :pull:`1631`).

5.0.0 -- 2022-07-30
-------------------

Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Remove ``indent_size_str`` (See also :pull:`1411`).
- Remove some dead code (See also :pull:`1453`, :pull:`1540`, :pull:`1541`).
- Missing explicitly-specified configuration is now an error (See also
  :issue:`1497`, :pull:`1498`).
- Always read configuration files as UTF-8 (See also :issue:`1532`,
  :pull:`1533`).
- Remove manpage from docs -- use ``help2man`` or related tools instead (See
  also :pull:`1557`).
- Forbid invalid plugin codes (See also :issue:`325`, :pull:`1579`).

Deprecations
~~~~~~~~~~~~

- Deprecate ``--diff`` option (See also :issue:`1389`, :pull:`1441`).

New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~

- pycodestyle has been updated to >= 2.9.0, < 2.10.0 (See also :pull:`1626`).
- Pyflakes has been updated to >= 2.5.0, < 2.6.0 (See also :pull:`1625`).
- mccabe has been updated to >= 0.7.0, < 0.8.0 (See also :pull:`1542`).

Features
~~~~~~~~

- Add colors to output, configurable via ``--color`` (See also :issue:`1379`,
  :pull:`1440`).
- Add ``.nox`` to the default exclude list (See also :issue:`1442`,
  :pull:`1443`).
- Don't consider a config file which does not contain flake8 settings (See
  also :issue:`199`, :pull:`1472`).
- Duplicate ``local-plugins`` names are now allowed (See also :issue:`362`,
  :pull:`1504`).
- Consider ``.`` to be a path in config files (See also :issue:`1494`,
  :pull:`1508`)
- Add ``--require-plugins`` option taking distribution names (See also
  :issue:`283`, :pull:`1535`).
- Improve performance by removing debug logs (See also :pull:`1537`,
  :pull:`1544`).
- Include failing file path in plugin execution error (See also :issue:`265`,
  :pull:`1543`).
- Improve performance by pre-generating a ``pycodestyle`` plugin (See also
  :pull:`1545`).
- Properly differentiate between explicitly ignored / selected and default
  ignored / selected options (See also :issue:`284`, :pull:`1576`,
  :pull:`1609`).

Bugs Fixed
~~~~~~~~~~

- Fix physical line plugins not receiving all lines in the case of
  triple-quoted strings (See also :issue:`1534`, :pull:`1536`).
- Fix duplicate error logging in the case of plugin issues (See also
  :pull:`1538`).
- Fix inconsistent ordering of ``--ignore`` in ``--help`` (See also
  :issue:`1550`, :pull:`1552`).
- Fix memory leak of style guides by avoiding ``@lru_cache`` of a method (See
  also :pull:`1573`).
- Fix ignoring of configuration files exactly in the home directory (See also
  :issue:`1617`, :pull:`1618`).


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/py-flake8/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-flake8/PLIST
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-flake8/distinfo
cvs rdiff -u -r1.7 -r0 pkgsrc/devel/py-flake8/patches/patch-setup.cfg

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-flake8/Makefile
diff -u pkgsrc/devel/py-flake8/Makefile:1.45 pkgsrc/devel/py-flake8/Makefile:1.46
--- pkgsrc/devel/py-flake8/Makefile:1.45        Wed Mar 29 09:34:06 2023
+++ pkgsrc/devel/py-flake8/Makefile     Sun Apr 30 17:08:14 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2023/03/29 09:34:06 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2023/04/30 17:08:14 wiz Exp $
 
-DISTNAME=      flake8-4.0.1
+DISTNAME=      flake8-6.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flake8/}
@@ -10,20 +10,13 @@ HOMEPAGE=   https://gitlab.com/pycqa/flake
 COMMENT=       Modular source code checker for Python programs
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.7.0:../../devel/py-codestyle
-DEPENDS+=      ${PYPKGPREFIX}-flakes>=2.3.0:../../devel/py-flakes
-DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6.0:../../devel/py-mccabe
+DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.10.0:../../devel/py-codestyle
+DEPENDS+=      ${PYPKGPREFIX}-flakes>=3.0.0:../../devel/py-flakes
+DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.7.0:../../devel/py-mccabe
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} < 308
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-.endif
-
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
@@ -32,8 +25,8 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} flake8 flake8-${PYVERSSUFFIX} || ${TRUE}
 
-# as of 4.0.1
-# 21 failed, 460 passed
+# as of 6.0.0
+# 26 failed, 436 passed
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

Index: pkgsrc/devel/py-flake8/PLIST
diff -u pkgsrc/devel/py-flake8/PLIST:1.6 pkgsrc/devel/py-flake8/PLIST:1.7
--- pkgsrc/devel/py-flake8/PLIST:1.6    Sat Jan 29 08:56:51 2022
+++ pkgsrc/devel/py-flake8/PLIST        Sun Apr 30 17:08:14 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2022/01/29 08:56:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2023/04/30 17:08:14 wiz Exp $
 bin/flake8-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,9 +12,6 @@ ${PYSITELIB}/flake8/__init__.pyo
 ${PYSITELIB}/flake8/__main__.py
 ${PYSITELIB}/flake8/__main__.pyc
 ${PYSITELIB}/flake8/__main__.pyo
-${PYSITELIB}/flake8/_compat.py
-${PYSITELIB}/flake8/_compat.pyc
-${PYSITELIB}/flake8/_compat.pyo
 ${PYSITELIB}/flake8/api/__init__.py
 ${PYSITELIB}/flake8/api/__init__.pyc
 ${PYSITELIB}/flake8/api/__init__.pyo
@@ -27,12 +24,18 @@ ${PYSITELIB}/flake8/checker.pyo
 ${PYSITELIB}/flake8/defaults.py
 ${PYSITELIB}/flake8/defaults.pyc
 ${PYSITELIB}/flake8/defaults.pyo
+${PYSITELIB}/flake8/discover_files.py
+${PYSITELIB}/flake8/discover_files.pyc
+${PYSITELIB}/flake8/discover_files.pyo
 ${PYSITELIB}/flake8/exceptions.py
 ${PYSITELIB}/flake8/exceptions.pyc
 ${PYSITELIB}/flake8/exceptions.pyo
 ${PYSITELIB}/flake8/formatting/__init__.py
 ${PYSITELIB}/flake8/formatting/__init__.pyc
 ${PYSITELIB}/flake8/formatting/__init__.pyo
+${PYSITELIB}/flake8/formatting/_windows_color.py
+${PYSITELIB}/flake8/formatting/_windows_color.pyc
+${PYSITELIB}/flake8/formatting/_windows_color.pyo
 ${PYSITELIB}/flake8/formatting/base.py
 ${PYSITELIB}/flake8/formatting/base.pyc
 ${PYSITELIB}/flake8/formatting/base.pyo
@@ -66,15 +69,24 @@ ${PYSITELIB}/flake8/options/config.pyo
 ${PYSITELIB}/flake8/options/manager.py
 ${PYSITELIB}/flake8/options/manager.pyc
 ${PYSITELIB}/flake8/options/manager.pyo
+${PYSITELIB}/flake8/options/parse_args.py
+${PYSITELIB}/flake8/options/parse_args.pyc
+${PYSITELIB}/flake8/options/parse_args.pyo
 ${PYSITELIB}/flake8/plugins/__init__.py
 ${PYSITELIB}/flake8/plugins/__init__.pyc
 ${PYSITELIB}/flake8/plugins/__init__.pyo
-${PYSITELIB}/flake8/plugins/manager.py
-${PYSITELIB}/flake8/plugins/manager.pyc
-${PYSITELIB}/flake8/plugins/manager.pyo
+${PYSITELIB}/flake8/plugins/finder.py
+${PYSITELIB}/flake8/plugins/finder.pyc
+${PYSITELIB}/flake8/plugins/finder.pyo
+${PYSITELIB}/flake8/plugins/pycodestyle.py
+${PYSITELIB}/flake8/plugins/pycodestyle.pyc
+${PYSITELIB}/flake8/plugins/pycodestyle.pyo
 ${PYSITELIB}/flake8/plugins/pyflakes.py
 ${PYSITELIB}/flake8/plugins/pyflakes.pyc
 ${PYSITELIB}/flake8/plugins/pyflakes.pyo
+${PYSITELIB}/flake8/plugins/reporter.py
+${PYSITELIB}/flake8/plugins/reporter.pyc
+${PYSITELIB}/flake8/plugins/reporter.pyo
 ${PYSITELIB}/flake8/processor.py
 ${PYSITELIB}/flake8/processor.pyc
 ${PYSITELIB}/flake8/processor.pyo
@@ -87,3 +99,6 @@ ${PYSITELIB}/flake8/style_guide.pyo
 ${PYSITELIB}/flake8/utils.py
 ${PYSITELIB}/flake8/utils.pyc
 ${PYSITELIB}/flake8/utils.pyo
+${PYSITELIB}/flake8/violation.py
+${PYSITELIB}/flake8/violation.pyc
+${PYSITELIB}/flake8/violation.pyo

Index: pkgsrc/devel/py-flake8/distinfo
diff -u pkgsrc/devel/py-flake8/distinfo:1.34 pkgsrc/devel/py-flake8/distinfo:1.35
--- pkgsrc/devel/py-flake8/distinfo:1.34        Sat Jan 29 08:56:51 2022
+++ pkgsrc/devel/py-flake8/distinfo     Sun Apr 30 17:08:14 2023
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.34 2022/01/29 08:56:51 wiz Exp $
+$NetBSD: distinfo,v 1.35 2023/04/30 17:08:14 wiz Exp $
 
-BLAKE2s (flake8-4.0.1.tar.gz) = 82c4437a6b6105f5ef077220f01151b2e6a136740bd2b22f436a375b642a6337
-SHA512 (flake8-4.0.1.tar.gz) = 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796
-Size (flake8-4.0.1.tar.gz) = 154905 bytes
-SHA1 (patch-setup.cfg) = dcd88ef61be0b276e73bb333f48c3dc924905ca6
+BLAKE2s (flake8-6.0.0.tar.gz) = 3bb6777d2fec78ff6524a5ca6785a8e1f2aaf4e4652fbfb1cb05f24998a17490
+SHA512 (flake8-6.0.0.tar.gz) = d326659a4dc73e72b07611c3ddbd2c8526b65372ef17a273eadf7f56dd3eedada39d2edd187e207175d688ec155b5b8b6ca8c76ad2a768667350ad516cff1725
+Size (flake8-6.0.0.tar.gz) = 138524 bytes



Home | Main Index | Thread Index | Old Index