Bug 2254945

Summary: deprecation warning: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal
Product: [Fedora] Fedora Reporter: Коренберг Марк <socketpair>
Component: python-aiohttpAssignee: Ben Beasley <code>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: code, igor.raits, mail, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-aiohttp-3.9.1-1.fc39 python-aiohttp-3.9.1-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-08 01:23:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2253439, 2253440    
Bug Blocks:    

Description Коренберг Марк 2023-12-18 04:47:06 UTC
Description of problem:

aiohttp works, but Python 3.12 of Fedora 39 curses about deprecated functions. Aiohttp already has fixed them, but not in Fedora. Please use the latest aiohttp version.

Comment 1 Ben Beasley 2023-12-18 16:29:10 UTC
An upgrade to python-aiohttp 3.9.1 is planned in F39 and F38 due to associated security fixes, and I’ve done a full impact check in COPR to confirm compatibility with dependent packages. However, I’m waiting for the maintainer to merge the necessary changes in python-pysqueezebox (bug 2253439) and python-wled (bug 2253440) back to those release branches, or for enough time to have elapsed since I tried all contact methods to justify asking a provenpackager to do it. We’re almost at that point, I think.

Note that while Fedora packages are occasionally patched specifically to fix DeprecationWarnings, they are not generally considered bugs. It’s good to have advance notice of future changes, and it’s often helpful for Fedora packagers to point these out to upstream maintainers or even offer patches, but deprecated APIs still work fine right now.

Note also that many packages depend on python-aiohttp, and it occasionally has breaking changes, so under https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ the version in stable releases will not always be the latest upstream version.

Comment 2 Fedora Update System 2023-12-30 02:26:07 UTC
FEDORA-2023-a04cc349e1 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a04cc349e1

Comment 3 Fedora Update System 2023-12-30 02:26:16 UTC
FEDORA-2023-1f06098c71 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f06098c71

Comment 4 Fedora Update System 2023-12-31 01:51:03 UTC
FEDORA-2023-a04cc349e1 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a04cc349e1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a04cc349e1

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

Comment 5 Fedora Update System 2023-12-31 02:12:17 UTC
FEDORA-2023-1f06098c71 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1f06098c71`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f06098c71

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

Comment 6 Fedora Update System 2024-01-08 01:23:40 UTC
FEDORA-2023-a04cc349e1 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-01-08 01:34:15 UTC
FEDORA-2023-1f06098c71 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.