diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1d1766c17e..bb7203e6ba 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -64,7 +64,6 @@ jobs: run: | pip install uv uv pip install -r requirements.txt - uv pip install fsspec s3fs # We have two cores so we can speed up the testing with xdist - name: Install pytest packages diff --git a/python/lsst/daf/butler/registry/obscore/_records.py b/python/lsst/daf/butler/registry/obscore/_records.py index bbd29bfadf..0e9eb40ac3 100644 --- a/python/lsst/daf/butler/registry/obscore/_records.py +++ b/python/lsst/daf/butler/registry/obscore/_records.py @@ -181,10 +181,10 @@ def __call__(self, ref: DatasetRef) -> Record | None: if timespan is not None: if timespan.begin is not None: t_min = cast(astropy.time.Time, timespan.begin) - record["t_min"] = t_min.mjd + record["t_min"] = float(t_min.mjd) if timespan.end is not None: t_max = cast(astropy.time.Time, timespan.end) - record["t_max"] = t_max.mjd + record["t_max"] = float(t_max.mjd) region = dataId.region if self.exposure.name in dataId: diff --git a/requirements/main.in b/requirements/main.in index 05bbd51395..df560d7734 100644 --- a/requirements/main.in +++ b/requirements/main.in @@ -6,9 +6,7 @@ pydantic >=2,<3.0 deprecated >=1.2 pyarrow >= 0.16 psycopg2 - -# Numpy 2 is not supported by the stack yet. -numpy < 2 +numpy # Butler CLI dependencies click >7.0 diff --git a/requirements/test.in b/requirements/test.in index 9634b269c5..7e23fd7e71 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -1,5 +1,7 @@ matplotlib >= 3.0.3 moto >= 1.3 -numpy >= 1.17, <2 +numpy >= 1.17 pandas >= 1.0 testing.postgresql +s3fs +fsspec