Skip to content

Commit

Permalink
[FEAT]: 0.1.5 (#289)
Browse files Browse the repository at this point in the history
* (feat(build): update dependencies for pdm lock file)

* feat(iamai): update versions and dependencies for adapters

* feat(iamai): update version to 0.1.5

* feat(build): update python versions and dependencies

* feat(build): update dependencies for pdm lock file

* fix(build): fix python version in workflow

* feat(build): update docker login action and secrets
  • Loading branch information
HsiangNianian authored Sep 24, 2024
1 parent 0003915 commit 43f787c
Show file tree
Hide file tree
Showing 17 changed files with 1,242 additions and 584 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
name: Setup PDM
with:
python-version: 3.9
cache: true
- name: Install dependencies
run: pdm install -dG docs

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Publish Docker image

on:
release:
types: [published]
push:
# branches:
# - main
# - master
tags:
- 'v*'
workflow_dispatch:

jobs:
push_prod_to_registries:
Expand All @@ -24,7 +29,7 @@ jobs:
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iamai"
version = "0.1.4"
version = "0.1.5"
edition = "2021"
description = "Comprehensive AI Toolkit for Multimodal Learning and Cross-Platform Robotics."
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.9

LABEL maintainer="HsiangNianian <i@jyunko.cn>"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.9

LABEL maintainer="HsiangNianian <i@jyunko.cn>"
LABEL org.opencontainers.image.description="A simple iamai examples with python 3.10"
Expand Down
2 changes: 1 addition & 1 deletion iamai/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def install(plugin_name):
@cli.command()
def version():
"""显示iamai版本"""
click.echo("iamai版本: 1.0.0")
click.echo("iamai版本: 0.1.5")

def cli_func(*args):
cli(*args)
2 changes: 1 addition & 1 deletion packages/iamai-adapter-apscheduler/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-apscheduler"
version = "0.1.4"
version = "0.1.5"
description = "apscheduler adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-bililive/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-bililive"
version = "0.1.4"
version = "0.1.5"
description = "bililive adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-console/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-console"
version = "0.1.4"
version = "0.1.5"
description = "Console adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-cqhttp/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-cqhttp"
version = "0.1.4"
version = "0.1.5"
description = "CQHTTP adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-dingtalk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-dingtalk"
version = "0.1.4"
version = "0.1.5"
description = "Dingtalk adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-gensokyo/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-gensokyo"
version = "0.1.4"
version = "0.1.5"
description = "Gensokyo adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-kook/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-kook"
version = "0.1.4"
version = "0.1.5"
description = "kook adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion packages/iamai-adapter-red/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "iamai-adapter-red"
version = "0.1.4"
version = "0.1.5"
description = "Red adapter for iamai."
authors = [{ name = "简律纯", email = "i@jyunko.cn" }]
license = { text = "MIT" }
Expand Down
1,784 changes: 1,219 additions & 565 deletions pdm.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Changelog = "https://iamai.is-a.dev/en/latest/changelog.html#"
iamai = "iamai.__main__:main"

[tool.black]
target-version = ["py39", "py310", "py311", "py312"]
target-version = ["py39", "py310", "py311"]

[tool.pdm.dev-dependencies]
dev = [
Expand Down Expand Up @@ -167,7 +167,7 @@ line-length = 88
indent-width = 4

# Assume Python 3.10
target-version = "py310"
target-version = "py39"

[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
Expand Down

0 comments on commit 43f787c

Please sign in to comment.