./devel/py-isort, Python utility/library to sort imports

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.0.0, Package name: py312-isort-6.0.0, Maintainer: pkgsrc-users

isort is a Python utility / library to sort imports alphabetically,
and automatically separated into sections. It provides a command
line utility, Python library and plugins for various editors to
quickly sort all your imports.


Required to run:
[devel/py-setuptools] [devel/py-lama] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 808.941 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 17:16:34 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-isort: update to 6.0.0.

💥 Breaking Changes

    Remove support for Python 3.8 (#2327) @DanielNoord

🚀 Features

    Python 3.13 support (#2306) @mayty
    Updates round 3 (#2334) @matthewhughes934
    Speed up exists_case_sensitive calls (#2264) @correctmost
    nit: Fix deprecation message link (#2220) @syou6162
    Ensure that split_on_trailing_comma works with as imports (#2340) @DanielNoord
    Black profile: enable magic comma (#2236) @MrMino
    Fix google style test (#2336) @DanielNoord
    Update line_length and single_line_exclusions in google profile (#2149) @jagapiou
    Updates round 2 (#2329) @matthewhughes934
    Dependency updates round 1 (#2325) @matthewhughes934
    Run pre-commit autoupdate (#2321) @kurtmckee

🪲 Fixes

    Allow --diff to be used with --jobs (#2302) @mnakama
    wemake has 80 chars hard limit, not 79 (#2241) @sobolevn
    Fix errors on main (#2320) @DanielNoord
    Fixed syntax error (#2289) @Sergio-prog
    fix: typo (#2298) @Rotzbua
    Fix sort_reexports code mangling (#2283) @Helveg
    fix: correct group by package tokenization (#2136) @glasnt
    Fix isort-action usage documentation (#2297) @jamescurtin
    Fix CDN for Ace (#2127) @abitrolly
    Fix help text (#2229) @stweil
    docs: fix spelling mistake (#2249) @cachho

👷 Continuous Integration

    UV replacement of Poetry (#2349) @staticdev
    Make actions happy (#2311) @matthewhughes934
    Fix GitHub Actions badges (#2326) @hugovk
    Eliminate actions/cache@v2 usage (#2322) @kurtmckee
    feat: add dependabot for GH action update (#2300) @Rotzbua
    Update stage names for pre-commit (#2296) @matthewhughes934

📦 Dependencies

    Bump poetry to 2.0.1 (#2341) @DanielNoord
    Fix misc unsafe dependencies (#2345) @staticdev
    Bump the github-actions group across 1 directory with 5 updates (#2324) \ 
@dependabot[bot]
    Bump gitpython from 3.1.40 to 3.1.41 (#2223) @dependabot[bot]
    Bump jinja2 from 3.1.2 to 3.1.3 (#2224) @dependabot[bot]
   2023-12-14 14:19:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-isort: updated to 5.13.2

5.13.2 December 13 2023

- Apply the bracket fix from issue 471 only for use_parentheses=True
- Confine pre-commit to stages
- Fixed colors extras
   2023-12-11 21:53:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-isort: updated to 5.13.1

5.13.1

- Fixed integration tests
- Fixed normalizing imports from more than one level of parent modules (issue/2152)
- Remove optional dependencies without extras
   2023-12-11 10:55:08 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-isort: update to 5.13.0.

### 5.13.0 December 9 2023

  - Cleanup deprecated extras (#2089) @staticdev
  - Fixed #1989: settings lookup when working in stream based mode
  - Fixed 80 line length for wemake linter (#2183) @skatromb
  - Add support for Python 3.12 (#2175) @hugovk
  - Fixed: add newest version to pre-commit docs (#2190) @AzulGarza
  - Fixed assertions in test_git_hook (#2196) @mgorny
  - Removed check for include_trailing_comma for the Hanging Indent wrap mode \ 
(#2192) @bp72
  - Use the standard library tomllib on sufficiently new python (#2202) @eli-schwartz
  - Update pre-commit.md version number (#2197) @nicobako
  - doc: Update black_compatibility.md (#2177) @JSS95
  - Fixed safety sept 2023 (#2178) @staticdev
  - docs: fix black profile documentation (#2163) @nijel
  - Fixed typo: indended -> indented (#2161) @vadimkerr
  - Docs(configuration/options.md): fix missing trailing spaces for hard \ 
linebreak (#2157) @JoeyTeng
  - Update pre-commit.md (#2148) @godiard
  - chore: move configurations to pyproject.toml (#2115) @SauravMaheshkar
  - Fixed typo in README (#2112) @stefmolin
  - Update version in pre-commit setup to avoid installation issue with poetry \ 
(#2103) @stefmolin
  - Skip .pytype directory by default. (#2098) @manueljacob
  - Fixed a tip block styling in the Config Files section (#2097) @Klavionik
  - Do not cache configuration files (#1995) @kaste
  - Derive settings_path from --filename (#1992) @kaste
  - Fixed year of version 5.12.0 in CHANGELOG.md (#2082) @DjLegolas
   2023-01-07 11:40:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-isort: updated to 5.11.4

5.11.4 December 21 2022

- Fixed 2038 (again): stop installing documentation files to top-level site-packages
- CI: only run release workflows for upstream
- Tests: remove obsolete toml import from the test suite
- CI: bump Poetry 1.3.1
   2022-12-18 11:24:46 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-isort: updated to 5.11.3

5.11.3 December 16 2022
- Fixed 2007: settings for py3.11
- Fixed 2038: packaging pypoetry
- Docs: renable portray
- Ci: add minimum GitHub token permissions for workflows
- Ci: general CI improvements
- Ci: add release workflow

5.11.1 December 12 2022
- Hotfix 2031: only call `colorama.init` if `colorama` is available

5.11.0 December 12 2022
- Added official support for Python 3.11
- Dropped support for Python 3.6
- Fixed problematic tests
- Fixed 1960: Rich compatibility
- Fixed 1945, 1986: Python 4.0 upper bound dependency resolving issues @staticdev
- Fixed Pyodide CDN URL
- Docs: clarify description of use_parentheses
- Fixed 1976: `black` compatibility for `.pyi` files @XuehaiPan
- Implemented 1683: magic trailing comma option
- Add missing space in unrecoverable exception message
- Fixed 1895: skip-gitignore: use allow list, not deny list @bmalehorn
- Fixed 1917: infinite loop for unmatched parenthesis
- Docs: shared profiles
- Fixed build-backend values in the example plugins
- Remove reference to jamescurtin/isort-action
- Split long cython import lines
- Update plone profile: copy of `black`, plus three settings.
- Fixed 1815, 1862: Add a command-line flag to sort all re-exports
- Fixed 1854: `lines_before_imports` appending lines after comments
- Remove redundant `multi_line_output = 3` from "Compatibility with black"
- Add tox config example
- Docs: add examples for frozenset and tuple settings
- Docs: add multiple config documentation
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS