Skip to content

Commit

Permalink
kill poetry because of python-poetry/poetry#3855
Browse files Browse the repository at this point in the history
  • Loading branch information
rtimmons committed Dec 13, 2021
1 parent ff0625d commit 69c737d
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 58 deletions.
18 changes: 0 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 36 additions & 40 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
[tool.poetry]
name = "mongo-etls"
version = "0.0.0"
description = "Dev-prod ETLs and MARS jobs"
authors = ["Ryan Timmons <ryan.timmons@mongodb.com>"]
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 <ryan.timmons@mongodb.com>"]
#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]
Expand All @@ -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",
Expand Down
17 changes: 17 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -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



0 comments on commit 69c737d

Please sign in to comment.