-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
pyproject.toml
42 lines (39 loc) · 1.73 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# 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.
#
# since we rely on setuptools and according to https://peps.python.org/pep-0518/#build-system-table
# this is the minimum requirements for the build system to execute.
[build-system]
requires = [
"setuptools",
"wheel>=0.36.0",
"grpcio-tools==1.62.1",
"mypy-protobuf==3.5.0",
# Avoid https://github.com/pypa/virtualenv/issues/2006
"distlib==0.3.7",
# Numpy headers
"numpy>=1.14.3,<2.3.0", # Update setup.py as well.
# having cython here will create wheels that are platform dependent.
"cython>=3.0,<4",
## deps for generating external transform wrappers:
# also update PyYaml bounds in sdks:python:generateExternalTransformsConfig
'pyyaml>=3.12,<7.0.0',
# also update Jinja2 bounds in test-suites/xlang/build.gradle (look for xlangWrapperValidation task)
"jinja2>=2.7.1,<4.0.0",
'yapf==0.29.0'
]
# legacy installation is needed to generate `apache_beam.portability.api` package.
build-backend = "setuptools.build_meta"