-
Notifications
You must be signed in to change notification settings - Fork 470
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
feat: check and see if we can run on python 3.13 #4663
Comments
Hello, I have created 2 env one with python 3.11 and another with python 3.13
Yes, here are the differences
Yes, there are no version differences
For some reason on both 3.11 and 3.13 these following tests are failing on my system
No,
On running
|
I noticed that a significant number of tests are being skipped. Is this behaviour intentional, or could it indicate a configuration issue on my end? I also resolved the above Playwright-related errors by installing Playwright as required, and those errors no longer appear. However, 19 tests are still failing. |
Skipped tests are expected; we run a lot of tests only in long test mode so there should be something like 1200 skipped tests if you don't have long tests enabled. I forget how many other skipped tests we have outside of those, but probably a dozen or so? You can check against what we're running in Github Actions if you want. The tests that are skipped for a non-longtest reason should be marked with explanations as to why they're being skipped if you run pytest in a more verbose mode. You can enable long tests by setting LONG_TESTS=1. I usually do this all on one line like so on linux:
You can also set it in your environment if you want to run long tests all the time, but some of those tests include removing your entire database cache and running NVD updates, so I don't recommend that as a default unless you're actually working on the NVD related code. |
Thank you for your response!
Upon trying this on both envs I got something like 570 Fails and most of them are Run time error
How can I fix this? I’ll put up a PR so we can check it directly against GitHub checks for 3.13. That should make things easier.
Thanks, I shall try. |
We're working on turning off python 3.8 support but haven't officially started testing on python 3.13. Usually there's a bit of lag while we wait for all of our dependencies to support any new version of python, but it's been a few months so it's probably safe to start trying.
So, if someone's got time, it would be helpful if someone took the time to install python 3.13 and see what works and what doesn't?
If all of those things look good, we'll need to enable 3.13 testing in some CI jobs and list it as a supported version in setup.py, but we may also need to do some (hopefully minor!) fixes before we get to that point.
The text was updated successfully, but these errors were encountered: