pyxem / kikuchipy

Toolbox for analysis of electron backscatter diffraction (EBSD) patterns
https://kikuchipy.org
GNU General Public License v3.0
78 stars 30 forks source link

Make kikuchipy compatible with PyEBSDIndex 0.2 #652

Closed hakonanes closed 8 months ago

hakonanes commented 11 months ago

Description of the change

This PR aims at making kikuchipy compatible with just released PyEBSDIndex v0.2.0 and to exploit its many new features. New features of main interest are:

kikuchipy v0.8.* has PyEBSDIndex as an optional dependency with a compatible release specification (~= 0.1.2), so people installing this release from PyPI will only get PyEBSDIndex v0.1.2. However, our conda-forge feedstock only asks for >= 0.1.2... People installing from conda-forge will most likely get PyEBSDIndex v0.2.0, which does not work with the current kikuchipy release. A big problem. So we should get this merged and released as 0.9.0 quickly. I plan to get this done within Tuesday next week.

Progress of the PR

~What we should do but perhaps don't have time~:

For reviewers

CSSFrancis commented 11 months ago

@hakonanes Have you considered adding https://github.com/apps/review-notebook-app to kikchipy. It is fairly good at showing diffs for jupyter notebooks?

I can review this if you want someone to (superficially) look at the changes.

hakonanes commented 11 months ago

Thanks for the suggestions, @CSSFrancis. I'll consider ReviewNB. I'll ask you for a review once the PR's ready!

review-notebook-app[bot] commented 8 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

hakonanes commented 8 months ago

@CSSFrancis, this work is ready for merging. If you want to have a quick look, that would be very much appreciated! I plan to merge tomorrow Friday.

I'll get to reviewing and answering your stuff in orix, diffsims, and pyxem shortly!

The only outward API changes are the possibility to (listed in the changelog):

Other changes:

hakonanes commented 8 months ago

And thank you for suggesting ReviewNB. It sure beats me comparing the changes to rendered tutorial pages in current docs and the newly built docs from a PR by eye!

hakonanes commented 8 months ago

Now that you've both reviewed and contributed to the docs, is it OK if I add you to the package credits? This includes the kikuchipy/release.py file, the all-contributors table in the README, and in the Zenodo file. You'll be listed as "Carter Francis" with the following entry in the Zenodo file

   {
      "name": "Carter Francis",
      "orcid": "0000-0003-2564-1851",
      "affiliation": "University of Wisconsin Madison"
    },
hakonanes commented 8 months ago

I plan to release 0.9.0 once this PR is merged and some other smaller things are done 🚀

CSSFrancis commented 8 months ago

Now that you've both reviewed and contributed to the docs, is it OK if I add you to the package credits? This includes the kikuchipy/release.py file, the all-contributors table in the README, and in the Zenodo file. You'll be listed as "Carter Francis" with the following entry in the Zenodo file


   {

      "name": "Carter Francis",

      "orcid": "0000-0003-2564-1851",

      "affiliation": "University of Wisconsin Madison"

    },

Yea that works for me :)