Bug 2115204 - Updating python-dateparser to 1.1.4
Summary: Updating python-dateparser to 1.1.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-dateparser
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-04 06:21 UTC by Lyes Saadi
Modified: 2023-09-18 04:43 UTC (History)
5 users (show)

Fixed In Version: python-dateparser-1.1.7-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-15 19:31:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lyes Saadi 2022-08-04 06:21:08 UTC
Hello,

python3-dateparser is currently on version 0.7.6 on Fedora. Meanwhile, 1.1.1 was released. Now, the issue is that komikku 1.0 (not yet released) will depend on 1.1.1 while all other consumers (home-assistant-cli and python3-maya) depend on 0.7.6, and python3-dateparser 1.0 introduced some breaking changes.

Dependent packages:
```
❯ sudo dnf repoquery -C --whatrequires python3-dateparser
Dernière vérification de l’expiration des métadonnées effectuée il y a 16:56:49 le mer. 03 août 2022 15:09:38.
home-assistant-cli-0:0.9.4-2.fc36.noarch
komikku-0:0.37.0-1.fc36.noarch
komikku-0:0.40.0-1.fc36.noarch
python3-maya-0:0.6.1-6.fc36.noarch
```

Our options:
1. Introducing a compat-package
2. Patching python3-maya (since upstream seems dead) and working with upstream (... so fab himself) to update home-assistant-cli to python3-dateparser 1.1.1
3. Breaking everything and watching the world burn

Comment 1 Ben Cotton 2022-08-09 13:35:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 Lyes Saadi 2022-09-24 23:26:30 UTC
Hey!

Komikku 1.0.0 was just released. Have you decided what to do? Or would you want some help with this? I could package and maintain a compat-package if you want.

Meanwhile, I'll also ask the Komikku maintainer if the dateparser version pin is really necessary or if we can (temporarily) ignore it.

Comment 3 Lyes Saadi 2022-09-24 23:34:30 UTC
https://gitlab.com/valos/Komikku/-/issues/214

Comment 4 Lyes Saadi 2022-09-25 13:07:26 UTC
Okay, so, this is no longer urgent on our part. The 1.1.1 version pin was due to the regex bug fix, which was backported to 0.7.6 anyway. As such, we'll roll with the 0.7.6 version.

Comment 5 Artem 2022-12-14 13:26:25 UTC
Latest version of Komikku pined required dateparser version to 1.1.4 [1]. Can we update Fedora dateparser package to latest version for >= f37?

[1]: https://gitlab.com/valos/Komikku/-/blob/main/requirements.txt#L7

Comment 6 Davide Cavalca 2023-01-16 23:56:20 UTC
Looks like this is also needed for python-xword-dl

Comment 7 Ben Beasley 2023-03-11 19:02:27 UTC
I need this for the latest version of python-aws-sam-translator, so I have proposed an updated spec file. Please review it (or update this package in your own preferred way) at your earliest convenience.

https://src.fedoraproject.org/rpms/python-dateparser/pull-request/1

Requires:

  - https://src.fedoraproject.org/rpms/home-assistant-cli/pull-request/2 (@fab; can be merged before updating this)
  - https://src.fedoraproject.org/rpms/python-aws-sam-translator/pull-request/1 (mine; should be merged when this is updated)

I used COPR to confirm that all affected packages build correctly when all three PR’s are combined: https://copr.fedorainfracloud.org/coprs/music/dateparser/packages/

Comment 8 Ben Beasley 2023-03-13 02:59:32 UTC
It turns out that python-aws-sam-translator uses this package for integration tests that can’t be run offline or without real AWS resources anyway, so I was able to patch out the dependency with no loss in test coverage. I’m still willing to help get this package up to date if there’s anything else I can do, but I’m not going to press the issue further.

Comment 9 Fedora Update System 2023-04-15 19:19:40 UTC
FEDORA-2023-b1ded06bc7 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b1ded06bc7

Comment 10 Fedora Update System 2023-04-15 19:31:03 UTC
FEDORA-2023-b1ded06bc7 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Red Hat Bugzilla 2023-09-18 04:43:50 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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