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

Bump hyperspy from 1.7.6 to 2.0 #190

Closed
wants to merge 2 commits into from
Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps hyperspy from 1.7.6 to 2.0.

Changelog

Sourced from hyperspy's changelog.

2.0 (2023-12-20)

Release Highlights

  • Hyperspy has split off some of the file reading/writing and domain specific functionalities into separate libraries!

    • RosettaSciIO <https://hyperspy.org/rosettasciio>: A library for reading and writing scientific data files. See RosettaSciIO release notes <https://hyperspy.org/rosettasciio/changes.html> for new features and supported formats.
    • exSpy <https://exspy.readthedocs.io>: A library for EELS and EDS analysis. See exSpy release notes <https://hyperspy.org/exspy/changes.html> for new features.
    • HoloSpy <https://holospy.readthedocs.io>: A library for analysis of (off-axis) electron holography data. See HoloSpy release notes <https://holospy.readthedocs.io/en/latest/changes.html> for new features.
  • The :py:mod:~.api.plot.markers API has been refactored

    • Lazy markers are now supported
    • Plotting many markers is now much faster
    • Added :py:class:~.api.plot.markers.Polygons marker
  • The documentation has been restructured and improved!

    • Short example scripts are now included in the documentation
    • Improved guides for lazy computing as well as an improved developer guide
  • Plotting is easier and more consistent:

    • Added horizontal figure layout choice when using the ipympl backend
    • Changing navigation coordinates using the keyboard arrow-keys has been removed. Use Crtl + Arrow instead.
    • Jump to navigation position using shift + click in the navigator figure.
  • HyperSpy now works with Pyodide/Jupyterlite, checkout hyperspy.org/jupyterlite-hyperspy <https://hyperspy.org/jupyterlite-hyperspy>_!

  • The deprecated API has removed: see the list of API changes and removal in the :ref:sections below <hyperspy_2.0_api_changes>.

New features

  • :py:meth:~._signals.lazy.LazySignal.compute will now pass keyword arguments to the dask :meth:dask.array.Array.compute method. This enables setting the scheduler and the number of computational workers. ([#2971](https://github.com/hyperspy/hyperspy/issues/2971) <https://github.com/hyperspy/hyperspy/issues/2971>_)

  • Changes to :meth:~.api.signals.BaseSignal.plot:

    • Added horizontal figure layout choice when using the ipympl backend. The default layour can be set in the plot section of the preferences GUI. ([#3140](https://github.com/hyperspy/hyperspy/issues/3140) <https://github.com/hyperspy/hyperspy/issues/3140>_)
  • Changes to :meth:~.api.signals.Signal2D.find_peaks:

    • Lazy signals return lazy peak signals
    • get_intensity argument added to get the intensity of the peaks
    • The signal axes are now stored in the metadata.Peaks.signal_axes attribute of the peaks' signal. ([#3142](https://github.com/hyperspy/hyperspy/issues/3142) <https://github.com/hyperspy/hyperspy/issues/3142>_)
  • Change the logging output so that logging messages are not displayed in red, to avoid confusion with errors. ([#3173](https://github.com/hyperspy/hyperspy/issues/3173) <https://github.com/hyperspy/hyperspy/issues/3173>_)

... (truncated)

Commits
  • ab853c3 Update hyperspy 2.0 announcement banner
  • 9268066 Update release notes for 2.0
  • 1d5d35f Update actions/download-artifact to v4
  • 731251a Use fallback version for setuptools_scm
  • 02e7e6a Merge pull request #3282 from ericpre/remove_beta_lazy
  • ecaccf0 Merge pull request #3281 from ericpre/doctest
  • 3e7bf70 Tweak example code in user guide and docstrings
  • e848200 Add changelog entry
  • 3f87a45 Make warning of "beta" state of lazy signals more specific
  • 6585a97 Tweak user guide
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 25, 2023
@jan-janssen
Copy link
Member

jan-janssen commented Dec 25, 2023

#8 23.51 ├─ hyperspy 2.0**  is installable and it requires
#8 23.51 │  └─ hyperspy-base 2.0 pyhd8ed1ab_0, which can be installed;
#8 23.51 └─ pyxem 0.16.0**  is installable and it requires
#8 23.51    └─ hyperspy-base >=1.7.0,<2.0rc0  with the potential options

@dependabot dependabot bot force-pushed the dependabot/pip/hyperspy-2.0 branch 2 times, most recently from b1f88d1 to fbb6fc2 Compare January 11, 2024 09:35
@jan-janssen jan-janssen marked this pull request as draft January 12, 2024 18:03
@dependabot dependabot bot force-pushed the dependabot/pip/hyperspy-2.0 branch from 6616d7e to 219eb3c Compare January 15, 2024 06:35
Bumps [hyperspy](https://github.com/hyperspy/hyperspy) from 1.7.6 to 2.0.
- [Release notes](https://github.com/hyperspy/hyperspy/releases)
- [Changelog](https://github.com/hyperspy/hyperspy/blob/RELEASE_next_minor/CHANGES.rst)
- [Commits](hyperspy/hyperspy@v1.7.6...v2.0)

---
updated-dependencies:
- dependency-name: hyperspy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/hyperspy-2.0 branch from 255056c to ccc5cf5 Compare January 22, 2024 07:13
@jan-janssen
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2024

Looks like hyperspy is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 29, 2024
@dependabot dependabot bot deleted the dependabot/pip/hyperspy-2.0 branch January 29, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants