Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
[tool.poetry]
|
|
|
|
name = "LISA"
|
|
|
|
version = "3.0.0.dev1"
|
|
|
|
description = "Linux Integration Services Automation"
|
2021-02-02 08:28:37 +03:00
|
|
|
authors = ["contributors <https://github.com/microsoft/lisa/graphs/contributors>"]
|
|
|
|
license = "MIT"
|
Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2021-03-26 23:48:41 +03:00
|
|
|
PyGObject = {version = "^3.38.0", platform = 'linux'}
|
2021-02-02 08:28:37 +03:00
|
|
|
PyYAML = "^5.4.1"
|
2021-03-26 23:48:41 +03:00
|
|
|
assertpy = "^1.1"
|
2021-03-25 06:04:53 +03:00
|
|
|
azure-identity = "^1.5.0"
|
2021-10-06 03:57:55 +03:00
|
|
|
azure-storage-blob = "12.8.1"
|
2021-07-06 23:15:16 +03:00
|
|
|
azure-mgmt-compute = "^21.0.0"
|
2021-03-25 06:04:53 +03:00
|
|
|
azure-mgmt-marketplaceordering = "^1.1.0"
|
|
|
|
azure-mgmt-network = "^18.0.0"
|
2021-03-26 23:48:41 +03:00
|
|
|
azure-mgmt-resource = "^16.0.0"
|
2021-03-25 06:04:53 +03:00
|
|
|
azure-mgmt-storage = "^17.0.0"
|
2021-03-26 23:48:41 +03:00
|
|
|
dataclasses-json = "^0.5.2"
|
2020-12-15 09:14:00 +03:00
|
|
|
func-timeout = "^4.3.5"
|
2022-03-30 01:16:13 +03:00
|
|
|
paramiko = "^2.10.1"
|
2021-03-10 13:17:35 +03:00
|
|
|
pluggy = "^0.13.1"
|
2021-03-18 13:14:28 +03:00
|
|
|
pypiwin32 = {version = "^223", platform = "win32"}
|
2021-03-26 23:48:41 +03:00
|
|
|
pytest-html = "^3.1.1"
|
|
|
|
python = "^3.8"
|
2021-03-25 06:04:53 +03:00
|
|
|
python-dateutil = "^2.8.1"
|
2021-03-26 23:48:41 +03:00
|
|
|
retry = "^0.9.2"
|
|
|
|
spurplus = "^2.3.4"
|
2021-06-16 01:50:03 +03:00
|
|
|
semver = "^2.13.0"
|
2021-08-05 09:49:58 +03:00
|
|
|
pep8-naming = "^0.12.0"
|
2021-08-12 09:22:56 +03:00
|
|
|
types-toml = "^0.1.5"
|
2022-01-13 07:27:51 +03:00
|
|
|
Pillow = "^9.0.0"
|
2021-12-07 09:19:57 +03:00
|
|
|
azure-storage-file-share = "12.4.0"
|
2022-01-20 01:59:48 +03:00
|
|
|
libvirt-python = {version = "^7.10.0", platform = 'linux'}
|
|
|
|
pycdlib = "^1.12.0"
|
2022-02-11 05:50:09 +03:00
|
|
|
randmac = "^0.1"
|
2022-02-04 23:41:07 +03:00
|
|
|
toml = "^0.10.2"
|
Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2021-07-21 21:36:54 +03:00
|
|
|
black = "^21.7b0"
|
2021-03-26 23:48:41 +03:00
|
|
|
coverage = "^5.3"
|
2021-07-21 21:36:54 +03:00
|
|
|
flake8 = "^3.9.2"
|
2020-08-05 23:58:32 +03:00
|
|
|
flake8-black = "^0.2.1"
|
2021-03-25 06:04:53 +03:00
|
|
|
flake8-bugbear = "^21.3.2"
|
2020-08-20 07:04:55 +03:00
|
|
|
flake8-isort = "^4.0.0"
|
2021-05-18 01:12:53 +03:00
|
|
|
isort = "^5.8.0"
|
2021-07-21 21:36:54 +03:00
|
|
|
mypy = "^0.910"
|
Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
pyls-black = "^0.4.6"
|
2020-09-24 02:39:48 +03:00
|
|
|
pyls-isort = "^0.2.0"
|
Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
pyls-mypy = "^0.1.8"
|
2021-03-25 06:04:53 +03:00
|
|
|
rope = "^0.18.0"
|
2021-07-09 11:46:58 +03:00
|
|
|
Sphinx = "^4.1.0"
|
|
|
|
sphinx-argparse = "^0.2.5"
|
|
|
|
sphinx-rtd-theme = "^0.5.2"
|
|
|
|
sphinxemoji = "^0.1.8"
|
|
|
|
sphinx-copybutton = "^0.4.0"
|
2021-07-21 21:36:54 +03:00
|
|
|
types-retry = "^0.1.3"
|
|
|
|
types-paramiko = "^0.1.7"
|
|
|
|
types-requests = "^2.25.0"
|
|
|
|
types-python-dateutil = "^0.1.4"
|
|
|
|
types-PyYAML = "^5.4.3"
|
2021-07-22 01:38:48 +03:00
|
|
|
rstcheck = "^3.3.1"
|
|
|
|
snooty-lextudio = "^1.9.2-alpha.0"
|
2021-09-02 10:30:46 +03:00
|
|
|
types-Pillow = "^8.3.3"
|
Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
|
2020-08-05 23:59:55 +03:00
|
|
|
[tool.black]
|
|
|
|
line-length = 88
|
|
|
|
target-version = ['py38']
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
multi_line_output = 3
|
|
|
|
include_trailing_comma = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
use_parentheses = true
|
|
|
|
ensure_newline_before_comments = true
|
|
|
|
line_length = 88
|
|
|
|
|
Setup pyproject.toml with Poetry toolchain
I ran `poetry init` using the cross-platform Python packaging,
dependency management, and virtual environment management tool Poetry:
https://python-poetry.org/
The chosen version follows Semantic Versioning: https://semver.org/,
with the Python specific pre-release versioning suffix ‘.dev1’:
https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Since this is “LISAv3” it seemed appropriate to set our version to
‘3.0.0.dev1’, “the first development release of LISAv3.”
I pinned Python to version 3.8, as we will always use a Poetry provided
Python and not depend on a system’s packaged Python version. This will
avoid many headaches. I added Chi’s existing dependencies from
‘requirements.txt’, and then added my suggested development
dependencies:
- black, the opinionated code formatter
- flake8 (and integrations), the semantic analyzer
- isort, the import sorter
- mypy, the static type checker
- python-language-server (and integrations), the de facto LSP server
- rope, to provide completions and renaming to pyls
While Microsoft is developing their own LSP servers, they do not
integrate with the existing ecosystem of tools, and their latest tool,
Pyright, simply does not support ‘pyproject.toml’. Since pyls is used
far more widely, and supports every editor, we will use this.
Finally, I updated the readme with instructions on how to use this
toolchain, and deleted the outdated bootstrap files.
2020-08-04 11:06:22 +03:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry>=0.12"]
|
|
|
|
build-backend = "poetry.masonry.api"
|
2021-09-02 07:06:12 +03:00
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
mypy_path = "./typings"
|