Skip to content

Commit 08ef096

Browse files
committed
comment out even more CI
1 parent 4b6b1d8 commit 08ef096

File tree

5 files changed

+102
-2336
lines changed

5 files changed

+102
-2336
lines changed

.github/workflows/python_package.yml

Lines changed: 98 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ jobs:
109109
# task: sdist
110110
# compiler: MSVC
111111
# python_version: '3.10'
112-
# - os: ubuntu-latest
113-
# container: &ubuntu_latest_image ubuntu:22.04
114-
# os-display-name: &ubuntu_latest_display_name 'ubuntu22.04'
115-
# task: regular
116-
# compiler: clang-17
117-
# python_version: '3.13'
118-
# in-ubuntu-base-container: 'true'
112+
- os: ubuntu-latest
113+
container: &ubuntu_latest_image ubuntu:22.04
114+
os-display-name: &ubuntu_latest_display_name 'ubuntu22.04'
115+
task: regular
116+
compiler: clang-17
117+
python_version: '3.13'
118+
in-ubuntu-base-container: 'true'
119119
# - os: ubuntu-latest
120120
# container: *ubuntu_latest_image
121121
# os-display-name: *ubuntu_latest_display_name
@@ -231,16 +231,16 @@ jobs:
231231
# produces-artifacts: 'true'
232232
# artifact-name: 'macosx-amd64-liblightgbm'
233233
# python_version: '3.11'
234-
- os: ubuntu-latest
235-
container: *manylinux_amd64_image
236-
os-display-name: *manylinux_amd64_display_name
237-
task: regular
238-
compiler: gcc
239-
python_version: '3.11'
240-
in-ubuntu-base-container: 'false'
241-
setup-conda: 'false'
242-
produces-artifacts: 'true'
243-
artifact-name: 'linux-amd64-liblightgbm'
234+
# - os: ubuntu-latest
235+
# container: *manylinux_amd64_image
236+
# os-display-name: *manylinux_amd64_display_name
237+
# task: regular
238+
# compiler: gcc
239+
# python_version: '3.11'
240+
# in-ubuntu-base-container: 'false'
241+
# setup-conda: 'false'
242+
# produces-artifacts: 'true'
243+
# artifact-name: 'linux-amd64-liblightgbm'
244244
- os: ubuntu-latest
245245
container: *manylinux_amd64_image
246246
os-display-name: *manylinux_amd64_display_name
@@ -252,29 +252,29 @@ jobs:
252252
setup-conda: 'false'
253253
produces-artifacts: 'true'
254254
artifact-name: 'linux-amd64-wheel'
255-
- os: ubuntu-latest
256-
container: *manylinux_amd64_image
257-
os-display-name: *manylinux_amd64_display_name
258-
task: sdist
259-
compiler: gcc
260-
python_version: '3.9'
261-
in-ubuntu-base-container: 'false'
262-
setup-conda: 'false'
263-
produces-artifacts: 'true'
264-
artifact-name: 'sdist'
255+
# - os: ubuntu-latest
256+
# container: *manylinux_amd64_image
257+
# os-display-name: *manylinux_amd64_display_name
258+
# task: sdist
259+
# compiler: gcc
260+
# python_version: '3.9'
261+
# in-ubuntu-base-container: 'false'
262+
# setup-conda: 'false'
263+
# produces-artifacts: 'true'
264+
# artifact-name: 'sdist'
265265
- os: windows-2022
266266
task: bdist
267267
compiler: MSVC
268268
method: wheel
269269
produces-artifacts: 'true'
270270
artifact-name: 'windows-amd64-wheel'
271271
python_version: '3.13'
272-
- os: windows-2022
273-
task: regular
274-
compiler: MSVC
275-
produces-artifacts: 'true'
276-
artifact-name: 'windows-amd64-cli-and-liblightgbm'
277-
python_version: '3.11'
272+
# - os: windows-2022
273+
# task: regular
274+
# compiler: MSVC
275+
# produces-artifacts: 'true'
276+
# artifact-name: 'windows-amd64-cli-and-liblightgbm'
277+
# python_version: '3.11'
278278
steps:
279279
- name: Install packages used by third-party actions
280280
if: ${{ matrix.in-ubuntu-base-container == 'true' }}
@@ -409,77 +409,77 @@ jobs:
409409
path: artifacts/*.nupkg
410410
if-no-files-found: error
411411

412-
test-latest-versions:
413-
name: Python - latest versions (manylinux_2_28)
414-
runs-on: ubuntu-latest
415-
timeout-minutes: 60
416-
steps:
417-
- name: Checkout repository
418-
uses: actions/checkout@v6
419-
with:
420-
fetch-depth: 5
421-
persist-credentials: false
422-
submodules: true
423-
- name: Create wheel
424-
run: |
425-
docker run \
426-
--rm \
427-
--env CMAKE_BUILD_PARALLEL_LEVEL=${{ env.CMAKE_BUILD_PARALLEL_LEVEL }} \
428-
-v $(pwd):/opt/lgb-build \
429-
-w /opt/lgb-build \
430-
lightgbm/vsts-agent:manylinux_2_28_x86_64 \
431-
/bin/bash -c 'PATH=/opt/miniforge/bin:$PATH sh ./build-python.sh bdist_wheel --nomp'
432-
- name: Test compatibility
433-
run: |
434-
docker run \
435-
--rm \
436-
-v $(pwd):/opt/lgb-build \
437-
-w /opt/lgb-build \
438-
python:3.13 \
439-
/bin/bash ./.ci/test-python-latest.sh
440-
test-old-versions:
441-
name: Python - oldest supported versions (manylinux_2_28, Python ${{ matrix.python_version }})
442-
runs-on: ubuntu-latest
443-
timeout-minutes: 60
444-
strategy:
445-
fail-fast: false
446-
matrix:
447-
# This should always include at least the oldest
448-
# not-yet-end-of-life Python version
449-
python_version:
450-
- '3.9'
451-
steps:
452-
- name: Checkout repository
453-
uses: actions/checkout@v6
454-
with:
455-
fetch-depth: 5
456-
persist-credentials: false
457-
submodules: true
458-
- name: Create wheel
459-
run: |
460-
docker run \
461-
--rm \
462-
--env CMAKE_BUILD_PARALLEL_LEVEL=${{ env.CMAKE_BUILD_PARALLEL_LEVEL }} \
463-
-v $(pwd):/opt/lgb-build \
464-
-w /opt/lgb-build \
465-
lightgbm/vsts-agent:manylinux_2_28_x86_64 \
466-
/bin/bash -c 'PATH=/opt/miniforge/bin:$PATH sh ./build-python.sh bdist_wheel --nomp'
467-
- name: Test compatibility
468-
run: |
469-
docker run \
470-
--rm \
471-
-v $(pwd):/opt/lgb-build \
472-
-w /opt/lgb-build \
473-
python:${{ matrix.python_version }} \
474-
/bin/bash ./.ci/test-python-oldest.sh
412+
# test-latest-versions:
413+
# name: Python - latest versions (manylinux_2_28)
414+
# runs-on: ubuntu-latest
415+
# timeout-minutes: 60
416+
# steps:
417+
# - name: Checkout repository
418+
# uses: actions/checkout@v6
419+
# with:
420+
# fetch-depth: 5
421+
# persist-credentials: false
422+
# submodules: true
423+
# - name: Create wheel
424+
# run: |
425+
# docker run \
426+
# --rm \
427+
# --env CMAKE_BUILD_PARALLEL_LEVEL=${{ env.CMAKE_BUILD_PARALLEL_LEVEL }} \
428+
# -v $(pwd):/opt/lgb-build \
429+
# -w /opt/lgb-build \
430+
# lightgbm/vsts-agent:manylinux_2_28_x86_64 \
431+
# /bin/bash -c 'PATH=/opt/miniforge/bin:$PATH sh ./build-python.sh bdist_wheel --nomp'
432+
# - name: Test compatibility
433+
# run: |
434+
# docker run \
435+
# --rm \
436+
# -v $(pwd):/opt/lgb-build \
437+
# -w /opt/lgb-build \
438+
# python:3.13 \
439+
# /bin/bash ./.ci/test-python-latest.sh
440+
# test-old-versions:
441+
# name: Python - oldest supported versions (manylinux_2_28, Python ${{ matrix.python_version }})
442+
# runs-on: ubuntu-latest
443+
# timeout-minutes: 60
444+
# strategy:
445+
# fail-fast: false
446+
# matrix:
447+
# # This should always include at least the oldest
448+
# # not-yet-end-of-life Python version
449+
# python_version:
450+
# - '3.9'
451+
# steps:
452+
# - name: Checkout repository
453+
# uses: actions/checkout@v6
454+
# with:
455+
# fetch-depth: 5
456+
# persist-credentials: false
457+
# submodules: true
458+
# - name: Create wheel
459+
# run: |
460+
# docker run \
461+
# --rm \
462+
# --env CMAKE_BUILD_PARALLEL_LEVEL=${{ env.CMAKE_BUILD_PARALLEL_LEVEL }} \
463+
# -v $(pwd):/opt/lgb-build \
464+
# -w /opt/lgb-build \
465+
# lightgbm/vsts-agent:manylinux_2_28_x86_64 \
466+
# /bin/bash -c 'PATH=/opt/miniforge/bin:$PATH sh ./build-python.sh bdist_wheel --nomp'
467+
# - name: Test compatibility
468+
# run: |
469+
# docker run \
470+
# --rm \
471+
# -v $(pwd):/opt/lgb-build \
472+
# -w /opt/lgb-build \
473+
# python:${{ matrix.python_version }} \
474+
# /bin/bash ./.ci/test-python-oldest.sh
475475
all-python-package-jobs-successful:
476476
if: always()
477477
runs-on: ubuntu-latest
478478
needs:
479-
- test-latest-versions
479+
# - test-latest-versions
480480
- test
481481
- test-linux-aarch64
482-
- test-old-versions
482+
# - test-old-versions
483483
steps:
484484
- name: Note that all tests succeeded
485485
uses: re-actors/[email protected]

MAINTAINING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ Most Linux CI jobs use container images built from within this repository.
1515

1616
To build new images, do the following:
1717

18-
1.
18+
1. create a branch in the LightGBM repo (not a fork!)
19+
2. navigate to https://github.com/microsoft/LightGBM/actions/workflows/ci-images.yml and click "Run workflow"
20+
3. for the `tag-suffix` input, provide a string beginning with a `-`, like "`-dev`"
21+
4.
1922

2023
## Releasing
2124

tests/python_package_test/test_callback.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)