Skip to content

Release 1.81 #4227

Closed
Closed

Description

@JoaoRodrigues

As I'm preparing the upcoming 1.81 release (instructions here), I thought it'd be useful (for me at least!) to centralize all questions, issues, etc.

@peterjc @mdehoon please feel free to link issues that you think should be included in the release. This will be a good way to "track" them so that they don't fall through the cracks.

Activity

  1. self-assigned this
    on Feb 5, 2023
  2. mdehoon commented on Feb 9, 2023

    @mdehoon
    Contributor

    #4192 this one is finished.

  3. JoaoRodrigues commented on Feb 12, 2023

    @JoaoRodrigues
    MemberAuthor

    Will start the build now. Please refrain from pushing new code in unless it's absolutely necessary!

  4. JoaoRodrigues commented on Feb 12, 2023

    @JoaoRodrigues
    MemberAuthor

    We should update the doc building instructions to:

    1. Specify where to place hevea.sty (easier to symlink it to Doc/)
    2. Add rm -rf _minted-Tutorial to make clean -C Doc to avoid pygments errors (undefined control sequence)
  5. JoaoRodrigues commented on Feb 12, 2023

    @JoaoRodrigues
    MemberAuthor

    One test is failing: TestQblast.test_short_query, specifically on the nt database search. Running the query on BLAST does not indeed produce any results, I wonder if the database was updated and the hit that this used to match to removed?

    Screen Shot 2023-02-12 at 16 17 13

  6. JoaoRodrigues commented on Feb 12, 2023

    @JoaoRodrigues
    MemberAuthor

    Sphinx API docs failing because of #4192 (tabs). The error from CircleCI (and running Sphinx locally) were very obtuse. I installed sphinx-lint and it pointed exactly at the problem/lines. Something to consider. There was also an issue with missing :: in the docstring, which was the actual problem.

  7. JoaoRodrigues commented on Feb 12, 2023

    @JoaoRodrigues
    MemberAuthor

    Note to future release builders. If you get errors about duplicate entries in the toctree about C extensions, check if you don't have multiple compiled extensions for different python versions.

  8. JoaoRodrigues commented on Feb 13, 2023

    @JoaoRodrigues
    MemberAuthor
    • Tutorial and FAQ updated.
    • Tarballs uploaded
  9. JoaoRodrigues commented on Feb 13, 2023

    @JoaoRodrigues
    MemberAuthor

    PyPI updated, website updated.

    Waiting on the docs PR approval (for the API docs).

    @peterjc not sure we are still doing the release announcement? I don't think I got it the last time ..

  10. JoaoRodrigues commented on Feb 13, 2023

    @JoaoRodrigues
    MemberAuthor

    PS. How do we do the conda release? That's news for me and I didn't understand if we have to fork the repo ourselves or there is an action looking for PyPI updates.

    conda-forge/biopython-feedstock#40

  11. peterjc commented on Feb 17, 2023

    @peterjc
    Member

    Looks like I never did the release announcement for Biopython 1.80, oops:

    https://www.open-bio.org/category/obf-projects/biopython/

    You have an account there already (JoaoRodrigues), under you gmail address.

  12. peterjc commented on Feb 17, 2023

    @peterjc
    Member

    If sphinx-lint is quick to install and run, adding that to the CI is very sensible. Would it make sense as part of the doc building step? i.e. Fail at linting (with a clear message) rather than failing at building (which can be cryptic).

  13. peterjc commented on Feb 17, 2023

    @peterjc
    Member

    Looks like I missed all the excitement on Monday - glad to see you could handle all the steps (bar biopython/docs#8 where the permissions puzzle me). Thank you Joao!

  14. corneliusroemer commented on Feb 17, 2023

    @corneliusroemer
    Contributor

    Please add new deprecations to release notes so they are easy to find - the release notes are a bit sparse:
    image

    Also see #4239

  15. JoaoRodrigues commented on Feb 17, 2023

    @JoaoRodrigues
    MemberAuthor

    Hi @corneliusroemer, apologies for the troubles.

    For future reference, "big" changes are usually noted down in the release notes in NEWS.rst, under the header for each release. Deprecations are also (usually) warned about for a couple of releases before removing the code altogether. When preparing the release, I had a look at the git log since November (last release) and probably failed to notice that deprecation. I'll make an edit to the NEWS.rst file to reflect this (@mdehoon, do you agree?).

  16. corneliusroemer commented on Feb 17, 2023

    @corneliusroemer
    Contributor

    No worries, these things happen! Maybe good to have some better structure related to deprecations in the future? Like a block in NEWS.rst that lists everything deprecated in this version and in the future? Something like:

    Deprecations

    Removed in v1.81

    • Unknown seq

    Planned removal in v1.82

    • XYZ

    Planned removal in v1.83

    • foo

    This is the PR where the removal happened: #4173

    Maybe the PR template should contain some notes about what to do when there's a deprecation/removal? Like adding yourself to the list of contributors, add the module to the notes of deprecations in NEWS.rst.

    Also, AFAIK, there was no deprecation notice for imports of the module that was deprecated in 1.79 and removed in 1.81. This is probably more important than announcing in news, as that way people notice who don't read the notes of every version.

  17. JoaoRodrigues commented on Feb 17, 2023

    @JoaoRodrigues
    MemberAuthor

    Thanks for the feedback @corneliusroemer, definitely something that we'll take into consideration because despite our best attempts to communicate all this info, something went wrong.

    For the record (for others reading this thread, since I wrote this in the linked issue), we note deprecations in DEPRECATED.rst but maybe we need to improve the visibility of these notes with a link to NEWS.rst or something like that. Something else to add to the release instructions.

  18. added a commit that references this issue on May 19, 2023
  19. added a commit that references this issue on May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions