From f179c896ea5449ca5dcb5341e42980b6415d38e9 Mon Sep 17 00:00:00 2001 From: StardustDL Date: Mon, 5 Feb 2024 22:58:49 +0800 Subject: [PATCH] [update] update packages and aexpy to 0.2.1 --- config.json | 13 ++++++++++++- index/aexpyw.py | 3 ++- requirements.txt | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index e993c86..26c3c51 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,17 @@ { "dist": "./dist", "cache": "./cache", - "packages": ["generator-oj-problem", "python"], + "packages": [ + "python", + "aexpy", + "generator-oj-problem", + "coxbuild", + "click", + "Flask", + "requests", + "tornado", + "PyYAML", + "jinja2" + ], "worker": "package" } \ No newline at end of file diff --git a/index/aexpyw.py b/index/aexpyw.py index 63823f9..e38af3d 100644 --- a/index/aexpyw.py +++ b/index/aexpyw.py @@ -4,6 +4,7 @@ from dataclasses import dataclass from typing import override from aexpy.models import Product, Distribution, ApiDescription, ApiDifference, Report +import aexpy from . import env import sys @@ -84,7 +85,7 @@ def getCommandPrefix(self): "-v", f"{str(env.cache.resolve())}:/data", "--rm", - "stardustdl/aexpy:latest", + f"stardustdl/aexpy:{aexpy.__version__}", ] @override diff --git a/requirements.txt b/requirements.txt index 98bf100..fdcbb23 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ requests==2.31.0 semver==3.0.2 -aexpy==0.2.0 +aexpy==0.2.1 packaging==23.2 \ No newline at end of file