| ################################################################################ | |
| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| ################################################################################ | |
| [build-system] | |
| # Minimum requirements for the build system to execute. | |
| requires = [ | |
| "packaging>=20.5; platform_machine=='arm64'", # macos M1 | |
| "setuptools>=75.3,<82", | |
| "wheel", | |
| "cython>=0.29.24,<3; sys_platform == 'darwin' and python_version == '3.8'", | |
| "fastavro==1.7.4; sys_platform == 'darwin' and python_version == '3.8'", | |
| "apache-beam>=2.69.0,<=2.75.0", | |
| "cython>=0.29.24" | |
| ] | |
| [dependency-groups] | |
| dev = [ | |
| "pip>=20.3", | |
| "setuptools>=75.3,<82", | |
| "wheel", | |
| "apache-beam>=2.69.0,<=2.75.0", | |
| "cython>=0.29.24", | |
| "py4j==0.10.9.7", | |
| "python-dateutil>=2.8.0,<3", | |
| "cloudpickle~=2.2.0", | |
| "avro>=1.12.0", | |
| "pandas>=1.3.0,<2.3", | |
| "pyarrow>=5.0.0,<26.0.0", | |
| "pytz>=2018.3", | |
| "numpy>=1.22.4,<2.3.0", | |
| "fastavro>=1.1.0,!=1.8.0", | |
| "grpcio>=1.33.1,<2", | |
| # Apache Beam 2.69 is the last version supporting Python 3.9 and requires grpcio<1.66. | |
| "grpcio-tools==1.80.0; python_version >= '3.10'", | |
| "pemja>=0.6.3,<0.7; platform_system != 'Windows'", | |
| "httplib2>=0.19.0", | |
| "protobuf>=6.31.1,<7.0.0.dev0", | |
| "pytest~=8.0", | |
| "pytest-xdist~=3.6", | |
| "ruamel.yaml>=0.18.4", | |
| "typing-extensions>=4.5.0; python_version < '3.12'", | |
| "typing-extensions>=4.7.0; python_version >= '3.12'", | |
| ] | |
| tox = [ | |
| "tox==4.61.4" | |
| ] | |
| flake8 = [ | |
| "flake8==7.2.0" | |
| ] | |
| mypy = [ | |
| "mypy==1.5.1", | |
| "types-pytz", | |
| "types-python-dateutil" | |
| ] | |
| [tool.cibuildwheel] | |
| build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"] | |
| [tool.cibuildwheel.macos] | |
| archs = ["x86_64", "arm64"] | |
| [tool.cibuildwheel.linux] | |
| archs = ["x86_64"] |