astropy / astropy/halotools

halotools.test_installation() seems to be broken in some environments

Open
#1,115 0 comments 0 reactions 1 assignee Claimed by @aphearin View on GitHub
bug installation
Dominant language
Python
Stars
120
Forks
70
PR merge metrics
No merged PRs in 30d

Description

A new halotools user recently reported that calling the `test_installation` function raises an exception:

```unrecognized arguments: remote_data=None```

It's possible that the API of pytest has changed in some versions such that the `test_installation` function needs to be updated. I was able to successfully call this function locally on my own machine (python 3.12, macos 15.2, halotools v0.9.2, pytest v8.3.2), but I haven't tried to pin down what environments lead to this failure. In case anyone else finds this issue, it would be helpful to have a report of this failure in the comments of this issue that includes some info on the environment.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.