raulcd opened a new pull request, #12945:
URL: https://github.com/apache/arrow/pull/12945

   This PR fixes the CI failures due to the latest git release fixing 
CVE-2022-24765.
   I have been able to see the build passing the scm step with the change here:
   https://app.travis-ci.com/github/raulcd/arrow/builds/249688925
   The above build fails due to some tests failing but not related with 
installation anymore.
   
   And this was the failure before the change:
   https://app.travis-ci.com/github/raulcd/arrow/builds/249683847
   
   I also have been able to reproduce the issue on the `verify-conda-rc` 
locally.
   
   The failure:
     ```
     $ docker-compose run  conda-verify-rc
   
   ....
     Preparing transaction: done
   Verifying transaction: done
   Executing transaction: done
   /arrow/python /arrow /
   Traceback (most recent call last):
     File "/arrow/python/setup.py", line 607, in <module>
       setup(
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools/__init__.py",
 line 87, in setup
       return distutils.core.setup(**attrs)
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools/_distutils/core.py",
 line 109, in setup
       _setup_distribution = dist = klass(attrs)
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools/dist.py",
 line 462, in __init__
       _Distribution.__init__(
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools/_distutils/dist.py",
 line 293, in __init__
       self.finalize_options()
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools/dist.py",
 line 886, in finalize_options
       ep(self)
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools/dist.py",
 line 907, in _finalize_setup_keywords
       ep.load()(self, ep.name, value)
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools_scm/integration.py",
 line 75, in version_keyword
       _assign_version(dist, config)
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools_scm/integration.py",
 line 51, in _assign_version
       _version_missing(config)
     File 
"/tmp/arrow-HEAD.YUVPq/mambaforge/envs/conda-source/lib/python3.10/site-packages/setuptools_scm/__init__.py",
 line 106, in _version_missing
       raise LookupError(
   LookupError: setuptools-scm was unable to detect version for /arrow.
   
   Make sure you're either building from a fully intact git repository or PyPI 
tarballs. Most other sources (such as GitHub's tarballs, a git checkout without 
the .git folder) don't contain the necessary metadata and will not work.
   
   For example, if you're using pip, instead of 
https://github.com/user/proj/archive/master.zip use 
git+https://github.com/user/proj.git#egg=proj
   Failed to verify release candidate. See /tmp/arrow-HEAD.YUVPq for details.
     ```
   
   Waiting to validate the verify-rc fix at the moment, will update once the 
local build finishes


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to