Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 607a441

Browse files
author
legolas.zhan
committed
python_requires >=3.8
1 parent ae3d31f commit 607a441

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

‎.circleci/config.yml‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
MYSQL_PORT: 3306
2020
working_directory: ~/repo
2121
steps:
22-
- run: pyenv global 3.10.0 py36 py37 py38 py39 py310
22+
- run: pyenv global 3.10.0 py38 py39 py310 py311 py312
2323
- checkout
2424
- run:
2525
name: Waiting for Postgres to be ready
@@ -31,16 +31,17 @@ jobs:
3131
tox -- --cov-report=xml
3232
codecov
3333
34-
test-py310:
34+
test-py312:
3535
docker:
36-
- image: circleci/python:3.10.0
36+
- image: cimg/python:3.12.6
3737
user: root
3838
working_directory: ~/repo
3939
steps:
4040
- checkout
4141
- run:
4242
name: install dependencies
4343
command: |
44+
pip install --upgrade pip
4445
pip install flake8 pytest pytest-cov pytest-env
4546
pip install --editable ".[hobbit,hobbit_core]"
4647
- run:
@@ -53,6 +54,7 @@ jobs:
5354
name: tree flask project
5455
command: |
5556
cd ~/haha
57+
apt-get update
5658
apt-get install -y tree
5759
tree
5860
- run:
@@ -62,16 +64,17 @@ jobs:
6264
FLASK_APP=app.run:app flask db init && FLASK_APP=app.run:app flask db migrate && FLASK_APP=app.run:app flask db upgrade
6365
flake8 . --exclude migrations
6466
py.test
65-
test-py37:
67+
test-py38:
6668
docker:
67-
- image: circleci/python:3.7.10
69+
- image: circleci/python:3.8.0
6870
user: root
6971
working_directory: ~/repo
7072
steps:
7173
- checkout
7274
- run:
7375
name: install dependencies
7476
command: |
77+
pip install --upgrade pip
7578
pip install flake8 pytest pytest-cov pytest-env
7679
pip install --editable ".[hobbit,hobbit_core]"
7780
- run:
@@ -109,9 +112,9 @@ workflows:
109112
test:
110113
jobs:
111114
- tox
112-
- test-py310:
115+
- test-py312:
113116
requires:
114117
- tox
115-
- test-py37:
118+
- test-py38:
116119
requires:
117120
- tox

‎setup.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def gen_data(data_root='static'):
3333
setup(
3434
name='hobbit-core',
3535
version='4.0.0.rc0',
36-
python_requires='>=3.7, <4',
36+
python_requires='>=3.8, <4',
3737
description='Hobbit - A flask project generator.',
3838
long_description=long_description,
3939
long_description_content_type=long_description_content_type,
@@ -42,7 +42,6 @@ def gen_data(data_root='static'):
4242
url='https://github.com/TTWShell/hobbit-core',
4343
classifiers=[
4444
'Topic :: Utilities',
45-
'Programming Language :: Python :: 3.7',
4645
'Programming Language :: Python :: 3.8',
4746
'Programming Language :: Python :: 3.9',
4847
'Programming Language :: Python :: 3.10',

‎tox.ini‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# TOX CONFIGURATION
22
#
3-
# pyenv virtualenv -p python3.7 3.7.10 py37
4-
# pyenv virtualenv -p python3.8 3.8.10 py38
5-
# pyenv virtualenv -p python3.9 3.9.5 py39
6-
# pyenv virtualenv -p python3.10 3.10.0 py310
3+
# pyenv virtualenv -p 3.8.10 py38
4+
# pyenv virtualenv -p 3.9.5 py39
5+
# pyenv virtualenv -p 3.10.0 py310
6+
# pyenv virtualenv -p 3.11.0 py311
7+
# pyenv virtualenv -p 3.12.0 py312
78
#
8-
# pyenv shell py37 py38 py39 py310
9+
# pyenv shell py38 py39 py310 py311 py312
910

1011
[tox]
11-
envlist = doc,py{37,38,39,310}
12+
envlist = doc,py{38,39,310,311,312}
1213

1314
[testenv:doc]
1415
basepython = python3

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /