Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/astropy/astropy

Astronomy and astrophysics core library
https://github.com/astropy/astropy

Avoid importing both `inspect` and `types`

77844f386c4f1a8184ecfc08adcefac0e4de078b authored 11 months ago by Eero Vaher <[email protected]>
Merge pull request #15945 from eerovaher/table-useless-dunders

Remove useless `Table` dunder methods

e064a9f42e4ed995ce2b4a727bbc59fb5d8b4b07 authored 11 months ago by P. L. Lim <[email protected]>
Remove useless `Table` dunder methods

b64795c7b66976889ab41ca0a34d76bf09b8ce28 authored 11 months ago by Eero Vaher <[email protected]>
Merge pull request #15940 from neutrinoceros/tst/workaround_pytest_mpl_pluggy_1.4

TST: pin pluggy in image tests to get by future incompatibility with pytest-mpl

71061de8a5a84b8b31faf7c55d30ff65ebc77e8e authored 11 months ago by P. L. Lim <[email protected]>
TST: pin pluggy in image tests to get by future incompatibility with pytest-mpl

c46f1ebdbba91bac7e4c02b9af0f3d6764970921 authored 11 months ago by Clément Robert <[email protected]>
Merge pull request #15930 from neutrinoceros/tst/numpy2/broadcast_arrays

BUG: fix compatibility with numpy 2.0 for np.broadcast_arrays (now returns a tuple)

297af9fe3d5cd40f1b3afbf4ed488ed4de753edd authored 11 months ago by Marten van Kerkwijk <[email protected]>
BUG: fix compatibility with numpy 2.0 for np.broadcast_arrays (now returns a tuple)

64faaa90a883fe982fb1625b363df30f4404990e authored 11 months ago by Clément Robert <[email protected]>
Merge pull request #15934 from eerovaher/introspection-deprecations

Deprecate unused introspection functions

79be57ec218f12bfc15f6ff79e0450b292b9c06c authored 11 months ago by P. L. Lim <[email protected]>
Merge pull request #15925 from neutrinoceros/tst/numpy2/array_wrap_return_scalar

TST: fix deprecation warnings from numpy dev's __array_wrap__ signature

316f8b9460a91e3b73707102592ef6845a09719c authored 11 months ago by Marten van Kerkwijk <[email protected]>
simplify Kernel.__array_wrap__

502546891913f656a7f9faa497035ab59a9dc2b3 authored 11 months ago by Clément Robert <[email protected]>
TST: fix deprecation warnings from numpy dev's __array_wrap__ signature

e78b5148b8123e7301c7988a2041047481b9b146 authored 11 months ago by Clément Robert <[email protected]>
BLD: Disable old wheels pruning

459e5e38287772e674c87eb3706563fa0ce97f03 authored 11 months ago by P. L. Lim <[email protected]>
Deprecate `utils.introspection.find_mod_objs()`

The function is not used anywhere in `astropy`.

0374cef9501beade3c880fcc015867a6d1ab89f4 authored 11 months ago by Eero Vaher <[email protected]>
Deprecate `utils.introspection.isinstancemethod()`

The function is not used anywhere in `astropy`.

0462ede1a995ccb37674a7f4c1d61d9db610435c authored 11 months ago by Eero Vaher <[email protected]>
Merge pull request #15923 from neutrinoceros/units/bugs/latex_one

BUG: fix a bug where LaTeX formatter would return empty strings for unity (1) input

7759561c8d8760e657cee18c22636ed2ef9fd40a authored 11 months ago by Marten van Kerkwijk <[email protected]>
Merge pull request #15927 from eerovaher/struct-alias

Remove aliases for `struct.pack` and `struct.unpack`

97bf1e123feec3170e2244964b0df2852b8e54e1 authored 11 months ago by P. L. Lim <[email protected]>
Remove two aliases for standard library functions

The aliases were a leftover from when the code needed to support both
Python 2 and 3.

4fbfe54ec5164f296a6bf818a0c34f488145248e authored 11 months ago by Eero Vaher <[email protected]>
Merge pull request #15922 from nstarman/cosmo-type-init

type annotate `cosmology.__init__`

a3f6aeae1bc36f9f8745f8f836c9c96525f1fdd2 authored 11 months ago by P. L. Lim <[email protected]>
BUG: avoid a segfault when calling astropy.convolution.convolve on an empty array (#15840)

* TST: add tests coverage to exception-raising cases for astropy.convolution.convolve

* BUG: ...

d8d595c46cda2612dbe8afca723fba46e4ccff9d authored 11 months ago by Clément Robert <[email protected]>
Ruff violation icn001 fix (#15899)

* initial ICN001 fix and removed it from ignore list

* changed numpy import alias in setup_pa...

aeb53d56599f912ce34ed6410ba0223c0740624d authored 11 months ago by Shaheer Ahmad <[email protected]>
BUG: fix a bug where LaTeX formatter would return empty strings for unity (1) input

05e188dba0f0892334dd50e14e84b3d225b854d1 authored 11 months ago by Clément Robert <[email protected]>
TST: add a regression test for bug 12571

c6a8ba8585f1df3044b1bb225035fe0ba6872963 authored 11 months ago by Clément Robert <[email protected]>
type annotate cosmology.__init__

Signed-off-by: nstarman <[email protected]>

223a8fbb23e6c06e7147c64d138e2ea1fe482cc2 authored 11 months ago by nstarman <[email protected]>
`FlatCosmologyMixin.nonflat` is a property

Signed-off-by: nstarman <[email protected]>

4b3971d2a3a4591ee75986f801bfa86e56aca159 authored 11 months ago by nstarman <[email protected]>
cleanup cosmology comparison code (#15918)

* cleanup cosmology comparison code

Signed-off-by: nstarman <[email protected]>

1d9088ad035c2d7d3a0aa786b33bb301ff9587a8 authored 11 months ago by Nathaniel Starkman <[email protected]>
Add typing module to IO (#15916)

* Add typing module to IO
* changelog
* docstring

Signed-off-by: nstarman <[email protected]...

8245f4e32428d302aed26825cd3c43f38d3b68b5 authored 11 months ago by Nathaniel Starkman <[email protected]>
make ParametersAttribute.attr_name a string (#15882)

* make ParametersAttribute.attr_name a string
* documentation
* changelog
* refactor tests

...

3d519d7d693f1bd57ed7a5e7b307372902ad1b45 authored 11 months ago by Nathaniel Starkman <[email protected]>
coords: refactor transformations as module (#15895)

---------

Signed-off-by: nstarman <[email protected]>

87754ef8812399c63e65b0f14d61b0ab02c3562e authored 11 months ago by Nathaniel Starkman <[email protected]>
cosmo: type annotate `cosmology…connect.py` (#15854)

* type annotate cosmology…connect.py
* Add overloads for registered formats

Signed-off-by: n...

6bfcee1db5e73e98ce90f4b0e8a09af2e905783c authored 11 months ago by Nathaniel Starkman <[email protected]>
Merge pull request #15915 from eerovaher/allow-keyword-dicts

Enable Ruff `allow-dict-calls-with-keyword-arguments` setting

7b2fe0f8a5cf0e6b4fb4c8078316218798ae1025 authored 11 months ago by Marten van Kerkwijk <[email protected]>
Enable Ruff allow-dict-calls-with-keyword-arguments

The new setting configures Ruff rule C408 (unnecessary-collection-call)
to allow `dict` calls wi...

bceb44c0ccc9fc718d10c29fb48bf89b7345810e authored 11 months ago by Eero Vaher <[email protected]>
Handle cases of vmin >= vmax

d61a2685b9a7ce81e2c025664417c16efad503e2 authored 11 months ago by Larry Bradley <[email protected]>
Add unit tests for vmin/vmax

bd37134526ba98dca056ccc408f97eccc3725200 authored 11 months ago by Larry Bradley <[email protected]>
Add changelog entry

0b50fdd12fbe93eee8f8d2d18fa00818af9addad authored 11 months ago by Larry Bradley <[email protected]>
Merge pull request #15837 from pllim/giles-v2

MNT: Remove defunct CircleCI notify

fab35c3a02f397a0de6a362f17de31d3d9aca415 authored 11 months ago by P. L. Lim <[email protected]>
Rename mincut and maxcut to vmin vmax (#15621)

* Rename min_cut/max_cut to v_min/v_max in simple_norm

* Rename min_cut/max_cut to vmin/vmax ...

e7c623c0df5ea4a2e18dac453216154217866465 authored 11 months ago by Larry Bradley <[email protected]>
Merge pull request #15900 from eerovaher/tweak-Distance-constructor

Tweak the `Distance` constructor

76330425508c430c4047e33c00f2e9120483355e authored 11 months ago by Marten van Kerkwijk <[email protected]>
Merge pull request #15908 from neutrinoceros/docs/pytest-mpl_url

DOC: update url to pytest-mpl's hybrid mode documentation

cee1afe2cc2f1b565c099a5dbc7a1f6dc44f79ed authored 11 months ago by Hans Moritz Günther <[email protected]>
Tweak the `Distance` constructor

The tweaked constructor has fewer code branches and less indentation.
Furthermore, if the input ...

b46afd4d520a76ba9ff6e110e177984bb94b1aa1 authored 11 months ago by Eero Vaher <[email protected]>
DOC: update url to pytest-mpl's hybrid mode documentation

a17965b2c9de620b6d145cb4d773cf1f5631d235 authored 11 months ago by Clément Robert <[email protected]>
Merge pull request #15906 from eerovaher/ephemeris-note

Edit a user-facing note in `coordinates`

0da28efef20e0c2acb59d8e22048c1d92e496610 authored 11 months ago by Marten van Kerkwijk <[email protected]>
Edit a user-facing note in `coordinates`

The updated note is acceptable to both Black and Ruff formatter. The
update also replaces an imp...

d8481abfdb8e350b6f87af98a5021cad83b40568 authored 11 months ago by Eero Vaher <[email protected]>
Alphabetize units docs, by ensuring the recently introduced __all__ is sorted

Signed-off-by: nstarman <[email protected]>

ac222343ee7685a223b74fed7a6e121e0634586a authored 11 months ago by Nathaniel Starkman <[email protected]>
TST: test matplotlib integration for Masked data

36446ad0211e76af873ceb9d3772e05933dc493b authored 11 months ago by Clément Robert <[email protected]>
Exclude typing overloads from code coverage (#15894)

Functions decorated with `typing.overload` only exist to document their
signature and they can'...

21a7ed197c57adb69385e403e7751632099fd92d authored 11 months ago by Nathaniel Starkman <[email protected]>
BUG: fix a spurious warning when calling sigma_clipped_stats on a MaskedColumn (#15844)

* TST: add a regression test for bug 13281

* BUG: fix a spurious warning when calling sigma_c...

d2e689cc9b3332b2b3b4048b05c1b958028b6334 authored 11 months ago by Clément Robert <[email protected]>
Address RET505 in astropy/convolution (#15872)

* Address RET505 in astropy/convolution

* Implement maintainers' suggestions and resolve CI t...

0895b1370bb41f0f53991206a1b4897ce7a47c33 authored 11 months ago by Tanvi Pooranmal Meena <[email protected]>
Merge pull request #15892 from nstarman/units-remove-cosmo

units: remove vestigial cosmo imports

9bfb777e317bf27801782e49efb45c53494905f6 authored 11 months ago by Marten van Kerkwijk <[email protected]>
remove cosmo code

It didn’t work, anyways!

Signed-off-by: nstarman <[email protected]>

17cf025d6b77bdaf098c0aa8042ee34aecb01b54 authored 11 months ago by nstarman <[email protected]>
Merge pull request #15888 from mhvk/numpy-dev-geomspace-end-point

Account for change in mask of end point in np.geomspace

a311b1aa9fbdf5c9fdda52002a179ff503f373bb authored 11 months ago by Marten van Kerkwijk <[email protected]>
Merge pull request #15885 from neutrinoceros/io/ascii/ecsv/bug/empty_table_roundtrip

BUG: fix write/read roundtrips with empty Table dumped to ECSV

cfe3789735c55086389cddc5ba78f84a78e01673 authored 11 months ago by Marten van Kerkwijk <[email protected]>
TST: add a regression test for bug 13191

836fead16df741a4fce66af8c52b36b12857452a authored 11 months ago by Clément Robert <[email protected]>
BUG: fix write/read roundtrips with empty Table dumped to ECSV

70e210d971c63bbe1c71241003fe43f4107683e6 authored 11 months ago by Clément Robert <[email protected]>
Account for change in mask of end point in np.geomspace

eae6db0a678229bd8f41ce9637e2340f5d6f1c8d authored 11 months ago by Marten van Kerkwijk <[email protected]>
Merge pull request #15883 from neutrinoceros/units/bugs/unhelpful_typeerror

BUG: fix an unhelpful TypeError when attempting truediv, lshift/mul/truediv with a Unit for righ...

ac1bbf2c0eb9e12094ce5aaa71dbdaffa1e65097 authored 11 months ago by Marten van Kerkwijk <[email protected]>
Merge pull request #15841 from neutrinoceros/visualization/bug/quantity_support_small_range

BUG: fix an edge case where quantity_support would produce duplicate tick labels for small data ...

f9058c638cca124510b1cdeb923f7155607f1620 authored 11 months ago by Marten van Kerkwijk <[email protected]>
BUG: fix an unhelpful TypeError when attempting truediv, lshift/mul/truediv with a Unit for right operand and a numpy array with non-numerical dtype for left operand

2a2721db64750b1893cba409980b6bfc0ec61989 authored 11 months ago by Clément Robert <[email protected]>
TST: add a regression test for bug 12836

e4caf3ee658982ccbc05a88ac1b8c58bca0ff9e7 authored 11 months ago by Clément Robert <[email protected]>
Add type annotations for cosmology realizations (#15879)

Signed-off-by: nstarman <[email protected]>

295ea9ac795803e8652db8d7468ef9653b772dc8 authored 11 months ago by Nathaniel Starkman <[email protected]>
Include `typing` in Ruff TCH rule checks (#15873)

The Ruff TCH rules help ensure that imports only needed for type
annotations are in an `if TYPE...

35652f1192d2de846f52c40f7e141f2f6154d87d authored 11 months ago by Eero Vaher <[email protected]>
add type hints to astropy/cosmology/utils (#15851)

Signed-off-by: nstarman <[email protected]>

075b3b5999d4bec35119f4a6d5d2dbd947cb6278 authored 11 months ago by Nathaniel Starkman <[email protected]>
Merge pull request #15663 from astrofrog/fix-sources-fits-extension

Use relative path for source files

932e5b4f4ddf1b5ae5e1c546f959b3f4967dd94b authored 11 months ago by Simon Conseil <[email protected]>
Merge pull request #15847 from pllim/update-license-year

DOC: Update license year

9fc7e49fc0df9b9728feca4a7403d1d99df485d7 authored 11 months ago by Simon Conseil <[email protected]>
Merge pull request #15864 from eerovaher/tests-old-pyerfa

Update `pyerfa` version requirement

0d4ab51dfae4f281c017231dbb0ab4a6cfe427e8 authored 11 months ago by Marten van Kerkwijk <[email protected]>
Require `pyerfa>=2.0.1.1`

All users should benefit from the bugfix for
https://github.com/liberfa/pyerfa/issues/123

Furth...

941a75e858cb473f9f3eba3447289ffd403e62fa authored 11 months ago by Eero Vaher <[email protected]>
Merge pull request #15870 from nstarman/infra-typing_extensions

change convention for typing_extensions

dcc41423b4a5970d1120dab9a484824038888bc1 authored 11 months ago by Marten van Kerkwijk <[email protected]>
Merge pull request #15862 from nstarman/units-import-order

Define `__all__` for `units` (and a bit of refactoring of the imports)

e3c3638fbd2e37495f9c1f36ba05091897c47813 authored 12 months ago by Marten van Kerkwijk <[email protected]>
Define `__all__`

Signed-off-by: nstarman <[email protected]>

cdcaa0dbb73b13f69c32e3b580b2a663308b7657 authored 12 months ago by nstarman <[email protected]>
change convention for typing_extensions

Signed-off-by: nstarman <[email protected]>

6e7ae33a90f75ed79cc4db9739433328ca3c7d1c authored 12 months ago by nstarman <[email protected]>
remove calls to `typing_extensions`

Signed-off-by: nstarman <[email protected]>

a070054981d2387a9b7e2fd3dd1996c7c5ab575d authored 12 months ago by nstarman <[email protected]>
BUG: fix an unintended exception being raised when attempting to compare two unequal ``Table`` instances. (#15845)

* TST: add a regression test for bug 13421

* BUG: fix an unintended exception being raised wh...

c7149789d41939e39b7cff6b899d6ae2de19598a authored 12 months ago by Clément Robert <[email protected]>
Merge pull request #15863 from neutrinoceros/docs/bug/conf_stderr

DOC: avoid printing to stdout in docs/conf.py

6434296372bb8a0a37fa21e31ad02e506a4e16e0 authored 12 months ago by P. L. Lim <[email protected]>
Create `units.typing` module with `QuantityLike` (#15860)

Signed-off-by: nstarman <[email protected]>
Co-authored-by: Eero Vaher <eero.va...

f3a1b7829afef96c4de4f162a87c1647415467f0 authored 12 months ago by Nathaniel Starkman <[email protected]>
cosmo: make argument `verbose` to `z_at_value` keyword-only (#15855)

* make argument `verbose` keyword-only

Signed-off-by: nstarman <[email protected]...

3e956643c438b141c8f883e37ac59645c5652a20 authored 12 months ago by Nathaniel Starkman <[email protected]>
Merge pull request #15856 from nstarman/cosmo-remove-doctest_requires

cosmo: remove unneeded `__doctest_requires__`

d2783139ea62ac0eb9e7a302d8abf15321035acd authored 12 months ago by P. L. Lim <[email protected]>
DOC: avoid printing to stdout in docs/conf.py

13b16999b92df97d7e9a4e1a8aeee408ac01070e authored 12 months ago by Clément Robert <[email protected]>
Merge pull request #15861 from nstarman/cosmo-imports-labels

cleanup imports

2a0b21dcd8c6c7b2206c729d2a150252572826cb authored 12 months ago by P. L. Lim <[email protected]>
cleanup imports

Signed-off-by: nstarman <[email protected]>

7c4ae90bcd6d8b70a6a13a8017fd4b67b0c14a1c authored 12 months ago by nstarman <[email protected]>
isort units

Signed-off-by: nstarman <[email protected]>

97baf9c965a9d54cde4ab7231cbc50914d5bd5ad authored 12 months ago by nstarman <[email protected]>
cleanup imports

Signed-off-by: nstarman <[email protected]>

ad588343f802d1f2404e231996ccc80d33e4b50a authored 12 months ago by nstarman <[email protected]>
Merge pull request #15820 from pllim/pytest-dev-compat

TST: Update org for pytest-doctestplus in devinfra

9c5ced8d97fe9e1d026919ec35b765ec2a005c1d authored 12 months ago by P. L. Lim <[email protected]>
Merge pull request #15848 from mhvk/quantity-columns-and-mrt-output

Ensure names of Quantity and other mixin columns are propagated

5fd8f471ff2997862cf839b006767604953d8a3b authored 12 months ago by Hans Moritz Günther <[email protected]>
remove unneeded `__doctest_requires__`

Signed-off-by: nstarman <[email protected]>

1e430a5e4f3856bf31d816cff1597a0622cc2ea9 authored 12 months ago by nstarman <[email protected]>
TST: Update GitHub link for pytest-doctestplus

because it was moved from astropy to scientific-python.

pytest 8.1 compatibility fixes were all ...

582d211079f227c323c2f12da72603069c403047 authored 12 months ago by P. L. Lim <[email protected]>
Ensure column initialized from quantity uses possible info.name

99bee533d52dea8967f1fd85a516adeee740bf37 authored 12 months ago by Marten van Kerkwijk <[email protected]>
Ensure names of mixin columns are propagated

4dd83273c08a7238e04250a52e3bd323953b30d8 authored 12 months ago by Marten van Kerkwijk <[email protected]>
DOC: Update license year

444ac66f7ab0076e8d9c390c49b5803c23c329a4 authored 12 months ago by P. L. Lim <[email protected]>
Merge pull request #15830 from neutrinoceros/time/bug/comp_nan_timedelta

BUG: fix comparing NaN quantity with TimeDelta object

f9a61f1aab35861745431d9b21598d879e14ac84 authored 12 months ago by Marten van Kerkwijk <[email protected]>
TST: tox option to exclude scipy (#15742)

* TST: tox option to exclude scipy
so we can test devdeps without scipy-dev
as dhomeier reques...

c22af5c68f284e984ec9d42557144fd1055828da authored 12 months ago by P. L. Lim <[email protected]>
Merge pull request #15838 from pllim/coord-frames-dark-mode

DOC: Coordinates frames in dark mode

8bb495742487a4e1dad5970bf9fde9366d9f20c4 authored 12 months ago by P. L. Lim <[email protected]>
Merge pull request #15842 from neutrinoceros/simplify_mpl_import

TST: simplify a quantity_support test

b87782a3cf6774065a15c445948015f67aa12f95 authored 12 months ago by P. L. Lim <[email protected]>
BUG: add missing Sun in VOUnits simple units (#15832)

Include a test that it is now present, and adds a check that
a warning is raised when prefixing...

bb231f14cf939efb3d3b080f297ed2e84e3471a0 authored 12 months ago by Manon Marchand <[email protected]>
TST: add a regression test for bug 13211

8b03b6a2dce9674e0110048d8b10d08c8aa92f16 authored 12 months ago by Clément Robert <[email protected]>
BUG: fix an edge case where quantity_support would produce duplicate tick labels for small data ranges

3c91ad040ff764b1eef175eee1197b3470eee50e authored 12 months ago by Clément Robert <[email protected]>
TST: simplify a quantity_support test

0dc40405887957842fcc067d06e68a836c0d7464 authored 12 months ago by Clément Robert <[email protected]>
DOC: Coordinates frames in dark mode

[ci skip]

7752f1db7604b63b1e3b8d7e3321fbad0ae94548 authored 12 months ago by P. L. Lim <[email protected]>
MNT: Remove defunct CircleCI notify

b5d2c861525c070c55a5ec10e5f23a40b33a8c43 authored 12 months ago by P. L. Lim <[email protected]>
Merge pull request #15783 from pllim/doc-inheritance-dark-mode

DOC: Inheritance diagram for dark mode

4e456bc57dded369edb92584ea85ffa597114202 authored 12 months ago by P. L. Lim <[email protected]>
DOC: Dark mode for transform graph and legend

attempted but only got the graph to work
so it is commented out for now.

DOC: Use invert values ...

c197a4a014ec78c1b042a7f4f09d9f75acfdcaa0 authored 12 months ago by P. L. Lim <[email protected]>
DOC: Inheritance diagram for dark mode

Co-authored-by: Stuart Mumford <[email protected]>

1f7c379ea78d4075432b191223c602909e9262be authored 12 months ago by P. L. Lim <[email protected]>