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

New release #371

Open
jadball opened this issue Jan 10, 2025 · 7 comments
Open

New release #371

jadball opened this issue Jan 10, 2025 · 7 comments

Comments

@jadball
Copy link
Contributor

jadball commented Jan 10, 2025

It would be wise to do a new release relatively soon before we overhaul the dataset class and notebooks accordingly, as those are big changes, and it gives the Ewoks task developers a stable pypi version to develop against in the meantime.

@jadball jadball changed the title New release before dataset class overhauk New release before dataset class overhaul Jan 10, 2025
@jadball jadball changed the title New release before dataset class overhaul New release Jan 10, 2025
@jadball
Copy link
Contributor Author

jadball commented Jan 10, 2025

Agreed - this gives a good timeline for our overall development plan. The above bugfixes first, followed by a new release, then we begin our various overhaul tasks:

@loichuder
Copy link
Contributor

and it gives the Ewoks task developers a stable pypi version to develop against in the meantime.

Thanks for considering this, much appreciated 🙂

@loichuder
Copy link
Contributor

Related to this, the version number is still 2.0.2 in the init_.py file: https://github.com/FABLE-3DXRD/ImageD11/blob/ff48f8b4461ebb8468e02b87c55d6d6236a524f4/ImageD11/__init__.py

But according to the Releases page, we are now at 2.0.4 ? Shall I bump the version number ?

@jonwright
Copy link
Member

jonwright commented Jan 22, 2025

Sure, yes please. Seems we should be at 2.0.5 for master and perhaps bump to 2.1.0 for the release. I would like to init.py to know about the current git tag, but I didn't see something which works from a live repo (e.g. it would need to call git log {os.path.split(__file__[0])} for source, or have a tag introduced during a build).

I would like to check in with @t20100 to remember how to get the wheels built and figure out the a checklist of things to do when releasing. The 2.0.4 vs 2.0.2 was due to some mistake last time. Something like:

  • update version in init and also in README.md
  • remember to create a git tag (and branch?)
  • build+check the wheels

Apart from the issues listed above, I have now remembered:

@loichuder
Copy link
Contributor

Yes, releases are always a mess. We try to automate them as much as possible but there are dozens of ways of doing it and you still have to take decisions down the line.

In anycase, the best you can do is as you just said, have a checklist of things to do when releasing, and follow it religiously each time.

@t20100
Copy link
Collaborator

t20100 commented Jan 22, 2025

Your release process should be close to the one of silx since the github workflow is very similar ;).
There is unfortunately nothing checking that the tag version is the actual version of the package, did you make the v2.0.4 release by hand?

There's now a "how to make a release" doc in silx: https://github.com/silx-kit/silx/blob/main/CONTRIBUTING.rst#how-to-make-a-release
That can be adapted for ImageD11.

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

No branches or pull requests

4 participants