Skip to content

Commit a0f043a

Browse files
author
matthewkrausse
committed
Merge branch 'main' into krausse-add-avro-functionality-to-Table
2 parents 8a8db65 + 8fc6d9b commit a0f043a

File tree

89 files changed

+1938
-501
lines changed

Some content is hidden

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

89 files changed

+1938
-501
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77

88
workflows:
99
version: 2
10-
build:
10+
docs-build:
1111
jobs:
1212
- docs-build
1313
- docs-build-deploy:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## What is this change?
2+
- (List out the changes.)
3+
- (Link to any relevant Github issues or Slack discussion)
4+
5+
## Considerations for discussion
6+
- (List out any significant design decisions that were made and why.)
7+
8+
## How to test the changes (if needed)
9+
- (How should a reviewer test this functionality)

.github/dependabot.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ updates:
1010
schedule:
1111
interval: weekly
1212

13-
- package-ecosystem: pip
14-
directory: /docs
15-
schedule:
16-
interval: weekly
17-
1813
- package-ecosystem: pip
1914
directory: /
2015
schedule:
21-
interval: weekly
16+
interval: weekly
17+
ignore:
18+
- dependency-name: ruff
19+
- dependency-name: bandit

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# DO NOT run actions/checkout here, for security reasons
3333
# For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
3434
- name: Post comment
35-
uses: py-cov-action/python-coverage-comment-action@d1ff8fbb5ff80feedb3faa0f6d7b424f417ad0e1 # v3.30
35+
uses: py-cov-action/python-coverage-comment-action@91910686861e4e1d8282a267a896eb39d46240fb # v3.35
3636
with:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Harden Runner
21-
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
21+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2222
with:
2323
egress-policy: audit
2424

2525
- name: 'Checkout Repository'
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
- name: 'Dependency Review'
28-
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
28+
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1

.github/workflows/python-checks.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828

2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
30+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

3434
- name: Install uv
35-
uses: install-pinned/uv@cdd7153ace885f698b54dcd2ae4ce134afa2ac05 # 0.4.12
35+
uses: install-pinned/uv@3aec1379ab70bb5b1be041748d52f765e3a3dc74 # 0.4.12
3636

3737
- name: Install dependencies
3838
env:
@@ -61,12 +61,12 @@ jobs:
6161
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6262

6363
- name: Set up Python 3.13
64-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
64+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
6565
with:
6666
python-version: "3.13"
6767

6868
- name: Install uv
69-
uses: install-pinned/uv@cdd7153ace885f698b54dcd2ae4ce134afa2ac05 # 0.4.12
69+
uses: install-pinned/uv@3aec1379ab70bb5b1be041748d52f765e3a3dc74 # 0.4.12
7070

7171
- name: Install dependencies
7272
run: |
@@ -83,12 +83,12 @@ jobs:
8383
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8484

8585
- name: Set up Python 3.13
86-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
86+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
8787
with:
8888
python-version: "3.13"
8989

9090
- name: Install uv
91-
uses: install-pinned/uv@cdd7153ace885f698b54dcd2ae4ce134afa2ac05 # 0.4.12
91+
uses: install-pinned/uv@3aec1379ab70bb5b1be041748d52f765e3a3dc74 # 0.4.12
9292

9393
- name: Install dependencies
9494
run: |
@@ -105,12 +105,12 @@ jobs:
105105
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
106106

107107
- name: Set up Python 3.13
108-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
108+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
109109
with:
110110
python-version: "3.13"
111111

112112
- name: Install uv
113-
uses: install-pinned/uv@cdd7153ace885f698b54dcd2ae4ce134afa2ac05 # 0.4.12
113+
uses: install-pinned/uv@3aec1379ab70bb5b1be041748d52f765e3a3dc74 # 0.4.12
114114

115115
- name: Install bandit
116116
run: |
@@ -132,20 +132,20 @@ jobs:
132132

133133
steps:
134134
- name: Harden Runner
135-
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
135+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
136136
with:
137137
egress-policy: audit
138138

139139
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
140140

141141
- name: Set up Python 3.13
142-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
142+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
143143
with:
144144
python-version: 3.13
145145
cache: pip
146146

147147
- name: Install uv
148-
uses: install-pinned/uv@cdd7153ace885f698b54dcd2ae4ce134afa2ac05 # 0.4.12
148+
uses: install-pinned/uv@3aec1379ab70bb5b1be041748d52f765e3a3dc74 # 0.4.12
149149

150150
- name: Install module and dependencies
151151
run: |
@@ -177,15 +177,15 @@ jobs:
177177
steps:
178178
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
179179

180-
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
180+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
181181
id: download
182182
with:
183183
pattern: coverage-*
184184
merge-multiple: true
185185

186186
- name: Coverage comment
187187
id: coverage_comment
188-
uses: py-cov-action/python-coverage-comment-action@d1ff8fbb5ff80feedb3faa0f6d7b424f417ad0e1 # v3.30
188+
uses: py-cov-action/python-coverage-comment-action@91910686861e4e1d8282a267a896eb39d46240fb # v3.35
189189
with:
190190
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191191
MERGE_COVERAGE_FILES: true
@@ -209,14 +209,14 @@ jobs:
209209

210210
steps:
211211
- name: Harden Runner
212-
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
212+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
213213
with:
214214
egress-policy: audit
215215

216216
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
217217

218218
- name: Set up Python ${{ matrix.python-version }}
219-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
219+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
220220
with:
221221
python-version: ${{ matrix.python-version }}
222222
cache: pip

.github/workflows/release.yml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
name: Build & Publish Wheels + Source
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types:
7+
- published
8+
9+
permissions: read-all
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
17+
18+
- name: Set up Python 3.13
19+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
20+
with:
21+
python-version: "3.13"
22+
cache: pip
23+
24+
- name: Install uv
25+
uses: install-pinned/uv@3aec1379ab70bb5b1be041748d52f765e3a3dc74
26+
27+
- name: Install dependencies
28+
run: |
29+
uv pip install --system -r requirements-dev.txt
30+
uv pip install --system -e .[all]
31+
32+
- name: Check setup.py
33+
run: |
34+
python setup.py check
35+
36+
- name: Build src dist
37+
run: |
38+
python -m build --sdist --outdir dist
39+
40+
- name: Upload dist directory
41+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
42+
with:
43+
name: parsons-dist
44+
path: dist/
45+
46+
test:
47+
needs: build
48+
strategy:
49+
fail-fast: false
50+
matrix:
51+
os: [ubuntu-latest, windows-latest, macos-latest]
52+
53+
runs-on: ${{ matrix.os }}
54+
55+
steps:
56+
- name: Download package
57+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
58+
with:
59+
name: parsons-dist
60+
path: dist
61+
62+
- name: Install package using pip
63+
run: |
64+
file=$(find ./dist -name 'parsons-*.tar.gz' | head -1)
65+
pip install "$file"
66+
shell: bash
67+
68+
publish:
69+
if: github.repository_owner == 'move-coop'
70+
needs:
71+
- test
72+
73+
runs-on: ubuntu-latest
74+
environment: release
75+
76+
permissions:
77+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
78+
79+
steps:
80+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
81+
82+
- name: Download package
83+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806
84+
with:
85+
name: parsons-dist
86+
path: dist
87+
88+
# Publish
89+
- name: Publish
90+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
91+
with:
92+
verify-metadata: true
93+
skip-existing: true
94+
packages-dir: dist
95+
verbose: true

.github/workflows/security_scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Harden Runner
36-
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
36+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
3737
with:
3838
egress-policy: audit
3939

@@ -43,7 +43,7 @@ jobs:
4343
persist-credentials: false
4444

4545
- name: "Run analysis"
46-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
46+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
4747
with:
4848
results_file: results.sarif
4949
results_format: sarif
@@ -74,6 +74,6 @@ jobs:
7474
# Upload the results to GitHub's code scanning dashboard (optional).
7575
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7676
- name: "Upload to code-scanning"
77-
uses: github/codeql-action/upload-sarif@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
77+
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
7878
with:
7979
sarif_file: results.sarif

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: 'v0.11.2'
3+
rev: 'v0.11.7'
44
hooks:
55
- id: ruff
66
- id: ruff-format

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include requirements.txt
2+
include README.md
3+
include LICENSE.md
4+
recursive-include parsons *.py

0 commit comments

Comments
 (0)