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

Fix doc build #1668

Merged
merged 5 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@
def upgrade() -> None:
try:
op.add_column("dataset",
Column("uri_scheme", String, comment="The scheme of the uri."),
schema="odc")
Column("uri_scheme", String, comment="The scheme of the uri."),
schema="odc")
op.add_column("dataset",
Column("uri_body", String, comment="The body of the uri."),
schema="odc")
Column("uri_body", String, comment="The body of the uri."),
schema="odc")
except ProgrammingError:
print("Columns uri_scheme and uri_body already exist in dataset table.")
# select first active location from DatasetLocation and insert into Dataset
conn = op.get_bind()
conn.execute(
sa.text("""UPDATE odc.dataset d
SET
SET
uri_scheme = subquery.uri_scheme,
uri_body = subquery.uri_body
FROM (
SELECT DISTINCT ON (l.dataset_ref)
SELECT DISTINCT ON (l.dataset_ref)
l.dataset_ref, l.uri_scheme, l.uri_body
FROM odc.location l
WHERE archived IS NULL
Expand Down
2 changes: 2 additions & 0 deletions docker/constraints.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ click>=8.0
cloudpickle>=0.4
# For Python 3.12 support
compliance-checker>=5.1.0
# For pyproj no-binary build
cython>3
# dask 2024.11.x is broken.
dask>=2023.2.0,<2024.11.0
distributed>=2024.2.0,<2024.11.0
Expand Down
2 changes: 2 additions & 0 deletions docker/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ cryptography==39.0.1
# secretstorage
cycler==0.11.0
# via matplotlib
cython==3.0.11
# via -r constraints.in
dask==2024.10.0
# via
# -r constraints.in
Expand Down
2 changes: 2 additions & 0 deletions docs/about/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ v1.9.next
* Pin upstream libraries to get CI tests running with numpy2 (:pull:`1661`)
* Calculate spatial extent in epsg:4326 and reproject when no dedicated spatial extent for
the requested CRS is available (:pull:`1662`)
* Fix broken alembic migration (:pull:`1667`)
* Fix broken documentation build (:pull:`1668`)

v1.9.0-rc11 (28th October 2024)
===============================
Expand Down
Loading
Loading