Skip to content

Commit

Permalink
๐Ÿ‘ทโ€โ™‚๏ธ Update Python to Version 3.13
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Dec 3, 2024
1 parent 0607b90 commit d7181c0
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64
node_version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/halmos-venom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64
halmos:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/halmos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64
halmos:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-contracts-venom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64
node_version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os:
- ubuntu-latest
python_version:
- 3.12
- 3.13
architecture:
- x64
node_version:
Expand Down
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,21 @@ You will need the following dependencies:
- [Git](https://git-scm.com)
- [Node.js](https://nodejs.org)
- [pnpm](https://pnpm.io)
- [Python](https://www.python.org)
- [๐ŸVyper](https://github.com/vyperlang/vyper)
- [Foundry](https://github.com/foundry-rs/foundry)

## โš™๏ธ Installation

> [!IMPORTANT]
> All ๐Ÿ snekmate contracts in the `main` branch are designed to work with the latest `master` branch of ๐Ÿ Vyper, which can be installed via `pip install git+https://github.com/vyperlang/vyper@master` (note that Python version `3.10` or higher is required).
```bash
pip install git+https://github.com/vyperlang/vyper@master
```

**Note:** Python version **3.10** or higher is required.

It is recommended to install [`pnpm`](https://pnpm.io) through the `npm` package manager, which comes bundled with [Node.js](https://nodejs.org/en) when you install it on your system. It is recommended to use a Node.js version `>= 22.0.0`.

Once you have `npm` installed, you can run the following both to install and upgrade `pnpm`:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ You can install ๐Ÿ snekmate from [PyPI](https://pypi.org/project/snekmate) wit
pip install snekmate
```

> When using the ๐ŸVyper CLI, the search path [defaults](https://docs.vyperlang.org/en/latest/structure-of-a-contract.html#searching-for-imports) to the current working directory and the Python [`sys.path`](https://docs.python.org/3.12/library/sys.html#sys.path). As a result, all imported ๐Ÿ snekmate contracts (e.g. `from snekmate.tokens import erc20`) are seamlessly located during compilation.
> When using the ๐ŸVyper CLI, the search path [defaults](https://docs.vyperlang.org/en/latest/structure-of-a-contract.html#searching-for-imports) to the current working directory and the Python [`sys.path`](https://docs.python.org/3.13/library/sys.html#sys.path). As a result, all imported ๐Ÿ snekmate contracts (e.g. `from snekmate.tokens import erc20`) are seamlessly located during compilation.
### 2๏ธโƒฃ Foundry

Expand Down
2 changes: 1 addition & 1 deletion lib/solady
Submodule solady updated 2 files
+2 โˆ’2 src/accounts/Timelock.sol
+14 โˆ’1 test/Timelock.t.sol

0 comments on commit d7181c0

Please sign in to comment.