forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package configuration for Breeze to pyproject.toml (apache#35652)
This configuration allows breeze to be used in Python 3.12 which misses disutils and moves to PEP-517 compliant way of installing Python packages
- Loading branch information
Showing
6 changed files
with
81 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,68 @@ | |
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
[build-system] | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "apache-airflow-breeze" | ||
version = "0.0.1" | ||
description = "Apache Airflow Breeze development environment" | ||
readme = "README.md" | ||
authors = [ | ||
{name="Apache Software Foundation", email="[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name="Apache Software Foundation", email="[email protected]"}, | ||
] | ||
keywords = [ "airflow", "development", "ci" ] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Framework :: Apache Airflow", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
requires-python = "~=3.8" | ||
|
||
dependencies = [ | ||
"black>=23.11.0", | ||
"click>=8.1.7", | ||
"filelock>=3.13.0", | ||
"inputimeout>=1.0.4", | ||
"jinja2>=3.1.0", | ||
"packaging>=23.2", | ||
"pendulum>=2.1.2,<3", | ||
"pre-commit>=3.5.0", | ||
"psutil>=5.9.6", | ||
"pytest>=7.4.0", | ||
"pytest-xdist>=3.3.1", | ||
"pyyaml>=6.0.1", | ||
"PyGithub>=2.1.1", | ||
"requests>=2.30.0", | ||
"rich>=13.6.0", | ||
"rich-click>=1.7.1", | ||
"gitpython>=3.1.40", | ||
"semver>=3.0.2", | ||
"tabulate>=0.9.0", | ||
"twine>=4.0.2", | ||
"wheel>=0.41.3", | ||
"setuptools>=68.2.2", | ||
"jsonschema>=4.19.1", | ||
] | ||
|
||
[project.scripts] | ||
breeze = "airflow_breeze.breeze:main" | ||
|
||
[tool.flit.module] | ||
name = "airflow_breeze" | ||
|
||
[tool.black] | ||
line-length = 110 | ||
target-version = ['py37', 'py38', 'py39', 'py310'] | ||
|
@@ -37,3 +99,19 @@ testpaths = [ | |
[tool.ruff] | ||
extend = "../../pyproject.toml" | ||
src = ["src"] | ||
|
||
|
||
[tool.mypy] | ||
ignore_missing_imports = true | ||
no_implicit_optional = true | ||
warn_redundant_casts = true | ||
warn_unused_ignores = false | ||
pretty = true | ||
|
||
[tool.isort] | ||
line_length = 110 | ||
combine_as_imports = true | ||
default_section = "THIRDPARTY" | ||
known_first_party = "airflow,airflow_breeze,tests" | ||
skip= "build,.tox,venv" | ||
profile = "black" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters