Skip to content
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 0.5.0 #122

Merged
merged 67 commits into from
Apr 3, 2024
Merged

Release 0.5.0 #122

merged 67 commits into from
Apr 3, 2024

Conversation

loli
Copy link
Owner

@loli loli commented Dec 15, 2023

Pre:

  • Write a pre-release checklist for future releases and add to repo as documentation

TODO

  • Bump-up library version
  • Supported formats
    • python3 tests/support.py > myformats.log fails due to random package in scipy
  • Depreciation and error fixes
    • scipy. => numpy.*
    • list(slice) => tuple(slice)
  • Run tests and fix errors:
    • switch from nose to pytest
    • add test requirements.txt: pytest-7.4.3 & hypothesis-6.92.0
    • fix errors
  • Error in saving an image that is of type bool, at least for .nii format: fix
  • Run all notebooks, to test the code
    • fix all error that occurr
  • Check Readme.md
    • check consistency and update
  • Update setup.py
  • Check & improve documentation
  • Check badges in README.md
  • Bioconda / conda
  • Remove travis build
    • move to github builds, if possible
  • Check config files:
    • .bettercodehub
    • .gitmodules
  • Try installation on different systems
    • with different library versions to figure out minimal
    • with graph cut support and without
    • use pip install -v -e . to see installation logs for graphcut
  • check why they exists and remove/ edit requirements-dev.* files in root folder
  • Dockerfiles: won't do anymore
    • remove linked repo
    • remove from documentation
  • Others:
  • Auto-build and auto-tests: Introduce appropriate gituhub actions
    • test for pre-commit hook usage on commit
    • run install and test
      • linux
      • MacOs
      • Windows (won't do)
    • run graphcut install and test
      • ubuntu22.10 with p3.10 & ubuntu20.04 with p3.8
    • trigger build & upload to test.pypi on release
    • manually trigger release to pypi [needs: build]
    • manually trigger doc release [needs: build]

new minimal dependency versions

  • old dtypes depreciates from numpy >= 1.24
  • inspect.getfullargspec recommended since python >= 3.4
  • dump minima dependencies in setup.py

Optional (rather for v0.6)

Release TODO

  • Generate docs and place to upload
  • Update setup.py
  • Update CHANGES.txt
  • Update github-pages
  • create package and upload to pypi

Post-Release to do

  • Update conda-forge recipe

loli and others added 11 commits December 15, 2023 12:38
* Introduced pre-commit hooks

* Remove travis build plan

* Code formatting and cleaning.

---------

Co-authored-by: oskar-maier-ms <oskar.maier@marleyspoon.com>
This is the default black setting, but some users (like me) will globally override to a different length. Better to explicitly specify.
Specify black line length is 88 characters
@loli loli marked this pull request as ready for review February 3, 2024 11:31
@loli loli temporarily deployed to pypi-publish-test February 3, 2024 12:59 — with GitHub Actions Inactive
@loli loli marked this pull request as draft February 3, 2024 13:00
@loli loli marked this pull request as ready for review April 3, 2024 12:26
@loli loli merged commit 91b288c into master Apr 3, 2024
27 of 28 checks passed
@loli loli deleted the Release_0.5.0 branch April 3, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants