From 5055951284d0b778e621f4a192f63d574aec1bac Mon Sep 17 00:00:00 2001 From: Adam Stus Date: Wed, 20 Nov 2024 10:43:12 +0100 Subject: [PATCH 1/6] Remove empty defaults from docs (#1872) --- src/snowflake/cli/_app/dev/docs/templates/usage.rst.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snowflake/cli/_app/dev/docs/templates/usage.rst.jinja2 b/src/snowflake/cli/_app/dev/docs/templates/usage.rst.jinja2 index 199e8a0127..4f46f15aae 100644 --- a/src/snowflake/cli/_app/dev/docs/templates/usage.rst.jinja2 +++ b/src/snowflake/cli/_app/dev/docs/templates/usage.rst.jinja2 @@ -48,7 +48,7 @@ Options {%- if param.type.name != "choice" %}{{ ' {' }}{% else %} {% endif %}{{ param.make_metavar() }}{% if param.type.name != "choice" %}{{ '}' }} {%- endif %} {%- endif %}` -{% if param.help %}{{ " " + param.help | replace("\n", " ") }}{% if param.help[-1] != '.' %}.{% endif %}{% if param.default is not none %} Default: {{ param.default }}.{% endif %}{% else %} TBD{% endif %} +{% if param.help %}{{ " " + param.help | replace("\n", " ") }}{% if param.help[-1] != '.' %}.{% endif %}{% if param.default is not none and param.default != "" %} Default: {{ param.default }}.{% endif %}{% else %} TBD{% endif %} {% endfor -%} {% else %} From d7422c06b020643e318f39a83d0a033cdda68b80 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:43:50 +0100 Subject: [PATCH 2/6] Bump faker from 30.8.2 to 33.0.0 (#1866) Bumps [faker](https://github.com/joke2k/faker) from 30.8.2 to 33.0.0. - [Release notes](https://github.com/joke2k/faker/releases) - [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) - [Commits](https://github.com/joke2k/faker/compare/v30.8.2...v33.0.0) --- updated-dependencies: - dependency-name: faker dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- snyk/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d975cbc928..80ad4143a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,7 @@ development = [ "pytest-randomly==3.16.0", "syrupy==4.7.2", "factory-boy==3.3.1", - "Faker==30.8.2", + "Faker==33.0.0", ] packaging = ["pyinstaller~=6.10"] diff --git a/snyk/requirements.txt b/snyk/requirements.txt index 3237b573e9..1f7bd4aa3e 100644 --- a/snyk/requirements.txt +++ b/snyk/requirements.txt @@ -21,4 +21,4 @@ pytest==8.3.3 pytest-randomly==3.16.0 syrupy==4.7.2 factory-boy==3.3.1 -Faker==30.8.2 +Faker==33.0.0 From 1f8daf1088852863510435d6a4a27d4cfb5ffcf7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:44:21 +0100 Subject: [PATCH 3/6] Bump setuptools from 75.3.0 to 75.5.0 (#1865) Bumps [setuptools](https://github.com/pypa/setuptools) from 75.3.0 to 75.5.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v75.3.0...v75.5.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- snyk/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 80ad4143a3..d90a088585 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dependencies = [ "rich==13.9.4", "requests==2.32.3", "requirements-parser==0.11.0", - "setuptools==75.3.0", + "setuptools==75.5.0", 'snowflake.core==0.12.1; python_version < "3.12"', "snowflake-connector-python[secure-local-storage]==3.12.3", 'snowflake-snowpark-python>=1.15.0;python_version < "3.12"', diff --git a/snyk/requirements.txt b/snyk/requirements.txt index 1f7bd4aa3e..c37fcc6464 100644 --- a/snyk/requirements.txt +++ b/snyk/requirements.txt @@ -5,7 +5,7 @@ packaging rich==13.9.4 requests==2.32.3 requirements-parser==0.11.0 -setuptools==75.3.0 +setuptools==75.5.0 snowflake.core==0.12.1; python_version < "3.12" snowflake-connector-python[secure-local-storage]==3.12.3 snowflake-snowpark-python>=1.15.0;python_version < "3.12" From aaea20e422ca2e71abfafdd9a8db7fa3f8d093a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:45:36 +0100 Subject: [PATCH 4/6] Bump coverage from 7.6.4 to 7.6.7 (#1867) Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.4 to 7.6.7. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.4...7.6.7) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- snyk/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d90a088585..c5820716ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ classifiers = [ [project.optional-dependencies] development = [ - "coverage==7.6.4", + "coverage==7.6.7", "pre-commit>=3.5.0", "pytest==8.3.3", "pytest-randomly==3.16.0", diff --git a/snyk/requirements.txt b/snyk/requirements.txt index c37fcc6464..1fff927fbb 100644 --- a/snyk/requirements.txt +++ b/snyk/requirements.txt @@ -15,7 +15,7 @@ urllib3>=1.24.3,<2.3 GitPython==3.1.43 pip pydantic==2.9.2 -coverage==7.6.4 +coverage==7.6.7 pre-commit>=3.5.0 pytest==8.3.3 pytest-randomly==3.16.0 From fec22bb2845b438913c013681e5b3e4f85f7af02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:46:57 +0100 Subject: [PATCH 5/6] Bump codecov/codecov-action from 4.6.0 to 5.0.2 (#1868) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 5.0.2. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238...5c47607acb93fed5485fdbf7232e8a31425f672a) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 184adb269d..42dbcfb191 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,4 +41,4 @@ jobs: run: hatch run test-cov - name: Run performance tests run: hatch run performance:test - - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 + - uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a From 7c312b8566652e3c78c093fc1fdddcabb0f0b0cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Job?= Date: Wed, 20 Nov 2024 14:57:05 +0100 Subject: [PATCH 6/6] Fix release notes (#1874) --- RELEASE-NOTES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 16c08dfd6a..aa76635f46 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -21,8 +21,6 @@ ## New additions ## Fixes and improvements -* Fix Windows permissions error on files created by CLI when owner is a part of custom group with granted - default permissions. # v3.2.0 @@ -53,6 +51,8 @@ Removed incorrect copying of connections from `connections.toml` to `config.toml`. * Fixes `snow connection generate-jwt` to work with keys with no passphrase. * The privilege to create a schema or stage is no longer required to run `snow app version create` if the schema and stage already exist. +* Fix Windows permissions error on files created by CLI when owner is a part of custom group with granted + default permissions. # v3.1.0