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.15.0,>=0.13.0.a to >=0.15.0,<0.16.0 #90

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on mocpy to permit the latest version.

Release notes

Sourced from mocpy's releases.

v0.15.0

What's Changed

  • Add support for paralell MOC creation (add methods from_boxes, from_cones and speed up from_polygons) in cds-astro/mocpy#140

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

Changelog

Sourced from mocpy's changelog.

[0.15.0]

Added

  • a new method MOC.from_cones allows to create a list of MOCs from a list of centers and radii. This is multi-threaded.
  • new method MOC.from_boxes allows to create lists of MOCs from boxes. This is multi-threaded.

Changed

  • MOC.from_polygons now accepts list of coordinates (that it assumes to be in degrees and ICRS frame) rather than only lists of SkyCoord objects #137

[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

... (truncated)

Commits
  • 59990ff maint: prepare version 0.15.0
  • a2731c0 fix: typo in target [skip ci]
  • a87ef0c Merge pull request #142 from cds-astro/add-manylinux2014
  • 5cb7054 fix: remove wasm target when not needed
  • e66f333 feat: add manylinux2014 for x86_64
  • 59b297a Merge pull request #140 from cds-astro/par2
  • ab88c13 Fix typo in wasm32 compilation
  • 74a6d8b fix: typo for wasm32 build
  • 0b9d579 fix: pin numpy while waiting for maturin to support 2.0
  • cb2b65a fix: avoid bitwise operator
  • 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.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 30, 2024
@dependabot dependabot bot requested a review from ManonMarchand June 30, 2024 01:14
@ManonMarchand ManonMarchand merged commit 8374393 into master Jul 1, 2024
8 of 9 checks passed
@ManonMarchand ManonMarchand deleted the dependabot/pip/mocpy-gte-0.15.0-and-lt-0.16.0 branch July 1, 2024 10:40
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