|
Comment by Didier Vibert on 2021-06-07 07:25:18:
le problème se pose maintenant avec les scripts de test d'intégrations sur le cluster: le build plante pour cette raison (impossble donc de faire le test)
<pre>
./git-it/dataset-tools/scripts/build.sh fix_issue_6485 fix_issue_6485
</pre>
donne, après le build successfull de pylibamazed, à la fabrication du wheel:
<pre>
Building wheels for collected packages: pylibamazed
Building wheel for pylibamazed (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /net/CESAM/amazed/dvibert/venvs-it/test/fix_issue_6485/5c923bc/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-th9s6o2n/setup.py'"'"'; _file_='"'"'/tmp/pip-req-build-th9s6o2n/setup.p
y'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(_file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-jiuckyva
cwd: /tmp/pip-req-build-th9s6o2n/
Complete output (37 lines):
error: unknown option `sort=-version:refname'
usage: git tag [-a|-s|-u <key-id>] [-f] [-m <msg>|-F <file>] <tagname> [<head>]
or: git tag -d <tagname>...
or: git tag -l [-n[<num>]] [--contains <commit>] [--points-at <object>]
[<pattern>...]
or: git tag -v <tagname>...
-l, --list list tag names
-n[<n>] print <n> lines of each tag message
-d, --delete delete tags
-v, --verify verify tags
Tag creation options
-a, --annotate annotated tag, needs a message
-m, --message <message>
tag message
-F, --file <file> read message from file
-s, --sign annotated and GPG-signed tag
--cleanup <mode> how to strip spaces and #comments from message
-u, --local-user <key id>
use another key to sign the tag
-f, --force replace the tag if exists
--column[=<style>] show tag list in columns
Tag listing options
--contains <commit> print only tags that contain the commit
--points-at <object> print only tags of the object
/net/CESAM/amazed/dvibert/venvs-it/test/fix_issue_6485/5c923bc/lib/python3.6/site-packages/setuptools/dist.py:485: UserWarning: The version specified ('0.22.dev5c923bcd.dirty') is an invalid version, this may not work as expected with n
ewer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
running bdist_wheel
running build
running build_ext
building 'pylibamazed/_redshift' extension
swigging RedshiftLibrary/RedshiftLibrary/redshift.i to RedshiftLibrary/RedshiftLibrary/redshift_wrap.cpp
swig -python -c++ -outdir pylibamazed/python/pylibamazed -o RedshiftLibrary/RedshiftLibrary/redshift_wrap.cpp RedshiftLibrary/RedshiftLibrary/redshift.i
error: command 'swig' terminated by signal 11
----------------------------------------
ERROR: Failed building wheel for pylibamazed
Running setup.py clean for pylibamazed
Failed to build pylibamazed
</pre>
rqm: j'ai essayé de descendre à la main (pip install -U) des versions plus anciennes de setuptools (je crois qu'Ali avait mentionné ça) dans le venv créé pour le buid:
$VENVS_DIR/test/fix_issue_6485/5c923bc
=> ça n'a pas marché...
|