-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import name 'FieldValidationInfo' from 'pydantic' #2172
Comments
yeah, FieldValidationInfo has been deprecated: https://docs.pydantic.dev/latest/concepts/validators/ |
I'm now getting a similar error message from the latest flatpak:
|
I've tested by uninstalling and reinstalling the flatpak: I get this warning message:
Then the same import error. I note the error message refers to "python3.9" but I've confirmed that I have Python 3.10:
|
Hi @Murmele , do you think this error can be triggered by some old requirement in https://github.com/flathub/org.tuxemon.Tuxemon/blob/master/python3-requirements.json? I tried to update this part with the new packages, but I don't know how it works, if both need to be tar.gz or whl, etc., because there are two other dependency in pydantic 2.4: dependencies:
I don't know if these need to be added.
pygame-ce 2.3.2 is missing: https://pypi.org/project/pygame-ce/#files |
Hi, did you try to update by using the updateRequirements.sh script? |
@Murmele I did it, opened a PR, let's see if it works flathub/org.tuxemon.Tuxemon#3 I tried to bump pydantic to the last version as well as adding maturin among the requirements, still fails |
Describe the bug
I downloaded the latest flatpak and tried to run on Linux Mint. It installed, but when I tried to run it, I got the following error message:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: