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

[python] correct typos in package name #974

Merged
merged 3 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions .github/workflows/py-dependency-check.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Python dependency checks

# This workflow is intended to check that the latest release of the `cellxgene-census` package
# This workflow is intended to check that the latest release of the `cellxgene_census` package
# continues to function correctly using the latest upstream dependencies.
#
# Method:
# 1. Check out the repo at the latest release tag
# 2. Install latest cellxgene-census package from pypi
# 2. Install latest cellxgene_census package from pypi
# 3. Verify versions match
# 4. Run tests from the repo

Expand Down Expand Up @@ -60,14 +60,14 @@ jobs:
python -m pip install -U pip setuptools wheel
pip install --use-pep517 accumulation-tree # Geneformer dependency needs --use-pep517 for Cython
pip install -U -r ./api/python/cellxgene_census/scripts/requirements-dev.txt
pip install -U cellxgene-census[experimental]
pip install -U cellxgene_census[experimental]

# dump pip config for logs
pip freeze

LATEST_RELEASE_TAG=$(echo "${{ steps.latestrelease.outputs.releasetag }}" | sed 's/^.//')
echo LATEST_RELEASE_TAG="$LATEST_RELEASE_TAG"
LATEST_PYPI_RELEASE=$(pip freeze | grep cellxgene-census | sed 's/^.*\=\=//')
LATEST_PYPI_RELEASE=$(pip freeze | grep cellxgene_census | sed 's/^.*\=\=//')
echo LATEST_PYPI_RELEASE="$LATEST_PYPI_RELEASE"
if [ "$LATEST_PYPI_RELEASE" != "$LATEST_RELEASE_TAG" ]; then
echo Github and PyPi latest release tags do not match.
Expand Down
2 changes: 1 addition & 1 deletion api/python/cellxgene_census/src/cellxgene_census/_open.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _assert_mirror_supported(mirror: CensusMirror) -> None:
"""
if mirror["provider"] not in get_args(Provider):
raise ValueError(
f"Unsupported mirror provider: {mirror['provider']}. Try upgrading the cellxgene-census package to the latest version."
f"Unsupported mirror provider: {mirror['provider']}. Try upgrading the cellxgene_census package to the latest version."
)


Expand Down
2 changes: 1 addition & 1 deletion api/python/cellxgene_census/tests/test_lts_compat.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Compatibility tests between the installed verison of cellxgene-census and
Compatibility tests between the installed verison of cellxgene_census and
a named LTS release. Primarilly intended to be driven by a periodic GHA.

Where there are known and accepted incompatibilities, use `pytest.skip`
Expand Down
Loading