Bug 1834209
| Summary: | python-ase fails to build with Python 3.9: Element.getiterator() is gone | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-ase | Assignee: | marcindulak <Marcin.Dulak> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | cstratak, Marcin.Dulak, mhroncok, mplch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-11 22:34:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1785415 | ||
|
Description
Miro Hrončok
2020-05-11 10:24:07 UTC
https://src.fedoraproject.org/rpms/python-ase/c/ce3d52f0080874c6dbc55abaf52f81750daa5c08?branch=master should fix it. For some reasons the patch has not been included upstream https://gitlab.com/ase/ase/-/issues/580#note_338535048 Unfortunately I can't test this change with mock: ``` cat /etc/*release | grep PRETTY PRETTY_NAME="Fedora 30 (Thirty)" mock --version 2.1 sudo usermod -G mock vagrant # logout/login id | grep mock uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant),135(mock) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 cat ~/.config/mock/fedora-rawhide-python39.cfg include('/etc/mock/fedora-rawhide-x86_64.cfg') config_opts['root'] = 'fedora-rawhide-python39' config_opts[f'{config_opts.package_manager}.conf'] += """ [python39] name=Copr repo for python3.9 owned by @python baseurl=https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-$basearch/ type=rpm-md skip_if_unavailable=False gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/pubkey.gpg repo_gpgcheck=0 enabled=1 enabled_metadata=1 cost=10 """ mock -r fedora-rawhide-python39 --enablerepo=local /home/vagrant/rpmbuild/SRPMS/python-ase-3.19.1-2.fc30.src.rpm ``` ``` grep error /var/lib/mock/fedora-rawhide-python39/result/root.log DEBUG util.py:600: error: cannot open Packages index using db5 - Permission denied (13) DEBUG util.py:600: error: cannot open Packages database in /var/lib/mock/fedora-rawhide-python39/root/var/lib/rpm DEBUG util.py:600: error: cannot open Packages index using db5 - Permission denied (13) DEBUG util.py:600: error: cannot open Packages database in /var/lib/mock/fedora-rawhide-python39/root/var/lib/rpm ``` Thanks. No idea about the mock problem, sorry. (In reply to Miro Hrončok from comment #2) > Thanks. No idea about the mock problem, sorry. Started a fedora 32 VM instead and the above mock error is not there anymore. |