You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2026/07/19 11:22:00 UTC

[jira] [Created] (AVRO-4308) [python] Local build fails on interop tests

Ryan Skraba created AVRO-4308:
---------------------------------

             Summary: [python] Local build fails on interop tests
                 Key: AVRO-4308
                 URL: https://issues.apache.org/jira/browse/AVRO-4308
             Project: Apache Avro
          Issue Type: Bug
          Components: python
    Affects Versions: 1.13.0
            Reporter: Ryan Skraba


Looks like this works in the [github actions|https://github.com/apache/avro/actions/runs/29684530375/job/88186403954#step:13:20], but it fails in the local build:

```
<pre>ryanskraba@26801c1af4dc:~/avro$ cd lang/py/
ryanskraba@26801c1af4dc:~/avro/lang/py$ ./build.sh interop-data-generate
/home/ryanskraba/avro/lang/py/.venv/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  dist._finalize_license_expression()
/home/ryanskraba/avro/lang/py/.venv/lib/python3.12/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern.
!!

        ********************************************************************************
        Pattern &apos;LICENSE.txt&apos; did not match any files.

        By 2027-Feb-18, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.
        ********************************************************************************

!!
  for path in sorted(cls._find_pattern(pattern, enforce_match))
/home/ryanskraba/avro/lang/py/.venv/lib/python3.12/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
error: Multiple top-level packages discovered in a flat-layout: [&apos;avro&apos;, &apos;userlogs&apos;].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for &quot;package discovery&quot; on setuptools docs.
</pre>
```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)