File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ classifiers = [
1313 " Intended Audience :: Developers" ,
1414 " License :: OSI Approved :: MIT License" ,
1515 " Programming Language :: Python :: 3" ,
16+ " Programming Language :: Python :: 3.10" ,
17+ " Programming Language :: Python :: 3.11" ,
1618 " Programming Language :: Python :: 3.12" ,
1719]
1820packages = [
@@ -24,7 +26,7 @@ packages = [
2426ce-lib-wizard = " cli.main:main"
2527
2628[tool .poetry .dependencies ]
27- python = " ^3.12 "
29+ python = " ^3.10 "
2830click = " ^8.1.0"
2931inquirer = " ^3.2.0"
3032PyGithub = " ^2.0.0"
@@ -44,11 +46,11 @@ build-backend = "poetry.core.masonry.api"
4446
4547[tool .black ]
4648line-length = 100
47- target-version = [' py312 ' ]
49+ target-version = [' py310 ' ]
4850
4951[tool .ruff ]
5052line-length = 100
51- target-version = " py312 "
53+ target-version = " py310 "
5254select = [
5355 " E" , # pycodestyle errors
5456 " W" , # pycodestyle warnings
@@ -60,7 +62,7 @@ select = [
6062]
6163
6264[tool .pytype ]
63- python_version = " 3.12 "
65+ python_version = " 3.10 "
6466inputs = [
6567 " cli/" ,
6668 " core/"
Original file line number Diff line number Diff line change @@ -29,17 +29,17 @@ print_warning() {
2929
3030# Check if python3 is available
3131if ! command -v python3 & > /dev/null; then
32- print_error " python3 is not installed. Please install Python 3.12 or higher."
32+ print_error " python3 is not installed. Please install Python 3.10 or higher."
3333 exit 1
3434fi
3535
3636# Get Python version
3737PYTHON_VERSION=$( python3 -c ' import sys; print(".".join(map(str, sys.version_info[:2])))' )
3838print_info " Found Python $PYTHON_VERSION "
3939
40- # Check Python version is 3.12 +
41- if ! python3 -c ' import sys; exit(0 if sys.version_info >= (3, 12 ) else 1)' 2> /dev/null; then
42- print_error " Python 3.12 or higher is required. Found Python $PYTHON_VERSION "
40+ # Check Python version is 3.10 +
41+ if ! python3 -c ' import sys; exit(0 if sys.version_info >= (3, 10 ) else 1)' 2> /dev/null; then
42+ print_error " Python 3.10 or higher is required. Found Python $PYTHON_VERSION "
4343 exit 1
4444fi
4545
You can’t perform that action at this time.
0 commit comments