potiuk commented on code in PR #46405: URL: https://github.com/apache/airflow/pull/46405#discussion_r1942932967
########## providers/cloudant/pyproject.toml: ########## @@ -0,0 +1,79 @@ +# 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. + +# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN! + +# IF YOU WANT TO MODIFY THIS FILE EXCEPT DEPENDENCIES, YOU SHOULD MODIFY THE TEMPLATE +# `pyproject_TEMPLATE.toml.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY +[build-system] +requires = ["flit_core==3.10.1"] +build-backend = "flit_core.buildapi" + +[project] +name = "apache-airflow-providers-cloudant" +version = "4.1.0" +description = "Provider package apache-airflow-providers-cloudant for Apache Airflow" +readme = "README.rst" +authors = [ + {name="Apache Software Foundation", email="d...@airflow.apache.org"}, +] +maintainers = [ + {name="Apache Software Foundation", email="d...@airflow.apache.org"}, +] +keywords = [ "airflow-provider", "cloudant", "airflow", "integration" ] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Framework :: Apache Airflow", + "Framework :: Apache Airflow :: Provider", + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: System :: Monitoring", +] +requires-python = "~=3.9, !=3.9" Review Comment: Yeah, I think it's indeed a red-herring we chase. I believe we should leave ~3.9 in all providers and stay with "soft" exclusion with "trove classifiers". The main problem is that I think this is a `uv workspace` limitaiton that all projects that are part of the workspace have to have the same python version support: From https://docs.astral.sh/uv/concepts/projects/workspaces/#when-not-to-use-workspaces > Finally, uv's workspaces enforce a single requires-python for the entire workspace, taking the intersection of all members' requires-python values. If you need to support testing a given member on a Python version that isn't supported by the rest of the workspace, you may need to use uv pip to install that member in a separate virtual environment. So this is likely not something that we can workaround today - and "trove classifiers" are good enough of a signal to tell people which versions of python are supported per provider. I don't think we can do better than that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org