Showing 1,316 changed files with 52,578 additions and 32,080 deletions.
6 changes: 3 additions & 3 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"rules": {
"body-leading-blank": [1, "always"],
"body-max-line-length": [2, "always", 200],
"body-max-line-length": [2, "always", 250],
"footer-leading-blank": [1, "always"],
"footer-max-line-length": [2, "always", 100],
"header-max-length": [2, "always", 100],
"footer-max-line-length": [2, "always", 250],
"header-max-length": [2, "always", 120],
"subject-case": [
2,
"never",
Expand Down
15 changes: 0 additions & 15 deletions .coveragerc

This file was deleted.

5 changes: 3 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use nix
use flake
watch_file poetry.lock
eval "$shellHook"

export CLOUDSDK_ACTIVE_CONFIG_NAME=ibis-gbq
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ cd31389542561a94d9d0207e09c9c906c3831fe9 # refactor(ir): rename ops.AnalyticOp -
96b5b584b47e67840faa1ea32a3beaa73065039a # refactor(ir): rename ops.BinaryOp -> ops.Binary
2673ac391c89b73fb97bb646eeef898b4d48fe30 # refactor(ir): rename ops.UnaryOp -> ops.Unary
4803894dcff2afced4a1fc651d40b235c862791a # refactor(ir): rename ops.ValueOp -> ops.Value
d36af084837d4d469efce060268295eec43139fb # style: format to the black default line length
4 changes: 1 addition & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
conda-lock/*.lock linguist-generated=true
nix/sources.json linguist-generated=true
nix/sources.nix linguist-generated=true
flake.lock linguist-generated=true
poetry.lock linguist-generated=true
setup.py linguist-generated=true
requirements.txt linguist-generated=true
docs/**/*.ipynb linguist-generated=true
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Bug Report
description: File a bug report
title: "bug: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out a bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: version
attributes:
label: What version of ibis are you using?
placeholder: "Ex: 3.2.0"
validations:
required: true
- type: textarea
id: backends
attributes:
label: What backend(s) are you using, if any?
placeholder: "Ex: DuckDB"
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output or tracebacks. This will be automatically formatted into code, so no need for backticks.
render: "sh"
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/ibis-project/ibis/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Feature Request
description: Suggest an idea for ibis
title: "feat: "
labels: ["feature"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out a feature request!
- type: textarea
id: problem
attributes:
label: Is your feature request related to a problem?
description: If so, please describe the problem.
placeholder: "I am frustated by ..."
validations:
required: false
- type: textarea
id: request
attributes:
label: Describe the solution you'd like
description: Also discuss any alternatives you may have considered if applicable.
placeholder: "I'd like ..."
validations:
required: true
- type: textarea
id: version
attributes:
label: What version of ibis are you running?
placeholder: "Ex: 3.2.0"
validations:
required: true
- type: textarea
id: backends
attributes:
label: What backend(s) are you using, if any?
placeholder: "Ex: DuckDB"
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/ibis-project/ibis/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
4 changes: 2 additions & 2 deletions .github/workflows/assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
jobs:
assign_issue:
runs-on: ubuntu-latest
if: ${{ github.event.comment.body == '/take' }}
if: github.event.comment.body == '/take'
steps:
- uses: pozil/auto-assign-issue@v1.10.0
- uses: pozil/auto-assign-issue@v1.11.0
with:
assignees: ${{ github.event.comment.user.login }}
62 changes: 8 additions & 54 deletions .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,24 @@ name: Check Generated Files
on:
push:
paths:
- ./dev/poetry2setup
- ./dev/poetry2setup.py
- README.md
- poetry.lock
- pyproject.toml
- requirements.txt
- setup.py
- .github/workflows/check-setup-py.yml
- .github/workflows/check-requirements-txt.yml
pull_request:
paths:
- ./dev/poetry2setup
- ./dev/poetry2setup.py
- README.md
- poetry.lock
- pyproject.toml
- requirements.txt
- setup.py
- .github/workflows/check-setup-py.yml
- .github/workflows/check-requirements-txt.yml

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
check_setup_py:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3

- name: install nix
uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixos-unstable-small

- name: setup cachix
uses: cachix/cachix-action@v10
with:
name: ibis
extraPullNames: nix-community,poetry2nix

- name: generate setup.py
run: ./dev/poetry2setup -o setup.py

- name: check whether setup.py needs to be regenerated
run: git diff --exit-code setup.py

check_setuptools_install:
runs-on: ubuntu-latest
steps:
Expand All @@ -66,13 +37,16 @@ jobs:
run: sudo apt-get update -y -q

- name: install system dependencies
run: sudo apt-get install -y -q build-essential graphviz krb5-config libkrb5-dev libgeos-dev
run: sudo apt-get install -y -q build-essential graphviz libgeos-dev

- name: install poetry
run: pip install 'poetry<1.2'
run: pip install 'poetry>=1.2'

- name: check consistency with pyproject.toml
run: poetry lock --check

- name: generate requirements.txt
run: poetry export --dev --extras all --without-hashes --no-ansi > requirements.txt
run: poetry export --with dev --with test --with docs --without-hashes --no-ansi > requirements.txt

- name: check requirements.txt
run: git diff --exit-code requirements.txt
Expand Down Expand Up @@ -101,23 +75,3 @@ jobs:
uses: codecov/codecov-action@v3
with:
flags: core,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}

check_poetry_lock:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3

- name: install nix
uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixos-unstable-small

- name: setup cachix
uses: cachix/cachix-action@v10
with:
name: ibis
extraPullNames: nix-community,poetry2nix

- name: verify lockfile
run: ./dev/lockfile_diff.sh
25 changes: 15 additions & 10 deletions .github/workflows/ci-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: |
set -euo pipefail
echo "::set-output name=yesterday::$(date --date=yesterday +%Y-%m-%d)"
echo "yesterday=$(date --date=yesterday +%Y-%m-%d)" >> "$GITHUB_OUTPUT"
- name: generate data
id: generate_data
Expand All @@ -39,11 +39,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: google-github-actions/auth@v0
- uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.GCP_CREDENTIALS }}

- uses: google-github-actions/setup-gcloud@v0
- uses: google-github-actions/setup-gcloud@v1

- run: gcloud info

Expand All @@ -53,12 +53,17 @@ jobs:
yesterday="${{ steps.set_date.outputs.yesterday }}"
bucket="gs://ibis-workflow-data/${yesterday}"
gsutil cp -Z workflows.json jobs.json "${bucket}"
set +e
exit_code=0
for table in workflows jobs; do
gsuri="gs://ibis-workflow-data/${yesterday}/${table}.json"
gsutil cp -Z "${table}.json" "${gsuri}"
bq load \
--autodetect=true \
--source_format=NEWLINE_DELIMITED_JSON \
"workflows_native.${table}" \
"${gsuri}"
if ! bq load --autodetect=true --source_format=NEWLINE_DELIMITED_JSON \
"workflows_native.${table}" "${bucket}/${table}.json"; then
((++exit_code))
fi
done
exit "$exit_code"
1 change: 0 additions & 1 deletion .github/workflows/conda-lock-dispatch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# vim: filetype=yaml
name: Dispatch conda lock

on:
Expand Down
Loading