Skip to content

Commit

Permalink
SNOW-1063081 Update version to 0.4.0 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tmonk authored Apr 22, 2024
1 parent 403bdd6 commit ee6c338
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 4 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 0.4.0 (2024-04-17)
## 0.4.0 (2024-04-22)

* Upgrade OpenTelemetry Python dependencies to version 1.23.0
* Drop the dependency on package opentelemetry-exporter-otlp and all its transitive dependencies
Expand Down
2 changes: 1 addition & 1 deletion anaconda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: snowflake_telemetry_python
version: "0.4.0.dev"
version: "0.4.0"

source:
path: {{ environ.get('SNOWFLAKE_TELEMETRY_DIR') }}
Expand Down
2 changes: 1 addition & 1 deletion src/snowflake/telemetry/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#

"""Update this for the versions."""
VERSION = "0.4.0.dev"
VERSION = "0.4.0"
2 changes: 1 addition & 1 deletion tests/snowflake-telemetry-test-utils/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
long_description=LONG_DESCRIPTION,
install_requires=[
"pytest >= 7.0.0",
"snowflake-telemetry-python == 0.4.0.dev",
"snowflake-telemetry-python == 0.4.0",
],
packages=find_namespace_packages(
where='src'
Expand Down

0 comments on commit ee6c338

Please sign in to comment.