From 675cf9d8935a14f6e44a9be280a6fc4c1dae35e5 Mon Sep 17 00:00:00 2001 From: Victor Tso Date: Wed, 14 Oct 2020 13:32:05 -0500 Subject: [PATCH] thin out test fixture --- .../project_with_invalid_dev_deps/README.rst | 2 - .../pyproject.toml | 49 +------------------ 2 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 tests/fixtures/project_with_invalid_dev_deps/README.rst diff --git a/tests/fixtures/project_with_invalid_dev_deps/README.rst b/tests/fixtures/project_with_invalid_dev_deps/README.rst deleted file mode 100644 index f7fe15470..000000000 --- a/tests/fixtures/project_with_invalid_dev_deps/README.rst +++ /dev/null @@ -1,2 +0,0 @@ -My Package -========== diff --git a/tests/fixtures/project_with_invalid_dev_deps/pyproject.toml b/tests/fixtures/project_with_invalid_dev_deps/pyproject.toml index 00791ba94..1d0b5a846 100644 --- a/tests/fixtures/project_with_invalid_dev_deps/pyproject.toml +++ b/tests/fixtures/project_with_invalid_dev_deps/pyproject.toml @@ -2,59 +2,12 @@ name = "my-package" version = "1.2.3" description = "Some description." -authors = [ - "Sébastien Eustace " -] +authors = ["Awesome Hacker "] license = "MIT" -readme = "README.rst" - -homepage = "https://python-poetry.org" -repository = "https://github.com/python-poetry/poetry" -documentation = "https://python-poetry.org/docs" - -keywords = ["packaging", "dependency", "poetry"] - -classifiers = [ - "Topic :: Software Development :: Build Tools", - "Topic :: Software Development :: Libraries :: Python Modules" -] - -# Requirements [tool.poetry.dependencies] -python = "~2.7 || ^3.6" -cleo = "^0.6" -pendulum = { git = "https://github.com/sdispater/pendulum.git", branch = "2.0" } -tomlkit = { git = "https://github.com/sdispater/tomlkit.git", rev = "3bff550", develop = false } -requests = { version = "^2.18", optional = true, extras=[ "security" ] } -pathlib2 = { version = "^2.2", python = "~2.7" } - -orator = { version = "^0.9", optional = true } - -# File dependency -demo = { path = "../distributions/demo-0.1.0-py2.py3-none-any.whl" } - -# Dir dependency with setup.py -my-package = { path = "../project_with_setup/" } - -# Dir dependency with pyproject.toml -simple-project = { path = "../simple_project/" } - -# Dependency with markers -functools32 = { version = "^3.2.3", markers = "python_version ~= '2.7' and sys_platform == 'win32' or python_version in '3.4 3.5'" } - [tool.poetry.extras] -db = [ "orator" ] [tool.poetry.dev-dependencies] -pytest = "~3.4" mylib = { path = "../mylib", develop = true} - - -[tool.poetry.scripts] -my-script = "my_package:main" - - -[tool.poetry.plugins."blogtool.parsers"] -".rst" = "some_module::SomeClass"