-
Notifications
You must be signed in to change notification settings - Fork 671
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
RELEASE: v0.15.1 + BUG: Issue warning for sphinxcontrib-bibtex + docutils>=0.18,<0.20 #1965
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1965 +/- ##
==========================================
+ Coverage 91.42% 91.48% +0.06%
==========================================
Files 7 7
Lines 688 693 +5
==========================================
+ Hits 629 634 +5
Misses 59 59
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
@AakashGfude @agoose77 @choldgraf if you had time to take a look at this that would be helpful. I will leave this open tonight and plan to do some final testing tomorrow. |
The https://jupyter-book--1965.org.readthedocs.build/en/1965/content/citations.html I am just wondering if pinning |
Hi @mmcky! I think it's great that you're thinking about this, and appropriate that you're concerned about the downstream problems. When I read the issue, I also had a hypothesis that this would not work as intended, but I wanted to validate that with a local If we pin
I created a local package repo, and performed a locking solve for the following with [tool.pdm]
[project]
name = ""
version = ""
description = ""
authors = [
{name = "Angus Hollands", email = "goosey15@gmail.com"},
]
dependencies = ["jupyter-book", "docutils"]
requires-python = ">=3.10"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[[tool.pdm.source]]
url = "http://localhost:3141/testuser/dev/+simple"
verify_ssl = false
name = "dev" This gave me This makes sense, because locking solvers usually build a topology of dependencies, and start at the top-level "root" nodes. However, this approach may introduce problems for users who are themselves pinning [tool.pdm]
[project]
name = ""
version = ""
description = ""
authors = [
{name = "Angus Hollands", email = "goosey15@gmail.com"},
]
dependencies = ["jupyter-book", "docutils>=0.18.0"]
requires-python = ">=3.10"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[[tool.pdm.source]]
url = "http://localhost:3141/testuser/dev/+simple"
verify_ssl = false
name = "pypi" produces So, if we were distributing I think we really need to do this at runtime, so that the end user can set the appropriate pins ( |
thanks for your detailed response and thoughts @agoose77 -- that makes good sense. I'll rework this to provide some runtime feedback with a message on how to fix this should a user want to use I will wait to see if that upstream PR is merged first. That is a good recommendation. |
@agoose77 this has been reworked to issue a warning when using I don't see much harm in having this here while we wait for upstream changes etc. |
I think this is a good solution; we're already seeing user run into this bug, so it would be good to try and get ahead of it. I really wish we had more oversight into what the docutils release process. It looks like we could be waiting for some time, which is really not ideal. |
thanks @agoose77 for your thoughts and comments. Greatly appreciated. I will merge this once the tests pass and I will organise a new release. Given this is a minor change I will go ahead and merge. |
- partially reverts jupyter-book#1965 - fixes jupyter-book#1970 - fixes jupyter-book#1997 - fixes jupyter-book#2022 - fixes jupyter-book#2026 - fixes jupyter-book#2037
This PR includes a minor bug fix due to interactions between
sphinxcontrib-bibtex
anddocutils>=0.18
causing malformedhtml
pages when usingsphinx-book-theme
as recorded mcmtroffaes/sphinxcontrib-bibtex#322.This minor update includes a warning message to
jupyter-book
users if using these versions ofdocutils
.This also includes updates to CHANGELOG and make a minor version increment in preparation for a new release.
docutils
)fixes #1948