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

tiledbsoma 1.14.1 #200

Merged
merged 1 commit into from
Sep 20, 2024
Merged

tiledbsoma 1.14.1 #200

merged 1 commit into from
Sep 20, 2024

Conversation

johnkerl
Copy link
Contributor

Following our established procedure

See also #2999 and [sc-53002].

run:
- {{ pin_compatible('numpy', lower_bound='1.16', upper_bound='1.27') }}
- {{ pin_subpackage('libtiledbsoma', exact=True) }}
- pandas
- pyarrow
# Needed until https://github.com/single-cell-data/TileDB-SOMA/issues/1926 is resolved,
# when the repo's own setup.py won't depend on pyarrow-hotfix anymore
- pyarrow-hotfix
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure exactly how to handle this.

pyarrow: # [linux]
- 11 # [linux]
- 16 # [linux]

We obviously can't both pin >= 14.0.1 in the recipe and build a pyarrow 11 variant.

This is a judgement call. It's my understanding that SOMA doesn't use the problematic code paths anyways. And pyarrow-hotfix is explicitly installed in our cloud Dockerfiles anyways, so it'll still be installed if it's not a SOMA requirement.

https://github.com/TileDB-Inc/TileDB-Cloud-JupyterHub/blob/ad5c32c11efa7dba8787c2cceb5d9887b616be06/notebook/Dockerfile#L171

But it would be possible to install this new SOMA build against pyarrow 11 into a conda env without pyarrow-hotfix installed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logged into TileDB Cloud to confirm that both the vulnerable pyarrow 11 and pyarrow-hotfix are currently installed in the notebook image:

jovyan@jupyter-af59ce7f-50c8-4988-a167-2bf441d61631:~$ conda list arrow
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
arrow-cpp                 11.0.0           ha770c72_5_cpu    conda-forge
libarrow                  11.0.0           h2ebd325_5_cpu    conda-forge
pyarrow                   11.0.0          py39hf0ef2fd_5_cpu    conda-forge
pyarrow-hotfix            0.6                pyhd8ed1ab_0    conda-forge

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me I think this suffices -- I've slacked @ihnorton as well to confirm ...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last thing. I confirmed that the upstream setup.py didn't add a lower bound on a pyarrow (which would have prevented building our pyarrow 11 variant for the cloud)

https://github.com/single-cell-data/TileDB-SOMA/blob/1.14.1/apis/python/setup.py#L335

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ihnorton ! :)

@johnkerl johnkerl merged commit a7e0b4c into main Sep 20, 2024
5 checks passed
@johnkerl johnkerl deleted the kerl/tiledbsoma-1.14.1 branch September 20, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants