Skip to content

Commit c0469b8

Browse files
committed
Clean-up py3-alembic + fix automatic updates
alembic is owned by the sqlalchemy org which has an "odd" label naming format. this has been resolved for sqlalchemy itself but alembic did not get this fix leading it to be out of date. Bump py3-alembic and fix automatic updates to solve this issue.
1 parent 380a29d commit c0469b8

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

py3-alembic.yaml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
package:
22
name: py3-alembic
3-
version: 1.11.3
4-
epoch: 7
3+
version: 1.14.0
4+
epoch: 0
55
description: A database migration tool for SQLAlchemy.
66
copyright:
77
- license: MIT
88
dependencies:
99
provider-priority: 0
1010

11-
var-transforms:
12-
- from: ${{package.version}}
13-
match: \.
14-
replace: _
15-
to: mangled-package-version
16-
1711
vars:
1812
pypi-package: alembic
1913
import: alembic
@@ -35,7 +29,7 @@ pipeline:
3529
- uses: git-checkout
3630
with:
3731
repository: https://github.com/sqlalchemy/alembic
38-
expected-commit: 47850ab7dbc88905db8abf7abab6a48699d4a50a
32+
expected-commit: 0c70a0bb3f64aff5c6c729497f17b2bf63d882fa
3933
tag: rel_${{vars.mangled-package-version}}
4034

4135
subpackages:
@@ -109,8 +103,16 @@ test:
109103
import ${{vars.import}}
110104
111105
update:
112-
enabled: false
113-
manual: true
114-
exclude-reason: This requires manual updates because of the strange tagging scheme.
106+
enabled: true
107+
version-transform:
108+
- match: rel_(\d+)_(\d+)_(\d+)
109+
replace: $1.$2.$3
115110
github:
116111
identifier: sqlalchemy/alembic
112+
tag-filter: rel_
113+
114+
var-transforms:
115+
- from: ${{package.version}}
116+
match: \.
117+
replace: _
118+
to: mangled-package-version

0 commit comments

Comments
 (0)