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.16.0,>=0.15.0 to >=0.15.0,<0.17.0 #91

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 21, 2024

Updates the requirements on mocpy to permit the latest version.

Release notes

Sourced from mocpy's releases.

v0.16.1

What's Changed

Full Changelog: cds-astro/mocpy@v0.16.0...v0.16.1

Changelog

Sourced from mocpy's changelog.

[0.16.1]

Fixed

  • from_healpix_cells and from_valued_healpix_cells accept order zero cells again

[0.16.0]

Added

  • MOC.mask_uniq allows to mas an array of uniq cells with a MOC
  • MOC.values_and_weights_in_multiorder_map allows to filter a multiordermap by a MOC with weights corresponding to the area of the cells intersecting the MOC and the multiordermap
  • the mocpy.WCS class can now accept a sequence of angles as its fov argument rather than always representing square areas of the sky.
  • MOC.from_polygons and MOC.from_polygons now accept a boolean complement that allows to chose between the small MOC described by the polygon or the bigger one (its complement)
  • implement multi-moc operations on STMOCs (ex: stmoc1.union(stmoc2, stmoc3, ...)) for union, intersection, and difference

Changed

  • MOC.from_healpix_cells also accepts an int as depth if all the cells are at the same level
  • MOC.from_vizier_table() does not call the MOCServer anymore. It now raises an error if the catalog of table name is invalid (see #143). It also accepts max_depth as an argument. This should replace nside in a future version.
  • MOC.from_ivorn() now accepts max_depth as an argument. This should reb=place nside later.

Fixed

  • ranges in from_depth29_ranges is now optional, to be consistent with the existing docstring
  • from_healpix_cells and from_valued_healpix_cells now filter out invalid cells and raise a warning when they do so
  • fix multimoc operations (were all failing with a TypeError) #153

[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]

... (truncated)

Commits
  • b37715e fix: zero order cells in moc creation from healpix cells are re-instated
  • 557a4b0 docs: remove migration information [skip ci]
  • 1a62e94 docs: edit install instructions for unreleased [skip ci]
  • 292ad74 maint: prepare for 0.16.0
  • 7fc53de Merge pull request #152 from cds-astro/test-windows-ci
  • 2491055 Merge pull request #155 from cds-astro/doc-lonlat [skip ci]
  • 3f63f8a docs: add explanations about the standard for coordinates in space mocs [skip...
  • 0241675 Merge pull request #154 from cds-astro/fix-multimoc-operations
  • f6a1303 fix: fix TypeError on multimocs operations
  • 82c60ca docs: homogenize docstrings
  • 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.15.0...v0.16.1)

---
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 Jul 21, 2024
@dependabot dependabot bot requested a review from ManonMarchand July 21, 2024 01:21
@ManonMarchand ManonMarchand merged commit 4ab94bb into master Jul 23, 2024
5 checks passed
@ManonMarchand ManonMarchand deleted the dependabot/pip/mocpy-gte-0.15.0-and-lt-0.17.0 branch July 23, 2024 15:17
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