Skip to content

Commit

Permalink
fix: update default python version from 3.8 to 3.10 to align with fra…
Browse files Browse the repository at this point in the history
…mework (#33)
  • Loading branch information
antazoey authored Jul 26, 2024
1 parent edfe946 commit 6095f4f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_ape_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
version:
[
'default',
'0.7.0',
'==0.7.0',
'0.8.10',
'==0.8.10',
'git+https://github.com/ApeWorX/ape.git@main',
]
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
'default_with_version_config',
'default_without_version_in_config',
'tokens',
'tokens==0.7.0'
'tokens==0.8.0'
]
steps:
- uses: actions/checkout@v4
Expand All @@ -37,7 +37,7 @@ jobs:
if [[ "${{ matrix.plugins }}" == "default_without_version_in_config" ]]; then
# Remove the version so it defaults to `. -U`.
sed -i 's/version: 0.7.0//g' "ape-config.yaml"
sed -i 's/version: 0.8.0//g' "ape-config.yaml"
fi
- name: Run ape action
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This action allows you to use your favorte [`ape`](https://github.com/ApeWorX/ap
### `python-version`

**Optional** Overrides the version of python used to run ape.
Default is using Python `'3.8'`.
Default is using Python `'3.10'`.

### `ape-version-pin`

Expand Down Expand Up @@ -46,8 +46,8 @@ steps:
- uses: ApeWorX/github-action@v2
with:
python-version: '3.10' # (optional)
ape-version-pin: '>=0.7.0' # (optional)
ape-plugins-list: 'solidity vyper==0.7.0' # (optional)
ape-version-pin: '>=0.8.10' # (optional)
ape-plugins-list: 'solidity vyper==0.8.4' # (optional)
- run: ape test -s
```
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ branding:

inputs:
python-version:
description: 'Override version of python used to run ape- default 3.8'
description: 'Override version of python used to run ape- default 3.10'
required: False
default: '3.8'
default: '3.10'
ape-version-pin:
description: 'Override version of eth-ape, can also use a `git+` prefixed value'
required: False
Expand Down
2 changes: 1 addition & 1 deletion ape-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file exists only as a test for the action.
plugins:
- name: tokens
version: 0.7.0
version: 0.8.0

0 comments on commit 6095f4f

Please sign in to comment.