3
28
Fork
You've already forked pyforgejo
6

Python 3.14: Any chance of bumping pydantic-core version? #37

Closed
opened 2025年09月20日 12:19:56 +02:00 by voltagex · 5 comments

Python 3.14rc3 on Windows has some kind of issue with pydantic-core 2.33 that I haven't worked out yet.

This may sort itself out when 3.14 is released and people build wheels for everything.

Even relaxing the version constraint may work here.

Python 3.14rc3 on Windows has some kind of issue with pydantic-core 2.33 that I haven't worked out yet. This may sort itself out when 3.14 is released and people build wheels for everything. Even relaxing the version constraint may work here.

It has not sorted out yet, there's still this warning:

.../site-packages/pyforgejo/core/pydantic_utilities.py:14: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
 from pydantic.v1.datetime_parse import parse_date as parse_date

Reference: mathisdt/forgejo-backup#4

It has not sorted out yet, there's still this warning: ``` .../site-packages/pyforgejo/core/pydantic_utilities.py:14: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater. from pydantic.v1.datetime_parse import parse_date as parse_date ``` Reference: mathisdt/forgejo-backup#4

I updated pydantic-core to >=2.40.0 in pyforgejo 2.0.7, does it solve your issue @voltagex @mathisdt?

I updated pydantic-core to >=2.40.0 in pyforgejo 2.0.7, does it solve your issue @voltagex @mathisdt?

Thanks! At least for me, the warning is gone.

Thanks! At least for me, the warning is gone.

Perfect, thanks both.

@voltagex you can reopen if needed.

Perfect, thanks both. @voltagex you can reopen if needed.

Thanks for this, haven't had a chance to get back to trying it yet.

Thanks for this, haven't had a chance to get back to trying it yet.
Sign in to join this conversation.
No Branch/Tag specified
main
1.0
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.4
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harabat/pyforgejo#37
Reference in a new issue
harabat/pyforgejo
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?