[Bug 1739786] Review Request: python-makefun - Dynamically create python functions with a proper signature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1739786



--- Comment #1 from Ankur Sinha (FranciscoD) <sanjay.ankur@xxxxxxxxx> ---
Hrm, build failing here in mock:

+ /usr/bin/python3 -I /usr/lib/rpm/redhat/pyproject_buildrequires.py
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 41.0.1)
Handling wheel from default build backend
Requirement satisfied: wheel
   (installed: wheel 0.33.1)
Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    from setuptools_scm import get_version
ModuleNotFoundError: No module named 'setuptools_scm'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 241, in main
    extras=args.extras,
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 193, in
generate_requires
    generate_build_requirements(backend, requirements)
  File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 157, in
generate_build_requirements
    new_reqs = get_requires()
  File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 145,
in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 126,
in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 141,
in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 26, in <module>
    'them manually using conda or other system. The list is : ' +
str(SETUP_REQUIRES)), e)
  File "<string>", line 3, in raise_from
Exception: Required packages for setup not found. You may wish you execute "pip
install -r ci_tools/requirements-setup.txt" to install them or alternatively
install them manually using conda or other system. The list is :
['pytest-runner', 'setuptools_scm', 'pypandoc', 'six']
python3-devel
python3dist(packaging)
python3dist(pip) >= 19
python3dist(pytoml)
python3dist(setuptools) >= 40.8
python3dist(wheel)
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.B5svrt (%generate_buildrequires)
    Bad exit status from /var/tmp/rpm-tmp.B5svrt (%generate_buildrequires)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line
95, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 748, in
do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output),
child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 892c670464364d028ef47657b304754c -D
/var/lib/mock/fedora-rawhide-x86_64/root -a --capability=cap_ipc_lock
--bind=/tmp/mock-resolv.m7ve4j6b:/etc/resolv.conf --setenv=TERM=vt100
--setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock
--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf
"\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ 
--setenv=LANG=en_GB.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -br
--target x86_64 --nodeps /builddir/build/SPECS/python-makefun.spec



%generate_build_requires not working properly?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux