summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2020-05-02 20:03:06 +0200
committerRonny Pfannschmidt <ronny.pfannschmidt@redhat.com>2020-05-02 20:03:40 +0200
commitee08a2dbe7ab47217ecae6feac81ae081cb95d17 (patch)
tree5dae0a41a99c7442d6b080016164a4e970c70cf5 /README.rst
parent27fae08af222998d8b6f9ed00a500a7fd6beeb02 (diff)
downloadsetuptools-scm-ee08a2dbe7ab47217ecae6feac81ae081cb95d17.tar.gz
closes #312 - document interaction with enterprise distrosfix-312-document-enterprise-distros
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 1d1e90e..bae5db2 100644
--- a/README.rst
+++ b/README.rst
@@ -540,6 +540,26 @@ some environments require a test prior to install,
$ PYTHONPATH=$PWD:$PWD/src pytest
+Interaction with Enterprise Distributions
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Some enterprise distributions like RHEL7 and others
+ship rather old setuptools versions due to various release management details.
+
+On such distributions one might observe errors like:
+
+:code:``setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)``
+
+In those case its typically possible to build by using a sdist against ``setuptools_scm<2.0``.
+As those old setuptools versions lack sensible types for versions,
+modern setuptools_scm is unable to support them sensibly.
+
+In case the project you need to build can not be patched to either use old setuptools_scm,
+its still possible to install a more recent version of setuptools in order to handle the build
+and/or install the package by using wheels or eggs.
+
+
+
Code of Conduct
---------------