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

mycli/1.29.2 package update #36497

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Changes from all commits
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
20 changes: 12 additions & 8 deletions mycli.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: mycli
version: 1.28.0
version: 1.29.2
epoch: 0
description: "static code and composition analysis tool for IaC"
copyright:
Expand Down Expand Up @@ -29,16 +29,18 @@ environment:
- py3-sqlparse
- py3-wheel
- python3
- uv
- wolfi-base

pipeline:
- uses: fetch
- uses: git-checkout
with:
uri: https://files.pythonhosted.org/packages/source/m/mycli/mycli-${{package.version}}.tar.gz
expected-sha256: 66bfac0be21df16e01ff6187cc9cece6676a4c5f1bd3435887e633b5e380e4c3
repository: https://github.com/dbcli/mycli.git
tag: v${{package.version}}
expected-commit: 8d3dbf3da55fe4e20b4e3c94cef69790434fd232

- runs: |
python3 -m gpep517 build-wheel --wheel-dir dist --output-fd 1
uv build

- runs: |
python3 -m installer -d "${{targets.destdir}}" dist/*.whl
Expand Down Expand Up @@ -67,7 +69,8 @@ test:
from unittest.mock import Mock, patch, PropertyMock
import pymysql

assert __version__ == "1.28.0", f"Expected version 1.28.0, got {__version__}"
expected_version = "${{package.version}}"
assert __version__ == expected_version, f"Expected version {expected_version}, got {__version__}"
print(f"Version check passed: {__version__}")

# Test core mycli functionality
Expand Down Expand Up @@ -122,5 +125,6 @@ test:

update:
enabled: true
release-monitor:
identifier: 8755
github:
identifier: dbcli/mycli
strip-prefix: v
Loading