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

Update mocpy requirement from <0.14.0,>=0.13.* to >=0.13.0.a,<0.15.0 #88

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2024

Updates the requirements on mocpy to permit the latest version.

Release notes

Sourced from mocpy's releases.

Release v0.14

What's Changed

New Contributors

Full Changelog: cds-astro/mocpy@v0.13.1...v0.14.0

Changelog

Sourced from mocpy's changelog.

[0.14.0]

Fixed

  • MOC.border no does not attempt on plotting the border when the MOc is out of the view anymore.
  • fix an issue where the number of references to the rust side was not incremented when a moc was created from a pickle file. This also solves a lot of issues with the multiprocessing module that calls pickle behind the scenes.

Added

  • MOC.sum_in_multiordermap takes an astropy table with a UNIQ column and a column name to sum. It returns the sum of the column in the intersection between the MOC and the Multi-order-map. MOC.probability_in_multiordermap has a similar behavior but also converts a probability-density into a probability.
  • added MOC.probabilities_in_multiordermap, which is a multithreaded (on the Rust side) version of MOC.probability_in_multiordermap.
  • MOC.from_polygons now allows to create more efficiently some SpaceMOCs from a list a of polygons.
  • STMOC.new_empty() allows to create a new empty Space-Time MOC.
  • MOC.from_box to create rectangular MOCs
  • MOC.from_astropy_regions to create MOCs from astropy regions.

[0.13.1]

Changed

  • currently supported versions of python now range from 3.8 to 3.12. There is a catch for python 3.8: the corresponding astropy version is pinned to astropy<5.3
  • the deprecated write method now calls save internally

Fixed

  • all methods of MOC with signatures like function(self, lon, lat, **kwargs) now accept both lists of coordinates and single coordinates
  • mocpy.stmoc.STMOC.from_spatial_coverages also accepts single moc objects (had to be a list before)
  • AbstractMOC derives from metaclass ABCMeta

Added

  • save now accepts fits_keywords that are added to the fits header before writing the file
  • n_cells gives the number of cells corresponding to a given order

[0.13.0]

Added

  • brand new support of frequency MOC ! 🚀
  • documentation has galleries of notebooks

Changed

... (truncated)

Commits
  • f6dc4dd chore: prepare v0.14 release
  • db663ea Fix wasm32 compilation and remove warnings
  • 5e91320 Add rustfmt.toml
  • 6e18fa3 Fix wasm32 compilation
  • 6344471 docs: add changelog entries [skip ci]
  • 55ffaaa feat: add MOC creation from multi-polygon on the python-side
  • a3252d2 maint: remove unused variables in the middle of the tests
  • 623e257 test: add test for multi threaded proba in multiorder map
  • 0016f32 Add instructions to remove multi-threading in case of wasm32 compilation
  • 9b5b98b Add 'from_polygons' (to be tested) in moc.py
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Updates the requirements on [mocpy](https://github.com/cds-astro/mocpy) to permit the latest version.
- [Release notes](https://github.com/cds-astro/mocpy/releases)
- [Changelog](https://github.com/cds-astro/mocpy/blob/master/CHANGELOG.md)
- [Commits](cds-astro/mocpy@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: mocpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 9, 2024
@dependabot dependabot bot requested a review from ManonMarchand June 9, 2024 01:27
@ManonMarchand ManonMarchand merged commit bb8c05f into master Jun 9, 2024
9 checks passed
@ManonMarchand ManonMarchand deleted the dependabot/pip/mocpy-gte-0.13.0.a-and-lt-0.15.0 branch June 9, 2024 14:06
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant