From 69c737d830771c89b111bb1d27042278d212477c Mon Sep 17 00:00:00 2001 From: Ryan Timmons Date: Mon, 13 Dec 2021 15:29:27 -0500 Subject: [PATCH] kill poetry because of https://github.com/python-poetry/poetry/issues/3855 --- poetry.lock | 18 ----------- pyproject.toml | 76 +++++++++++++++++++++----------------------- requirements-dev.txt | 17 ++++++++++ 3 files changed, 53 insertions(+), 58 deletions(-) create mode 100644 requirements-dev.txt diff --git a/poetry.lock b/poetry.lock index a55fcab..f785b0f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,20 +1,2 @@ -[[package]] -name = "mars-util" -version = "0.7.17" -description = "MARS Utility User Library" -category = "main" -optional = false -python-versions = ">=3.7" - -[package.source] -type = "legacy" -url = "https://pypi.mongodb.name" -reference = "mongodb" - [metadata] -lock-version = "1.1" -python-versions = "^3.9" -content-hash = "fd0172d3986ec47e6e4809c09b2e2b20f4bf6a956deec787dd860206d86d8722" - [metadata.files] -mars-util = [] diff --git a/pyproject.toml b/pyproject.toml index 43bdc9f..1fc20a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,39 +1,39 @@ -[tool.poetry] -name = "mongo-etls" -version = "0.0.0" -description = "Dev-prod ETLs and MARS jobs" -authors = ["Ryan Timmons "] -packages = [ - {include = "jobs", from="src"} -] - -[tool.poetry.dependencies] -python = "^3.9" -mars-util = "^0.7.16" - -[tool.poetry.dev-dependencies] -pytest = "^6.2" -pytest-black = "^0.3" -pytest-cov = "^2.8" -pytest-flake8 = "^1.0" -pytest-mypy = "^0.8" -mypy = "^0.910" -pytest-pydocstyle = "^2.0" -black = "^21.7b0" -pytest-structlog = "^0.3" -pytest-isort = "^2.0" -flake8-bugbear = "^21.4" -flake8 = "3.9.2" - -[[tool.poetry.source]] -name = 'pypi_' # needed until python-poetry/poetry#3456 is resolved. -url = 'https://pypi.org/simple' -secondary = false - -[[tool.poetry.source]] -name = "mongodb" -url = "https://pypi.mongodb.name" -secondary = true +#[tool.poetry] +#name = "mongo-etls" +#version = "0.0.0" +#description = "Dev-prod ETLs and MARS jobs" +#authors = ["Ryan Timmons "] +#packages = [ +# {include = "jobs", from="src"} +#] +# +#[tool.poetry.dependencies] +#python = "^3.9" +#mars-util = "^0.7.16" +# +#[tool.poetry.dev-dependencies] +#pytest = "^6.2" +#pytest-black = "^0.3" +#pytest-cov = "^2.8" +#pytest-flake8 = "^1.0" +#pytest-mypy = "^0.8" +#mypy = "^0.910" +#pytest-pydocstyle = "^2.0" +#black = "^21.7b0" +#pytest-structlog = "^0.3" +#pytest-isort = "^2.0" +#flake8-bugbear = "^21.4" +#flake8 = "3.9.2" +# +#[[tool.poetry.source]] +#name = 'pypi_' # needed until python-poetry/poetry#3456 is resolved. +#url = 'https://pypi.org/simple' +#secondary = false +# +#[[tool.poetry.source]] +#name = "mongodb" +#url = "https://pypi.mongodb.name" +#secondary = true [tool.black] @@ -51,10 +51,6 @@ line_length = 100 [tool.pytest.ini_options] flake8-ignore = "W605 W503 W291 E203 E501 F821" addopts = "--flake8 --black --mypy --isort --pydocstyle" -# mongodb_fixture_dir = "tests/integration_tests/fixtures" -# mongodb_engine = "pymongo" -# mongodb_host = "mongodb://localhost:28000/?serverSelectionTimeoutMS=100" -# mongodb_dbname = "build-baron-tools-test" testpaths = [ "src", "tests", diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..f7b3b3f --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,17 @@ +pytest +pytest-black +pytest-cov +pytest-flake8 +pytest-mypy +mypy +pytest-pydocstyle +black +pytest-structlog +pytest-isort +flake8-bugbear +flake8 + +--extra-index-url https://pypi.mongodb.name/ mars-util + + +