Bug 1840693 - codespell package requires update for compatibility with python 3.8
Summary: codespell package requires update for compatibility with python 3.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: codespell
Version: 32
Hardware: noarch
OS: All
unspecified
low
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-27 12:50 UTC by Jochen
Modified: 2020-06-29 01:59 UTC (History)
1 user (show)

Fixed In Version: codespell-1.17.1-4.fc32
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-29 01:59:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jochen 2020-05-27 12:50:08 UTC
Description of problem:
=======================
The shipped codespell package is incompatible with the system's python3 package. The python code in codespell creates a warning when executed under python 3.8:

$ /usr/bin/codespell -q 2 /some/src/file.h
/usr/lib64/python3.8/codecs.py:905: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  file = builtins.open(filename, mode, buffering)


Version-Release number of selected component:
=============================================
codespell 1.16.0
[python 3.8.3]


How reproducible:
=================
Execute `codespell` in a terminal:

$ /usr/bin/codespell -q 2 /some/src/file.h
/usr/lib64/python3.8/codecs.py:905: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  file = builtins.open(filename, mode, buffering)


Actual results:
===============
prints a warning due to bad python code.


Expected results:
=================
no warning.


Additional info:
================
This problem is already fixed upstream in the codespell source code on GitHub:
https://github.com/codespell-project/codespell/pull/1401
So the codespell package maintainer should grab the current version, recompile and repackage to fix this.

Comment 1 Fedora Update System 2020-06-11 10:05:42 UTC
FEDORA-2020-12bd755a7c has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-12bd755a7c

Comment 2 Fedora Update System 2020-06-14 18:02:10 UTC
codespell-1.17.1-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-12bd755a7c

Comment 3 Fedora Update System 2020-06-15 15:39:11 UTC
FEDORA-2020-12bd755a7c has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-12bd755a7c

Comment 4 Fedora Update System 2020-06-16 01:28:51 UTC
codespell-1.17.1-2.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-12bd755a7c

Comment 5 Fedora Update System 2020-06-19 17:33:32 UTC
FEDORA-2020-12bd755a7c has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-12bd755a7c

Comment 6 Fedora Update System 2020-06-21 17:20:14 UTC
FEDORA-2020-12bd755a7c has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-12bd755a7c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-12bd755a7c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-06-29 01:59:49 UTC
FEDORA-2020-12bd755a7c has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.