Skip to content

Commit

Permalink
update_pythonversion
Browse files Browse the repository at this point in the history
  • Loading branch information
elephaint committed Feb 8, 2024
1 parent e70c3aa commit c773066
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
matrix:
include:
# Window 64 bit
- os: windows-2019
python: 38
platform_id: win_amd64
# - os: windows-2019
# python: 38
# platform_id: win_amd64
- os: windows-latest
python: 39
platform_id: win_amd64
Expand All @@ -26,15 +26,15 @@ jobs:
- os: windows-latest
python: 311
platform_id: win_amd64
- os: windows-latest
python: 312
platform_id: win_amd64
# - os: windows-latest
# python: 312
# platform_id: win_amd64

# Linux 64 bit manylinux2014
- os: ubuntu-latest
python: 38
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
# - os: ubuntu-latest
# python: 38
# platform_id: manylinux_x86_64
# manylinux_image: manylinux2014
- os: ubuntu-latest
python: 39
platform_id: manylinux_x86_64
Expand All @@ -47,15 +47,15 @@ jobs:
python: 311
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 312
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
# - os: ubuntu-latest
# python: 312
# platform_id: manylinux_x86_64
# manylinux_image: manylinux2014

# MacOS x86_64
- os: macos-latest
python: 38
platform_id: macosx_x86_64
# - os: macos-latest
# python: 38
# platform_id: macosx_x86_64
- os: macos-latest
python: 39
platform_id: macosx_x86_64
Expand All @@ -65,14 +65,14 @@ jobs:
- os: macos-latest
python: 311
platform_id: macosx_x86_64
- os: macos-latest
python: 312
platform_id: macosx_x86_64
# - os: macos-latest
# python: 312
# platform_id: macosx_x86_64

# MacOS arm64
- os: macos-latest
python: 38
platform_id: macosx_arm64
# - os: macos-latest
# python: 38
# platform_id: macosx_arm64
- os: macos-latest
python: 39
platform_id: macosx_arm64
Expand All @@ -82,9 +82,9 @@ jobs:
- os: macos-latest
python: 311
platform_id: macosx_arm64
- os: macos-latest
python: 312
platform_id: macosx_arm64
# - os: macos-latest
# python: 312
# platform_id: macosx_arm64

steps:
- name: Checkout PGBM
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8' # update once build dependencies are available
python-version: '3.9' # update once build dependencies are available

- name: Build wheels
env:
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8' # update once build dependencies are available
python-version: '3.9' # update once build dependencies are available

- name: Build source distribution
run: bash .github/scripts/build_source.sh
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_openmp_flag():
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"],
python_requires='>=3.8',
python_requires='>=3.9,<=3.11',
install_requires=["scikit-learn>=1.2.0",
"ninja>=1.10.2.2",
"numba>=0.56"],
Expand Down

0 comments on commit c773066

Please sign in to comment.