Skip to content

Commit

Permalink
chore: bump 0.5.0 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day authored Sep 9, 2022
1 parent d4dde7d commit bacbd15
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 31 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ jobs:
run: mypy .

functional:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
os: [ubuntu-latest, macos-latest] # eventually add `windows-latest`
python-version: [3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -68,7 +69,7 @@ jobs:
pip install .[test]
- name: Run Tests
run: pytest -m "not fuzzing"
run: pytest -m "not fuzzing" -n 0 -s --cov
env:
TENDERLY_FORK_ID: ${{ secrets.TENDERLY_FORK_ID }}

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ repos:


default_language_version:
python: python3.8
python: python3.9
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# ape-tenderly
# Quick Start

Ecosystem Plugin for Tenderly support in Ape

## Dependencies

* [python3](https://www.python.org/downloads) version 3.7.2 or greater, python3-dev
* [python3](https://www.python.org/downloads) version 3.8 or greater, python3-dev

## Installation

Expand Down Expand Up @@ -39,13 +39,3 @@ If you have an API service that automatically provisions tenderly forks, you can
```sh
export TENDERLY_FORK_SERVICE_URI=...
```

## Development

This project is in development and should be considered a beta.
Things might not be in their final state and breaking changes may occur.
Comments, questions, criticisms and pull requests are welcomed.

## License

This project is licensed under the [Apache 2.0](LICENSE).
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ write_to = "ape_tenderly/version.py"

[tool.black]
line-length = 100
target-version = ['py37', 'py38', 'py39', 'py310']
target-version = ['py38', 'py39', 'py310']
include = '\.pyi?$'

[tool.pytest.ini_options]
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@
url="https://github.com/ApeWorX/ape-tenderly",
include_package_data=True,
install_requires=[
"importlib-metadata ; python_version<'3.8'",
"eth-ape>=0.4.0,<0.5.0",
"requests>=2.28.1,<3.0",
"eth-ape>=0.5.0,<0.6",
"requests>=2.28.1,<3",
],
python_requires=">=3.7.2,<4",
python_requires=">=3.8,<4",
extras_require=extras_require,
py_modules=["ape_tenderly"],
license="Apache-2.0",
Expand All @@ -73,7 +72,6 @@
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
13 changes: 4 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
from pathlib import Path

import ape
import pytest

from ape_tenderly.providers import TenderlyProvider


@pytest.fixture
def networks():
from ape import networks

return networks
return ape.networks


@pytest.fixture
def accounts():
from ape import accounts

return accounts
return ape.accounts


@pytest.fixture
def Contract():
from ape import Contract

return Contract
return ape.Contract


@pytest.fixture
Expand Down

0 comments on commit bacbd15

Please sign in to comment.