Skip to content

4.0.0 release plan #9056

Closed
Closed

Description

@tk0miya

According to our annual release cycle, this April is time for the major release.
I think this schedule is good for the release. What do you think?

  • Apr 10th:
    • Beta release (feature freeze)
    • call for translation
    • Create a new branch: 4.x and 4.0.x
      • 4.x will be used for develop 4.1
      • 4.0.x will be used for develop 4.0.0 (feature freezed)
  • Apr 24th: final release

Any comments?

Note: issues marked as 4.0.0: https://github.com/sphinx-doc/sphinx/milestone/74

Activity

  1. added this to the 4.0.0 milestone on Apr 4, 2021
  2. shimizukawa commented on Apr 4, 2021

    @shimizukawa
    Member

    ㊗️

  3. ericholscher commented on Apr 6, 2021

    @ericholscher
    Contributor

    Is it possible to have the release done on a weekday, so that if major issues are hit with RTD or other downstream users, we can be around to fix them? I realize it's a trade off between folks who are doing this work in their jobs vs. free time -- but I do think it might be best to ship them on a weekday, if possible.

    We just hit this with the docutils release, and woke up Monday morning to a number of bug reports, so it would be great to coordinate this stuff a bit more. Certainly some of this can be caught in testing, but there's such a widespread user base, there will always be edge cases we can't catch in beta.

  4. grubert commented on Apr 6, 2021

    @grubert
  5. tk0miya commented on Apr 7, 2021

    @tk0miya
    MemberAuthor

    I don't know I will have time on weekdays. But it's not impossible.

  6. jakobandersen commented on Apr 7, 2021

    @jakobandersen
    Contributor

    I'm hoping to get #9023 and #8313 done for v4 due to (semi-)breaking changes. However, the latter requires #8929 to avoid breaking existing intersphinx functionality for the C domain. @tk0miya, are you fine with the design of it?

  7. tk0miya commented on Apr 7, 2021

    @tk0miya
    MemberAuthor

    Now, I don't have time to review #8929 in detail. But I think env and domains should not be coupled with intersphinx. So I'd like to implement it on 4.1.

  8. 44 remaining items

  9. gmilde commented on Apr 19, 2021

    @gmilde
    Contributor

    From now on, the 4.0.x branch is feature freezed. Please let us know
    if you still have new features for 4.0.0.

    I suggest to rise the Docutils dependency to < 0.18.

    Motivation:

    There are three known issues with Docutils 0.17:

    a) import error for docutils.writers.latex2e with locale-encoding == "ascii"
    in Python 3.5 and 3.6.

    b) AttributeError because of missing document.settings when parsing included
    rST parts with the recommonmark parser.

    c) backwards-incompatible changes to HTML output of the html5_polyglot writer.

    Issues a) and b) are fixed in Docutils 0.17.1 (released 17 Apr 2021).

    Issue c) is no bug for a new "major" release, so 4.0 is the best
    chance to get bug fixes and improvements from Docutils 0.17.x in Sphinx fast.

    If additional issues arise, these will be handled in a Docutils 0.17.2 bugfix release.

  10. ericholscher commented on Apr 19, 2021

    @ericholscher
    Contributor

    If we can confirm that Sphinx and alabaster are working well with 0.17, I'd be 👍 on pinning to docutils<0.18. We can add alabaster to the work in #9088, and confirm it there prior to release.

  11. tk0miya commented on Apr 24, 2021

    @tk0miya
    MemberAuthor

    I'm perfectly confused by the pinning of docutils. So I stopped releasing for a while. refs: #9088

  12. astrojuanlu commented on Apr 28, 2021

    @astrojuanlu
    Contributor

    @tk0miya sorry it took us a few days to finally get to this. @humitos and I have just validated that Sphinx with alabaster looks good with Sphinx 4.0 beta and docutils 0.17.

    The only noticeable visual difference I observed, after comparing both versions side to side, are in emphasized code lines (baseline, test).

    I get the impression that alabaster is not maintained anymore (last commit is from January 2020 and says "Last ever LICENSE copyright update"), therefore I don't think it's worth trying to make a new release of alabaster fixing this small visual difference.

    In conclusion: in line with the conditions we agreed here and in #9088, my understanding is that Sphinx 4.0 can pin docutils<0.18, and allow 0.17.

  13. tk0miya commented on Apr 29, 2021

    @tk0miya
    MemberAuthor

    Now I just released the 4.0.0b2 package. And I posted announce to sphinx-users, sphinx-dev and python-announce-list.
    https://pypi.org/project/Sphinx/4.0.0b2/

    I'll wait for reactions from users in a week. So the final release will be shipped on 8th May.

    Thank you for your support all :-)

  14. pradyunsg commented on Apr 29, 2021

    @pradyunsg
    Contributor

    Thanks @tk0miya and I'm glad you are feeling better! ^.^

  15. tk0miya commented on Apr 29, 2021

    @tk0miya
    MemberAuthor

    The only noticeable visual difference I observed, after comparing both versions side to side, are in emphasized code lines (baseline, test).

    I think it's not related to the themes. It comes from a change in #7942.

  16. ericholscher commented on May 3, 2021

    @ericholscher
    Contributor

    @tk0miya I think we're good to release 4.0 on 8th May 🎉 Thanks for working with us here to minimize impacts for users, and @astrojuanlu, @humitos, @pradyunsg, and others for jumping in to help test things.

    Hopefully we can make this process smoother in the future by thinking more about how to pin dependencies (#9091), and building on the work we've done here to test releases of major dependencies (#9088). I'm excited about the collaboration here, and hope we can build on it for future releases.

  17. added a commit that references this issue on May 7, 2021
  18. tk0miya commented on May 8, 2021

    @tk0miya
    MemberAuthor

    It seems no issues are reported since beta2. So I'll do releasing in tomorrow at noon in JST (about 10-12hrs later).

  19. tk0miya commented on May 9, 2021

    @tk0miya
    MemberAuthor

    From now on, I start releasing!

  20. tk0miya commented on May 9, 2021

    @tk0miya
    MemberAuthor

    Done. Thank you for all!

  21. unpinned this issue on May 9, 2021
  22. locked as resolved and limited conversation to collaborators on Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions