Skip to content

Commit

Permalink
Revert "Rename snowflake-cli-labs to snowflake-cli (#694)" (#711)
Browse files Browse the repository at this point in the history
Reverting project name change because of name clash on PyPI.
  • Loading branch information
sfc-gh-astus authored Jan 31, 2024
1 parent 3fa067e commit 7712583
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 269 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/old_publish.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +0,0 @@
name: Upload Old Python Package

on: workflow_dispatch

permissions:
contents: read

defaults:
run:
working-directory: "./compat/snowflake-cli-labs"

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build package
run: python -m hatch build
- name: Publish package
run: python -m hatch publish -u __token__ -a ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For complete installation and usage instructions, refer to the
Requires Python >= 3.8

```bash
pip install snowflake-cli
pip install snowflake-cli-labs
snow --help
```

Expand Down
201 changes: 0 additions & 201 deletions compat/snowflake-cli-labs/LICENSE

This file was deleted.

5 changes: 0 additions & 5 deletions compat/snowflake-cli-labs/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions compat/snowflake-cli-labs/pyproject.toml

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "snowflake-cli"
name = "snowflake-cli-labs"
authors = [{ name = "Snowflake Inc." }]
license = { file = "LICENSE" }
dynamic = ["version"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "snowflakecli-test-multilingual-hello-plugin"
requires-python = ">=3.8"
dependencies = [
"snowflake-cli>=1.1.0"
"snowflake-cli-labs>=1.1.0"
]
version = "0.0.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "snowflakecli-test-snowpark-hello-plugin"
requires-python = ">=3.8"
dependencies = [
"snowflake-cli>=1.1.0"
"snowflake-cli-labs>=1.1.0"
]
version = "0.0.1"

Expand Down
2 changes: 1 addition & 1 deletion tests_e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _install_snowcli_with_external_plugin(
"-m",
"pip",
"install",
test_root_path / f"../dist/snowflake_cli-{version}-py3-none-any.whl",
test_root_path / f"../dist/snowflake_cli_labs-{version}-py3-none-any.whl",
]
)
subprocess.check_call(
Expand Down

0 comments on commit 7712583

Please sign in to comment.