diff mbox series

[meta-python] python3-isort: upgrade 5.10.1 -> 5.11.3

Message ID 1671538789-7206-3-git-send-email-wangmy@fujitsu.com
State Under Review
Headers show
Series [meta-python] python3-isort: upgrade 5.10.1 -> 5.11.3 | expand

Commit Message

Mingyu Wang (Fujitsu) Dec. 20, 2022, 12:19 p.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
===========
 Fixed #2007: settings for py3.11 (#2040)
 Fixed #2038: packaging pypoetry (#2042)
 Docs: renable portray (#2043)
 Ci: add minimum GitHub token permissions for workflows (#1969)
 Ci: general CI improvements (#2041)
 Ci: add release workflow (#2026)
 Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
 Hotfix #2031: only call colorama.init if colorama is available (#2032)
 Added official support for Python 3.11 (#1996, #2008, #2011)
 Dropped support for Python 3.6 (#2019)
 Fixed problematic tests (#2021, #2022)
 Fixed #1960: Rich compatibility (#1961)
 Fixed #1945, #1986: Python 4.0 upper bound dependency resolving issues
 Fixed Pyodide CDN URL (#1991)
 Docs: clarify description of use_parentheses (#1941)
 Fixed #1976: black compatibility for .pyi files
 Implemented #1683: magic trailing comma option (#1876)
 Add missing space in unrecoverable exception message (#1933)
 Fixed #1895: skip-gitignore: use allow list, not deny list
 Fixed #1917: infinite loop for unmatched parenthesis (#1919)
 Docs: shared profiles (#1896)
 Fixed build-backend values in the example plugins (#1892)
 Remove reference to jamescurtin/isort-action (#1885)
 Split long cython import lines (#1931)
 Update plone profile: copy of black, plus three settings. (#1926)
 Fixed #1815, #1862: Add a command-line flag to sort all re-exports (#1863)
 Fixed #1854: lines_before_imports appending lines after comments (#1861)
 Remove redundant multi_line_output = 3 from "Compatibility with black" (#1858)
 Add tox config example (#1856)
 Docs: add examples for frozenset and tuple settings (#1822)
 Docs: add multiple config documentation (#1850)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-isort_5.10.1.bb => python3-isort_5.11.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-isort_5.10.1.bb => python3-isort_5.11.3.bb} (85%)

+++ b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
@@ -4,7 +4,7
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489"
 
-SRC_URI[sha256sum] = "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"
+SRC_URI[sha256sum] = "a8ca25fbfad0f7d5d8447a4314837298d9f6b23aed8618584c894574f626b64b"
 
 inherit pypi python_poetry_core

Comments

Khem Raj Dec. 20, 2022, 5:59 p.m. UTC | #1
This ends with checksum mismatch

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2253/steps/14/logs/errors

On Tue, Dec 20, 2022 at 4:20 AM wangmy <wangmy@fujitsu.com> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> Changelog:
> ===========
>  Fixed #2007: settings for py3.11 (#2040)
>  Fixed #2038: packaging pypoetry (#2042)
>  Docs: renable portray (#2043)
>  Ci: add minimum GitHub token permissions for workflows (#1969)
>  Ci: general CI improvements (#2041)
>  Ci: add release workflow (#2026)
>  Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
>  Hotfix #2031: only call colorama.init if colorama is available (#2032)
>  Added official support for Python 3.11 (#1996, #2008, #2011)
>  Dropped support for Python 3.6 (#2019)
>  Fixed problematic tests (#2021, #2022)
>  Fixed #1960: Rich compatibility (#1961)
>  Fixed #1945, #1986: Python 4.0 upper bound dependency resolving issues
>  Fixed Pyodide CDN URL (#1991)
>  Docs: clarify description of use_parentheses (#1941)
>  Fixed #1976: black compatibility for .pyi files
>  Implemented #1683: magic trailing comma option (#1876)
>  Add missing space in unrecoverable exception message (#1933)
>  Fixed #1895: skip-gitignore: use allow list, not deny list
>  Fixed #1917: infinite loop for unmatched parenthesis (#1919)
>  Docs: shared profiles (#1896)
>  Fixed build-backend values in the example plugins (#1892)
>  Remove reference to jamescurtin/isort-action (#1885)
>  Split long cython import lines (#1931)
>  Update plone profile: copy of black, plus three settings. (#1926)
>  Fixed #1815, #1862: Add a command-line flag to sort all re-exports (#1863)
>  Fixed #1854: lines_before_imports appending lines after comments (#1861)
>  Remove redundant multi_line_output = 3 from "Compatibility with black" (#1858)
>  Add tox config example (#1856)
>  Docs: add examples for frozenset and tuple settings (#1822)
>  Docs: add multiple config documentation (#1850)
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../python/{python3-isort_5.10.1.bb => python3-isort_5.11.3.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-python/recipes-devtools/python/{python3-isort_5.10.1.bb => python3-isort_5.11.3.bb} (85%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> similarity index 85%
> rename from meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> rename to meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> index 27977821c..4b99c1755 100644
> --- a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> @@ -4,7 +4,7
>  SECTION = "devel/python"
>  LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489"
>
> -SRC_URI[sha256sum] = "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"
> +SRC_URI[sha256sum] = "a8ca25fbfad0f7d5d8447a4314837298d9f6b23aed8618584c894574f626b64b"
>
>  inherit pypi python_poetry_core
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#100142): https://lists.openembedded.org/g/openembedded-devel/message/100142
> Mute This Topic: https://lists.openembedded.org/mt/95784531/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Mingyu Wang (Fujitsu) Dec. 21, 2022, 3:20 a.m. UTC | #2
stdio: ERROR: python3-isort-5.11.3-r0 do_fetch: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/i/isort/isort-5.11.3.tar.gz'. Checksum mismatch!

I downloaded the package from the download address in the error message and checked the sum, which is the same as the sum value in the patch. 
The log is as follows:

$ wget https://files.pythonhosted.org/packages/source/i/isort/isort-5.11.3.tar.gz
--2022-12-21 12:13:08--  https://files.pythonhosted.org/packages/source/i/isort/isort-5.11.3.tar.gz
Resolving rep.proxy.nic.fujitsu.com (rep.proxy.nic.fujitsu.com)... 10.128.145.88
Connecting to rep.proxy.nic.fujitsu.com (rep.proxy.nic.fujitsu.com)|10.128.145.88|:8080... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://files.pythonhosted.org/packages/e2/43/d99899bfa24a3914f0318536918ab8c91c09350b5482e4e9bb7291840ae3/isort-5.11.3.tar.gz [following]
--2022-12-21 12:13:08--  https://files.pythonhosted.org/packages/e2/43/d99899bfa24a3914f0318536918ab8c91c09350b5482e4e9bb7291840ae3/isort-5.11.3.tar.gz
Reusing existing connection to files.pythonhosted.org:443.
Proxy request sent, awaiting response... 200 OK
Length: 187083 (183K) [application/x-tar]
Saving to: ‘isort-5.11.3.tar.gz’

isort-5.11.3.tar.gz                                 100%[================================================================================================================>] 182.70K  --.-KB/s    in 0.04s

2022-12-21 12:13:08 (4.72 MB/s) - ‘isort-5.11.3.tar.gz’ saved [187083/187083]

$ sha256sum isort-5.11.3.tar.gz
a8ca25fbfad0f7d5d8447a4314837298d9f6b23aed8618584c894574f626b64b  isort-5.11.3.tar.gz

This is also the result of using devtool upgrade. And there's no problem in the local environment when using bitbake.

I don't know what the problem is.



  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wangmy@fujitsu.com
http://www.fujitsu.com/cn/fnst/

> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Wednesday, December 21, 2022 2:00 AM
> To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-python] [PATCH] python3-isort: upgrade 5.10.1 -> 5.11.3
> 
> This ends with checksum mismatch
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2253/steps/1
> 4/logs/errors
> 
> On Tue, Dec 20, 2022 at 4:20 AM wangmy <wangmy@fujitsu.com> wrote:
> >
> > From: Wang Mingyu <wangmy@fujitsu.com>
> >
> > Changelog:
> > ===========
> >  Fixed #2007: settings for py3.11 (#2040)  Fixed #2038: packaging
> > pypoetry (#2042)
> >  Docs: renable portray (#2043)
> >  Ci: add minimum GitHub token permissions for workflows (#1969)
> >  Ci: general CI improvements (#2041)
> >  Ci: add release workflow (#2026)
> >  Hotfix #2034: isort --version is not accurate on 5.11.x releases
> > (#2034)  Hotfix #2031: only call colorama.init if colorama is
> > available (#2032)  Added official support for Python 3.11 (#1996,
> > #2008, #2011)  Dropped support for Python 3.6 (#2019)  Fixed
> > problematic tests (#2021, #2022)  Fixed #1960: Rich compatibility
> > (#1961)  Fixed #1945, #1986: Python 4.0 upper bound dependency
> > resolving issues  Fixed Pyodide CDN URL (#1991)
> >  Docs: clarify description of use_parentheses (#1941)  Fixed #1976:
> > black compatibility for .pyi files  Implemented #1683: magic trailing
> > comma option (#1876)  Add missing space in unrecoverable exception
> > message (#1933)  Fixed #1895: skip-gitignore: use allow list, not deny
> > list  Fixed #1917: infinite loop for unmatched parenthesis (#1919)
> >  Docs: shared profiles (#1896)
> >  Fixed build-backend values in the example plugins (#1892)  Remove
> > reference to jamescurtin/isort-action (#1885)  Split long cython
> > import lines (#1931)  Update plone profile: copy of black, plus three
> > settings. (#1926)  Fixed #1815, #1862: Add a command-line flag to sort
> > all re-exports (#1863)  Fixed #1854: lines_before_imports appending
> > lines after comments (#1861)  Remove redundant multi_line_output = 3
> > from "Compatibility with black" (#1858)  Add tox config example
> > (#1856)
> >  Docs: add examples for frozenset and tuple settings (#1822)
> >  Docs: add multiple config documentation (#1850)
> >
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > ---
> >  .../python/{python3-isort_5.10.1.bb => python3-isort_5.11.3.bb} | 2
> > +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)  rename
> > meta-python/recipes-devtools/python/{python3-isort_5.10.1.bb =>
> > python3-isort_5.11.3.bb} (85%)
> >
> > diff --git
> > a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> > b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> > similarity index 85%
> > rename from
> > meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> > rename to meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> > index 27977821c..4b99c1755 100644
> > --- a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> > +++ b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> > @@ -4,7 +4,7
> >  SECTION = "devel/python"
> >  LIC_FILES_CHKSUM =
> "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e
> 1489"
> >
> > -SRC_URI[sha256sum] =
> "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"
> > +SRC_URI[sha256sum] =
> "a8ca25fbfad0f7d5d8447a4314837298d9f6b23aed8618584c894574f626b64b"
> >
> >  inherit pypi python_poetry_core
> >
> > --
> > 2.25.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#100142):
> > https://lists.openembedded.org/g/openembedded-devel/message/100142
> > Mute This Topic: https://lists.openembedded.org/mt/95784531/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
> > [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Khem Raj Dec. 21, 2022, 4:32 a.m. UTC | #3
yeah it looks like an AB error.

On Tue, Dec 20, 2022 at 7:20 PM wangmy@fujitsu.com <wangmy@fujitsu.com> wrote:
>
> stdio: ERROR: python3-isort-5.11.3-r0 do_fetch: Fetcher failure for URL: 'https://files.pythonhosted.org/packages/source/i/isort/isort-5.11.3.tar.gz'. Checksum mismatch!
>
> I downloaded the package from the download address in the error message and checked the sum, which is the same as the sum value in the patch.
> The log is as follows:
>
> $ wget https://files.pythonhosted.org/packages/source/i/isort/isort-5.11.3.tar.gz
> --2022-12-21 12:13:08--  https://files.pythonhosted.org/packages/source/i/isort/isort-5.11.3.tar.gz
> Resolving rep.proxy.nic.fujitsu.com (rep.proxy.nic.fujitsu.com)... 10.128.145.88
> Connecting to rep.proxy.nic.fujitsu.com (rep.proxy.nic.fujitsu.com)|10.128.145.88|:8080... connected.
> Proxy request sent, awaiting response... 302 Found
> Location: https://files.pythonhosted.org/packages/e2/43/d99899bfa24a3914f0318536918ab8c91c09350b5482e4e9bb7291840ae3/isort-5.11.3.tar.gz [following]
> --2022-12-21 12:13:08--  https://files.pythonhosted.org/packages/e2/43/d99899bfa24a3914f0318536918ab8c91c09350b5482e4e9bb7291840ae3/isort-5.11.3.tar.gz
> Reusing existing connection to files.pythonhosted.org:443.
> Proxy request sent, awaiting response... 200 OK
> Length: 187083 (183K) [application/x-tar]
> Saving to: ‘isort-5.11.3.tar.gz’
>
> isort-5.11.3.tar.gz                                 100%[================================================================================================================>] 182.70K  --.-KB/s    in 0.04s
>
> 2022-12-21 12:13:08 (4.72 MB/s) - ‘isort-5.11.3.tar.gz’ saved [187083/187083]
>
> $ sha256sum isort-5.11.3.tar.gz
> a8ca25fbfad0f7d5d8447a4314837298d9f6b23aed8618584c894574f626b64b  isort-5.11.3.tar.gz
>
> This is also the result of using devtool upgrade. And there's no problem in the local environment when using bitbake.
>
> I don't know what the problem is.
>
>
>
>   --
> Best Regards
> ---------------------------------------------------
> Wang Mingyu
> Development Dept.I
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
> TEL: +86+25-86630566-8568
> COINS: 79988548
> FAX: +86+25-83317685
> MAIL: wangmy@fujitsu.com
> http://www.fujitsu.com/cn/fnst/
>
> > -----Original Message-----
> > From: Khem Raj <raj.khem@gmail.com>
> > Sent: Wednesday, December 21, 2022 2:00 AM
> > To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com>
> > Cc: openembedded-devel@lists.openembedded.org
> > Subject: Re: [oe] [meta-python] [PATCH] python3-isort: upgrade 5.10.1 -> 5.11.3
> >
> > This ends with checksum mismatch
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2253/steps/1
> > 4/logs/errors
> >
> > On Tue, Dec 20, 2022 at 4:20 AM wangmy <wangmy@fujitsu.com> wrote:
> > >
> > > From: Wang Mingyu <wangmy@fujitsu.com>
> > >
> > > Changelog:
> > > ===========
> > >  Fixed #2007: settings for py3.11 (#2040)  Fixed #2038: packaging
> > > pypoetry (#2042)
> > >  Docs: renable portray (#2043)
> > >  Ci: add minimum GitHub token permissions for workflows (#1969)
> > >  Ci: general CI improvements (#2041)
> > >  Ci: add release workflow (#2026)
> > >  Hotfix #2034: isort --version is not accurate on 5.11.x releases
> > > (#2034)  Hotfix #2031: only call colorama.init if colorama is
> > > available (#2032)  Added official support for Python 3.11 (#1996,
> > > #2008, #2011)  Dropped support for Python 3.6 (#2019)  Fixed
> > > problematic tests (#2021, #2022)  Fixed #1960: Rich compatibility
> > > (#1961)  Fixed #1945, #1986: Python 4.0 upper bound dependency
> > > resolving issues  Fixed Pyodide CDN URL (#1991)
> > >  Docs: clarify description of use_parentheses (#1941)  Fixed #1976:
> > > black compatibility for .pyi files  Implemented #1683: magic trailing
> > > comma option (#1876)  Add missing space in unrecoverable exception
> > > message (#1933)  Fixed #1895: skip-gitignore: use allow list, not deny
> > > list  Fixed #1917: infinite loop for unmatched parenthesis (#1919)
> > >  Docs: shared profiles (#1896)
> > >  Fixed build-backend values in the example plugins (#1892)  Remove
> > > reference to jamescurtin/isort-action (#1885)  Split long cython
> > > import lines (#1931)  Update plone profile: copy of black, plus three
> > > settings. (#1926)  Fixed #1815, #1862: Add a command-line flag to sort
> > > all re-exports (#1863)  Fixed #1854: lines_before_imports appending
> > > lines after comments (#1861)  Remove redundant multi_line_output = 3
> > > from "Compatibility with black" (#1858)  Add tox config example
> > > (#1856)
> > >  Docs: add examples for frozenset and tuple settings (#1822)
> > >  Docs: add multiple config documentation (#1850)
> > >
> > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > > ---
> > >  .../python/{python3-isort_5.10.1.bb => python3-isort_5.11.3.bb} | 2
> > > +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)  rename
> > > meta-python/recipes-devtools/python/{python3-isort_5.10.1.bb =>
> > > python3-isort_5.11.3.bb} (85%)
> > >
> > > diff --git
> > > a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> > > b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> > > similarity index 85%
> > > rename from
> > > meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> > > rename to meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> > > index 27977821c..4b99c1755 100644
> > > --- a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
> > > +++ b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
> > > @@ -4,7 +4,7
> > >  SECTION = "devel/python"
> > >  LIC_FILES_CHKSUM =
> > "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e
> > 1489"
> > >
> > > -SRC_URI[sha256sum] =
> > "e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"
> > > +SRC_URI[sha256sum] =
> > "a8ca25fbfad0f7d5d8447a4314837298d9f6b23aed8618584c894574f626b64b"
> > >
> > >  inherit pypi python_poetry_core
> > >
> > > --
> > > 2.25.1
> > >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#100142):
> > > https://lists.openembedded.org/g/openembedded-devel/message/100142
> > > Mute This Topic: https://lists.openembedded.org/mt/95784531/1997914
> > > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
> > > [raj.khem@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb b/meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-isort_5.10.1.bb
rename to meta-python/recipes-devtools/python/python3-isort_5.11.3.bb
index 27977821c..4b99c1755 100644
--- a/meta-python/recipes-devtools/python/python3-isort_5.10.1.bb