Skip to content

Commit

Permalink
[update] add python 3.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
StardustDL committed Feb 5, 2024
1 parent be18f92 commit 69da66b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
git fetch origin gh-pages
git worktree add ./dist gh-pages
- name: Force update
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, '[update]') }}
run: |
rm ./dist/process.json
- name: Run
Expand Down
55 changes: 2 additions & 53 deletions index/std.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,61 +19,10 @@
from .aexpyw import AexPyResult, AexPyWorker
from . import env

IGNORED_MODULES = {"antigravity"}
CONSIDERED_MODULES = [
"sys",
"os",
"pathlib",
"math",
"cmath",
"typing",
"ast",
"inspect",
"argparse",
"shutil",
"zipfile",
"urllib",
"string",
"re",
"textwrap",
"codecs",
"datetime",
"calendar",
"collections",
"heapq",
"bisect",
"array",
"copy",
"graphlib",
"enum",
"random",
"statistics",
"fractions",
"decimal",
"functools",
"itertools",
"operator",
"tempfile",
"glob",
"pickle",
"marshal",
"sqlite3",
"dbm",
"zlib",
"gzip",
"bz2",
"base64",
"lzma",
"tarfile",
"logging",
"io",
"time",
"getopt",
]
IGNORED_MODULES = {"LICENSE"}


def getTopModules(path: Path):
# return CONSIDERED_MODULES
for p in path.glob("*"):
if p.stem.startswith("_") or "-" in p.stem or p.stem in IGNORED_MODULES:
continue
Expand Down Expand Up @@ -208,4 +157,4 @@ def pair(self, pair):

@override
def getReleases(self, project):
return [Release(project="python", version=f"3.{x}") for x in range(12, 13)]
return [Release(project="python", version=f"3.{x}") for x in range(8, 13)]

0 comments on commit 69da66b

Please sign in to comment.