Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909915 - dev-python/editorconfig-core-py: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: dev-python/editorconfig-core-py: needs to use PEP517 build (DistutilsNonPEP51...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:48 UTC by Michał Górny
Modified: 2024-02-14 09:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:48:41 UTC
This package still uses the legacy eclass code paths.  These paths are deprecated and pose a significant maintenance cost.  Please update the package to use PEP517 build mode.  For more information, please see the Python Guide, particularly; https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-517-builds
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 20:40:51 UTC
[Adding this comment en-masse, sorry for the noise, but it's important.)

1. Please take particular care to check file diffs before/after, possibly using `iwdevtools`. Keep a particular eye out for e.g. config files now missing from /etc and instead being in /usr/lib/python*/site-packages, etc.

2. Please make sure to do the migration in a new revision in ~arch, partly because of 1.
Comment 2 Anton Bolshakov 2024-02-02 00:51:11 UTC
Please also add python3_12 target. It should be supported, according to the upstream:
https://github.com/editorconfig/editorconfig-core-py/issues/47#issuecomment-1921336144
Comment 3 Anton Bolshakov 2024-02-12 09:30:04 UTC
https://github.com/editorconfig/editorconfig-core-py/tags 
v0.12.4 is released, python 3.12 was added as a supported version
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-13 18:49:12 UTC
I've bumped it and switched to PEP517.
Comment 5 Anton Bolshakov 2024-02-14 07:32:55 UTC
you forgot to add python 3.12 as well :(
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-14 09:54:44 UTC
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-02-13 19:48:20 +0100
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-02-13 19:49:12 +0100

    dev-python/editorconfig: Enable py3.12
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>