-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Removed Google colab error warning. #3886
Removed Google colab error warning. #3886
Conversation
Signed-off-by: Pradyot Ranjan <[email protected]>
Thanks @prady0t, could you remove these lines: # Temporary fix for Python 3.12 CI. TODO: remove after
# https://bitbucket.org/pybtex-devs/pybtex/issues/169/replace-pkg_resources-with
# is fixed
session.install("setuptools", silent=False) wherever they exist in |
Signed-off-by: Pradyot Ranjan <[email protected]>
Sorry for making changes lazily. 🙂 I've updated the PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3886 +/- ##
===========================================
- Coverage 99.60% 99.60% -0.01%
===========================================
Files 259 259
Lines 21273 21268 -5
===========================================
- Hits 21189 21184 -5
Misses 84 84 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @prady0t! This looks nice! See my comment below -
Also, it looks like the doctests on Python 3.12 are failing (strange) but all other jobs on Python 3.12 pass. Could we re-add the |
It could be a latex parsing issue:
|
Yes, that warning would be good to fix too. But the failure seems to be coming from a Sphinx-related warning: |
Signed-off-by: Pradyot Ranjan <[email protected]>
I've re added setuptools installation to the doctests session and removed checks for error messages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @prady0t! This looks good to me from the pybtex
point of view. I'll leave the setuptools bit for @agriyakhetarpal to review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The doctests and example scripts are still failing on Python 3.12, and I'm not sure why. We have two options:
- Add the
session.install("setuptools")
hack back again for the time being - Modify these sessions in the workflows to run on Python 3.11 instead.
I would go forward with the first option at this time, because using the latest available Python version will help us catch any related (or unrelated) issues early.
Not all of our functionality works on 3.12, so 3.11 is probably better |
Yes, I had considered that when posting my comment – I had checked the example scripts and none of them are currently using unsupported functionality (which is |
I would say that it is better to go with a version where everything runs, we can always upgrade the version later. It is for the documentation generation, not something that must be the newest python |
Sure, let's do it for just the doctests, but keep Python 3.12 for the example scripts (because it matches with the example notebooks tests). |
would doing
work? |
You don't need to change the |
Signed-off-by: Pradyot Ranjan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @prady0t! All good now. As discussed, let's revisit python-bibtexparser
at some other time.
Yess. I'll be more than happy to rework here. |
* Removed Google colab error warning Signed-off-by: Pradyot Ranjan <[email protected]> * removed temp fixes Signed-off-by: Pradyot Ranjan <[email protected]> * removed redundant code Signed-off-by: Pradyot Ranjan <[email protected]> * run CI om python 3.11 Signed-off-by: Pradyot Ranjan <[email protected]> --------- Signed-off-by: Pradyot Ranjan <[email protected]> Co-authored-by: Pradyot Ranjan <[email protected]> Co-authored-by: Agriya Khetarpal <[email protected]> Co-authored-by: Eric G. Kratz <[email protected]>
Description
Follow-up of #3740
Fixes # (issue)
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: