You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
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.
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.
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.
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).
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!
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?).
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:
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.
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.
Activity
mdehoon commentedon Feb 9, 2023
#4192this one is finished.JoaoRodrigues commentedon Feb 12, 2023
Will start the build now. Please refrain from pushing new code in unless it's absolutely necessary!
JoaoRodrigues commentedon Feb 12, 2023
We should update the doc building instructions to:
hevea.sty(easier to symlink it to Doc/)rm -rf _minted-Tutorialtomake clean -C Docto avoid pygments errors (undefined control sequence)JoaoRodrigues commentedon Feb 12, 2023
One test is failing:
TestQblast.test_short_query, specifically on thentdatabase 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?JoaoRodrigues commentedon Feb 12, 2023
Sphinx API docs failing because of #4192 (tabs). The error from CircleCI (and running Sphinx locally) were very obtuse. I installed
sphinx-lintand 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.JoaoRodrigues commentedon Feb 12, 2023
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.
JoaoRodrigues commentedon Feb 13, 2023
JoaoRodrigues commentedon Feb 13, 2023
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 ..
JoaoRodrigues commentedon Feb 13, 2023
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
peterjc commentedon Feb 17, 2023
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.
peterjc commentedon Feb 17, 2023
If
sphinx-lintis 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).peterjc commentedon Feb 17, 2023
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!
corneliusroemer commentedon Feb 17, 2023
Please add new deprecations to release notes so they are easy to find - the release notes are a bit sparse:

Also see #4239
JoaoRodrigues commentedon Feb 17, 2023
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 thegit logsince November (last release) and probably failed to notice that deprecation. I'll make an edit to theNEWS.rstfile to reflect this (@mdehoon, do you agree?).corneliusroemer commentedon Feb 17, 2023
No worries, these things happen! Maybe good to have some better structure related to deprecations in the future? Like a block in
NEWS.rstthat lists everything deprecated in this version and in the future? Something like:Deprecations
Removed in v1.81
Planned removal in v1.82
Planned removal in v1.83
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.
JoaoRodrigues commentedon Feb 17, 2023
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.rstbut maybe we need to improve the visibility of these notes with a link toNEWS.rstor something like that. Something else to add to the release instructions.Clarify NEWS vs DEPRECATED content
Clarify NEWS vs DEPRECATED content