Skip to content

Commit c43850b

Browse files
authored
Merge branch 'main' into copilot/update-automl-metric-documentation
2 parents 87b5faa + 67bdcde commit c43850b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+943
-173
lines changed

.github/workflows/python-package.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,8 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
os: [ubuntu-latest, macos-latest, windows-latest]
43-
python-version: ["3.10", "3.11", "3.12"]
44-
exclude:
45-
- os: macos-latest
46-
python-version: "3.10" # macOS runners will hang on python 3.10 for unknown reasons
47-
- os: macos-latest
48-
python-version: "3.12" # macOS runners will hang on python 3.12 for unknown reasons
42+
os: [ubuntu-latest, windows-latest]
43+
python-version: ["3.10", "3.11", "3.12", "3.13"]
4944
steps:
5045
- uses: actions/checkout@v4
5146
- name: Set up Python ${{ matrix.python-version }}
@@ -79,6 +74,11 @@ jobs:
7974
run: |
8075
pip install pyspark==4.0.1
8176
pip list | grep "pyspark"
77+
- name: On Ubuntu python 3.13, install pyspark 4.1.0
78+
if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
79+
run: |
80+
pip install pyspark==4.1.0
81+
pip list | grep "pyspark"
8282
# # TODO: support ray
8383
# - name: If linux and python<3.11, install ray 2
8484
# if: matrix.os == 'ubuntu-latest' && matrix.python-version < '3.11'
@@ -103,10 +103,12 @@ jobs:
103103
run: |
104104
pip cache purge
105105
- name: Test with pytest
106+
timeout-minutes: 120
106107
if: matrix.python-version != '3.11'
107108
run: |
108109
pytest test/ --ignore=test/autogen --reruns 2 --reruns-delay 10
109110
- name: Coverage
111+
timeout-minutes: 120
110112
if: matrix.python-version == '3.11'
111113
run: |
112114
pip install coverage

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ repos:
3636
- id: black
3737

3838
- repo: https://github.com/executablebooks/mdformat
39-
rev: 0.7.17
39+
rev: 0.7.22
4040
hooks:
4141
- id: mdformat
4242
additional_dependencies:

NOTICE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ This repository incorporates material as listed below or described in the code.
44

55
## Component. Ray.
66

7-
Code in tune/\[analysis.py, sample.py, trial.py, result.py\],
8-
searcher/\[suggestion.py, variant_generator.py\], and scheduler/trial_scheduler.py is adapted from
7+
Code in tune/[analysis.py, sample.py, trial.py, result.py],
8+
searcher/[suggestion.py, variant_generator.py], and scheduler/trial_scheduler.py is adapted from
99
https://github.com/ray-project/ray/blob/master/python/ray/tune/
1010

1111
## Open Source License/Copyright Notice.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ FLAML has a .NET implementation in [ML.NET](http://dot.net/ml), an open-source,
3434

3535
## Installation
3636

37-
FLAML requires **Python version >= 3.9**. It can be installed from pip:
37+
The latest version of FLAML requires **Python >= 3.10 and < 3.14**. While other Python versions may work for core components, full model support is not guaranteed. FLAML can be installed via `pip`:
3838

3939
```bash
4040
pip install flaml

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you believe you have found a security vulnerability in any Microsoft-owned re
1212

1313
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
1414

15-
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
15+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
1616

1717
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
1818

0 commit comments

Comments
 (0)