diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b704bd36a5..93caadd4fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,12 +7,14 @@ on: paths: - "src/**" - ".github/workflows/tests.yml" + - "pyproject.toml" push: branches: - 20** paths: - "src/**" - ".github/workflows/tests.yml" + - "pyproject.toml" concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -27,7 +29,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: | - 3.7 3.8 3.9 3.10 diff --git a/README-zh-cn.md b/README-zh-cn.md index 4aa05fb464..43c31f4a7f 100644 --- a/README-zh-cn.md +++ b/README-zh-cn.md @@ -3,7 +3,7 @@ [![tests](https://github.com/haiiliin/abqpy/actions/workflows/tests.yml/badge.svg)](https://github.com/haiiliin/abqpy/actions/workflows/tests.yml) [![rtd](https://readthedocs.org/projects/abqpy/badge/?version=latest)](https://readthedocs.org/projects/abqpy/) [![coveralls](https://coveralls.io/repos/github/haiiliin/abqpy/badge.svg?branch=2024)](https://coveralls.io/github/haiiliin/abqpy?branch=2024) -[![python](https://img.shields.io/badge/Python-3.7%2B-brightgreen)](https://www.python.org/downloads/) +[![python](https://img.shields.io/badge/Python-3.8%2B-brightgreen)](https://www.python.org/downloads/) [![abaqus](https://img.shields.io/badge/Abaqus-2016%2B-brightgreen)](https://www.3ds.com/products-services/simulia/products/abaqus/) [![Crowdin](https://badges.crowdin.net/abqpy-locale/localized.svg)](https://crowdin.com/project/abqpy-locale) @@ -21,7 +21,7 @@ Abaqus/Python 脚本的类型提示 ## 快速开始 -确保 和 +确保 已经安装成功,然后打开 `cmd` 或者 `terminal`,输入: @@ -29,7 +29,7 @@ Abaqus/Python 脚本的类型提示 pip install -U abqpy==2024.* # 将主版本号替换为你的 Abaqus 版本号 ``` -然后,在你喜欢的开发环境中使用 Python 3.7+ 运行你的 Abaqus/Python 脚本,看看奇迹如何发生。 +然后,在你喜欢的开发环境中使用 Python 3.8+ 运行你的 Abaqus/Python 脚本,看看奇迹如何发生。 更多信息,请参阅 [文档](https://haiiliin.github.io/abqpy). ## 欢迎拉取合并请求 diff --git a/README.md b/README.md index 7f7e4ce865..3d295de27b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![tests](https://github.com/haiiliin/abqpy/actions/workflows/tests.yml/badge.svg)](https://github.com/haiiliin/abqpy/actions/workflows/tests.yml) [![rtd](https://readthedocs.org/projects/abqpy/badge/?version=latest)](https://readthedocs.org/projects/abqpy/) [![coveralls](https://coveralls.io/repos/github/haiiliin/abqpy/badge.svg?branch=2024)](https://coveralls.io/github/haiiliin/abqpy?branch=2024) -[![python](https://img.shields.io/badge/Python-3.7%2B-brightgreen)](https://www.python.org/downloads/) +[![python](https://img.shields.io/badge/Python-3.8%2B-brightgreen)](https://www.python.org/downloads/) [![abaqus](https://img.shields.io/badge/Abaqus-2016%2B-brightgreen)](https://www.3ds.com/products-services/simulia/products/abaqus/) [![Crowdin](https://badges.crowdin.net/abqpy-locale/localized.svg)](https://crowdin.com/project/abqpy-locale) @@ -23,7 +23,7 @@ Python script, even without opening the Abaqus/CAE. ## Quick Start -Make sure and +Make sure and are installed on your computer, open `cmd` or `terminal`, type: @@ -33,7 +33,7 @@ pip install -U abqpy==2024.* # change the major version to match your Abaqus ve ``` Then, open your Abaqus/Python script in your favorite IDE with Python language support, -run the script with Python 3.7+ (just do it!), see the magic happens. +run the script with Python 3.8+ (just do it!), see the magic happens. For more information, please refer to the [documentation](https://haiiliin.github.io/abqpy). ## Pull Requests are Welcome diff --git a/docs/source/getting_started.md b/docs/source/getting_started.md index 5b31eabc02..23635ab7b0 100644 --- a/docs/source/getting_started.md +++ b/docs/source/getting_started.md @@ -10,7 +10,7 @@ Python script, even without opening the Abaqus/CAE. ## Installation -Make sure and +Make sure and are installed on your computer before installing `abqpy`. diff --git a/pyproject.toml b/pyproject.toml index aa8d5cb4d4..e1fbf37161 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,11 +12,10 @@ authors = [ description = "Type hints for Abaqus/Python scripting" readme = "README.md" dynamic = ["version"] -requires-python = ">=3.7" +requires-python = ">=3.8" classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -101,7 +100,7 @@ addopts = """-rf -s --cov=src --cov-report=xml --cov-report=html --cov-report=te [tool.black] line-length = 120 -target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312'] +target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] include = '(src/abaqus/.*\.py|src/abqpy/.*\.py|tests/.*\.py|setup\.py)' [tool.isort] diff --git a/tox.ini b/tox.ini index cbc1c2ccd2..714699fcc1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{37,38,39,310,311,312,313} +envlist = py{38,39,310,311,312,313} [testenv] extras = diff --git a/wrapper/pyproject.toml b/wrapper/pyproject.toml index 809de962fd..d7fcfe969e 100644 --- a/wrapper/pyproject.toml +++ b/wrapper/pyproject.toml @@ -13,11 +13,10 @@ authors = [ description = "Type hints for Abaqus/Python scripting" readme = "README.md" dynamic = ["version"] -requires-python = ">=3.7" +requires-python = ">=3.8" classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",