Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0639882
Merge pull request #1274 from openml/develop
PGijsbers Jul 20, 2023
12c3d30
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Aug 1, 2023
2397231
Raise correct TypeError and improve type check
PGijsbers Aug 1, 2023
2801e9d
Type check with isinstance instead of type() ==
PGijsbers Aug 1, 2023
241608a
Docker enhancement #1277 (#1278)
PGijsbers Aug 15, 2023
1cc1169
fix: carefully replaced minio_url with parquet_url (#1280)
varshneydevansh Aug 17, 2023
5dc10b6
Pytest/utils (#1269)
PGijsbers Sep 20, 2023
895aefa
Documented remaining Attributes of classes and functions (#1283)
v-parmar Oct 31, 2023
8a039ed
[pre-commit.ci] pre-commit autoupdate (#1281)
pre-commit-ci[bot] Nov 14, 2023
abf7caa
[pre-commit.ci] pre-commit autoupdate (#1291)
pre-commit-ci[bot] Jan 2, 2024
2547217
Bump actions/checkout from 3 to 4 (#1284)
dependabot[bot] Jan 2, 2024
8014987
Bump docker/login-action from 2 to 3 (#1285)
dependabot[bot] Jan 2, 2024
e340838
Bump docker/metadata-action from 4 to 5 (#1286)
dependabot[bot] Jan 2, 2024
015f3cd
Bump docker/setup-qemu-action from 2 to 3 (#1287)
dependabot[bot] Jan 2, 2024
0d100db
Bump docker/build-push-action from 4 to 5 (#1288)
dependabot[bot] Jan 2, 2024
c186c64
Add more type annotations (#1261)
mfeurer Jan 2, 2024
f750f99
Bump docker/setup-buildx-action from 2 to 3 (#1292)
dependabot[bot] Jan 4, 2024
fe5403a
Bump actions/setup-python from 4 to 5 (#1293)
dependabot[bot] Jan 4, 2024
0eb0b72
Rework Tagging Tests for New Server Specification (#1294)
LennartPurucker Jan 5, 2024
054ec33
ci: Update tooling (#1298)
eddiebergman Jan 8, 2024
ee1231b
ci: Disable 3.6 tests (#1302)
eddiebergman Jan 8, 2024
b217a3f
fix: Chipping away at ruff lints (#1303)
eddiebergman Jan 8, 2024
88cfa21
Tagging constraints (#1305)
janvanrijn Jan 9, 2024
3c5a4c0
[pre-commit.ci] pre-commit autoupdate (#1306)
pre-commit-ci[bot] Jan 9, 2024
c771a78
Linting Everything - Fix All mypy and ruff Errors (#1307)
LennartPurucker Jan 9, 2024
6e13e85
ci: Remove Python 3.6/7 (#1308)
eddiebergman Jan 9, 2024
1b27d14
ci: remove 3.7 patch (#1309)
LennartPurucker Jan 10, 2024
bd193bb
Make Test Work Again After Ruff and Linter Changes (#1310)
LennartPurucker Jan 12, 2024
18ead2f
Add Feature Descriptions Rebase Clean (#1316)
LennartPurucker Jan 12, 2024
c93b022
Make Class Label Retrieval More Lenient (#1315)
LennartPurucker Jan 12, 2024
a7cb9a5
[pre-commit.ci] pre-commit autoupdate (#1318)
pre-commit-ci[bot] Jan 15, 2024
f730ebc
Fix: update fetching a bucket from MinIO (#1314)
eddiebergman Jan 17, 2024
d3f9de6
Update progress.rst for minor release (#1319)
LennartPurucker Jan 18, 2024
1d26ad5
Prepare Develop for Merge with Main (#1321)
LennartPurucker Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .flake8

This file was deleted.

26 changes: 22 additions & 4 deletions .github/workflows/dist.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
name: dist-check

on: [push, pull_request]
on:
workflow_dispatch:

push:
branches:
- main
- develop
tags:
- "v*.*.*"

pull_request:
branches:
- main
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Build dist
run: |
python setup.py sdist
pip install build
python -m build --sdist
- name: Twine check
run: |
pip install twine
Expand Down
23 changes: 20 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
name: Docs
on: [pull_request, push]
on:
workflow_dispatch:

push:
branches:
- main
- develop
tags:
- "v*.*.*"

pull_request:
branches:
- main
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand Down
23 changes: 20 additions & 3 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
name: pre-commit

on: [push]
on:
workflow_dispatch:

push:
branches:
- main
- develop
tags:
- "v*.*.*"

pull_request:
branches:
- main
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
run-all-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python 3.8
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install pre-commit
Expand Down
37 changes: 29 additions & 8 deletions .github/workflows/release_docker.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
name: release-docker

on:
workflow_dispatch:
push:
branches:
- 'main'
- 'develop'
- 'docker'
tags:
- 'v*'
pull_request:
branches:
- 'develop'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:

Expand All @@ -15,34 +24,46 @@ jobs:

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract metadata (tags, labels) for Docker Hub
id: meta_dockerhub
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: "openml/openml-python"

- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ./docker/
push: true
tags: ${{ steps.meta_dockerhub.outputs.tags }}
labels: ${{ steps.meta_dockerhub.outputs.labels }}
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'push' }}

- name: Update repo description
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: openml/openml-python
short-description: "pre-installed openml-python environment"
readme-filepath: ./docker/readme.md

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
85 changes: 41 additions & 44 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,66 @@
name: Tests

on: [push, pull_request]
on:
workflow_dispatch:

push:
branches:
- main
- develop
tags:
- "v*.*.*"

pull_request:
branches:
- main
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: (${{ matrix.os }}, Py${{ matrix.python-version }}, sk${{ matrix.scikit-learn }}, sk-only:${{ matrix.sklearn-only }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.7, 3.8]
scikit-learn: [0.21.2, 0.22.2, 0.23.1, 0.24]
python-version: ["3.8"]
# TODO(eddiebergman): We should consider testing against newer version I guess...
# We probably consider just having a `"1"` version to always test against latest
scikit-learn: ["0.23.1", "0.24"]
os: [ubuntu-latest]
sklearn-only: ['true']
exclude: # no scikit-learn 0.21.2 release for Python 3.8
- python-version: 3.8
scikit-learn: 0.21.2
sklearn-only: ["true"]
exclude: # no scikit-learn 0.23 release for Python 3.9
- python-version: "3.9"
scikit-learn: "0.23.1"
include:
- python-version: 3.6
scikit-learn: 0.18.2
scipy: 1.2.0
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.6
scikit-learn: 0.19.2
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.6
scikit-learn: 0.20.2
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.6
scikit-learn: 0.21.2
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.6
scikit-learn: 0.22.2
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.6
scikit-learn: 0.23.1
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.6
scikit-learn: 0.24
os: ubuntu-20.04
sklearn-only: 'true'
- python-version: 3.8
- os: ubuntu-latest
python-version: "3.9"
scikit-learn: "0.24"
scipy: "1.10.0"
sklearn-only: "true"
# Include a code cov version
- code-cov: true
os: ubuntu-latest
python-version: "3.8"
scikit-learn: 0.23.1
code-cov: true
sklearn-only: 'false'
os: ubuntu-latest
# Include a windows test, for some reason on a later version of scikit-learn
- os: windows-latest
sklearn-only: 'false'
python-version: "3.8"
scikit-learn: 0.24.*
scipy: 1.10.0
scipy: "1.10.0" # not sure why the explicit scipy version?
sklearn-only: 'false'
fail-fast: false
max-parallel: 4

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Python ${{ matrix.python-version }}
if: matrix.os != 'windows-latest' # windows-latest only uses preinstalled Python (3.7.9)
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ doc/auto_examples/
doc/modules/generated/
doc/datasets/generated/

# Some stuff from testing?
tests/files/org/openml/test/datasets/1/
tests/files/org/openml/test/datasets/2/features.xml.pkl
tests/files/org/openml/test/datasets/2/qualities.xml.pkl
tests/files/org/openml/test/locks/
tests/files/org/openml/test/tasks/1/datasplits.pkl.py3
tests/files/org/openml/test/tasks/1882/datasplits.pkl.py3

# Distribution / packaging

.Python
Expand Down
Empty file removed .nojekyll
Empty file.
Loading