Skip to content

cargo vendor 🚚 on - bump errpy to Python 3.12 Summary: this is needed to support parsing except* (exception groups) with errpy, since except* is unparseable for previous versions of the cpython parser. there were some minor changes to the AST: - additional fields for type params on function and class defs - AST printing changes for parentheses around tuples, whitespace for lambdas, single vs double quotes for f-strings the biggest change is that https://peps.python.org/pep-0617/ and (maybe) https... #99

cargo vendor 🚚 on - bump errpy to Python 3.12 Summary: this is needed to support parsing except* (exception groups) with errpy, since except* is unparseable for previous versions of the cpython parser. there were some minor changes to the AST: - additional fields for type params on function and class defs - AST printing changes for parentheses around tuples, whitespace for lambdas, single vs double quotes for f-strings the biggest change is that https://peps.python.org/pep-0617/ and (maybe) https...

cargo vendor 🚚 on - bump errpy to Python 3.12 Summary: this is needed to support parsing except* (exception groups) with errpy, since except* is unparseable for previous versions of the cpython parser. there were some minor changes to the AST: - additional fields for type params on function and class defs - AST printing changes for parentheses around tuples, whitespace for lambdas, single vs double quotes for f-strings the biggest change is that https://peps.python.org/pep-0617/ and (maybe) https... #99

Workflow file for this run

on:
push:
branches:
- main
name: cargo vendor and commit
run-name: cargo vendor 🚚 on - ${{ github.event.head_commit.message }}
jobs:
cargo_vendor:
runs-on: ubuntu-latest
steps:
- name: Delete release branch
uses: dawidd6/action-delete-branch@v3
with:
soft_fail: true # set to true so that if the branch doesn't exist action doesnt fail
branches: release
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- run: cargo vendor vendor_external
- name: Create .cargo dir
run: |
mkdir -p .cargo
- name: Create cargo config
shell: bash
run: |
cat << EOF > .cargo/config.toml
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor_external"
EOF
- name: commit to 'new' release branch
uses: EndBug/add-and-commit@v9.1.1
with:
new_branch: release
author_name: GitHub Action
author_email: action@github.com