From b11e2f2dd792179c44044702e5be0083a9b04be5 Mon Sep 17 00:00:00 2001 From: Kevin Heavey Date: Sun, 14 May 2023 20:43:47 +0100 Subject: [PATCH] remove toml dep --- poetry.lock | 14 +------------- pyproject.toml | 1 - src/anchorpy/pytest_plugin.py | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index 77e00d15..485bd053 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1646,18 +1646,6 @@ files = [ [package.dependencies] attrs = "*" -[[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -category = "main" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] - [[package]] name = "tomli" version = "2.0.1" @@ -1974,4 +1962,4 @@ cli = ["typer", "ipython", "genpy", "black", "autoflake"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "18f9ec07f236141b1f92759d787d054d6abe1a767bd1d53f80541d6a008bf0a0" +content-hash = "ff85d614f4a206cc2671af9355b0325957ba9acaadadb4ebd511565a979750d6" diff --git a/pyproject.toml b/pyproject.toml index 4084b688..ffdca560 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,6 @@ autoflake = { version = "^1.4", optional = true } based58 = "^0.1.1" anchorpy-core = "^0.1.2" py = "^1.11.0" -toml = "^0.10.2" [tool.poetry.extras] cli = ["typer", "ipython", "genpy", "black", "autoflake"] diff --git a/src/anchorpy/pytest_plugin.py b/src/anchorpy/pytest_plugin.py index 8b1451f2..6bdbbf73 100644 --- a/src/anchorpy/pytest_plugin.py +++ b/src/anchorpy/pytest_plugin.py @@ -6,7 +6,6 @@ from pathlib import Path from typing import AsyncGenerator, Callable, Literal, Optional, Sequence, Tuple, Union -import toml # type: ignore from pytest import fixture from pytest_asyncio import fixture as async_fixture from pytest_xprocess import getrootdir