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

   ### Rationale for this change
   
   Crossbow currently computes development versions through internal 
`setuptools_scm` APIs. Those APIs are unstable and require Archery to pin an 
otherwise unnecessary runtime dependency.
   
   ### What changes are included in this PR?
   
   - Compute the development version from public `git describe` output.
   - Preserve the existing behavior for released, development, 
release-candidate, and dirty tags.
   - Remove `setuptools_scm` from the Crossbow extra.
   - Add unit coverage plus a real temporary Git repository test.
   
   ### Are these changes tested?
   
   - `python -m pytest -q dev/archery/archery/crossbow/tests/test_core.py` (31 
passed)
   - `flake8 --max-line-length=88` on the changed Python files
   - `autopep8 --diff --max-line-length=88` on the changed Python files
   - Verified Archery imports when `setuptools_scm` is not installed
   
   ### Are there any user-facing changes?
   
   No. This removes an internal dependency while preserving Crossbow version 
behavior.
   
   Closes #40163


-- 
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