Please update to the latest release and enable python3 support as part of the move of Fedora to python3.
ACK. Can you point out a reference procedure for guidance? Or a link to a recently updated spec file which made this update successfully? Thanks!
Actually I take that back. I just went through the referenced 'blocked' issue #1282146 and picked out a package that has been crossed out. All I could really use now is some verification instructions so I can make the required changes and verify the result is what you are expecting.
I'd be happy to look over the changes. Can you point me to a scratch build or the updated spec?
I'm having mixed results here trying to add all the new macros, I'd appreciate any help you can offer with fixing the failing builds. Working and producing dual RPMs: * rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=12492985 * f23: http://koji.fedoraproject.org/koji/taskinfo?taskID=12493035 * f22: http://koji.fedoraproject.org/koji/taskinfo?taskID=12493039 Failing builds: * el6: http://koji.fedoraproject.org/koji/taskinfo?taskID=12493042 * epel7: http://koji.fedoraproject.org/koji/taskinfo?taskID=12493045
The el6 build fails because upstream tests are not compatible with Python 2.6. I've noted this on the relevant Github commit [0]. Let me know how important this is (are you planning a rebase in EL6?). For EL7 the problem is some missing `%if 0%{?with_python3}` guards and some missing macros. I've updated the spec and built successfully in COPR [1], you can get the spec from the SRPM there [2]. Hope that helps; let me know if I can help further. [0] https://github.com/tbielawa/bitmath/commit/973202b3b55fa9e8a089c1feb4db65ccc24fac35#diff-65b926d8fd225683358cc3415edf1accL49 [1] https://copr.fedoraproject.org/coprs/pviktori/python-bitmath/build/152723/ [2] https://copr-be.cloud.fedoraproject.org/results/pviktori/python-bitmath/epel-7-x86_64/00152723-python-bitmath/
That's great, thanks a bunch Petr. I'll try another scratch build after $day_job with the updated spec file and the old-style "with nested" context managers :-)
python-bitmath-1.3.0-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e346df704
python-bitmath-1.3.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-b31115a23e
python-bitmath-1.3.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-88091010e3
python-bitmath-1.3.0-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9248e2dacb
python-bitmath-1.3.0-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-9248e2dacb
python-bitmath-1.3.0-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-b31115a23e
python-bitmath-1.3.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-88091010e3
python-bitmath-1.3.0-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e346df704
python-bitmath-1.3.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
python-bitmath-1.3.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
@petr, thanks for all your assistance with this so far, you've been super helpful :-) Can you tell me if this is expected behavior? Say I have python-bitmath-1.2.3-3.fc23.1 installed on my laptop. This is the last update pushed through bodhi before the update we built in this BZ, python-bitmath-1.3.0-2. Now, the new 1.3.0-2 release has made it's way through testing and is now in F23 stable updates [0]. This package actually yields two sub-packages, python2-bitmath and python3-bitmath. With the new macros we've added to the spec [1] (specifically the 'provides' ones) users can do a simple 'dnf update python-bitmath' and they will receive the new python2-bitmath package: > [root@deepfryer ~]# dnf update python-bitmath > ... > Package Arch Version Repository Size > ============================================================================ > Installing: > python2-bitmath noarch 1.3.0-2.fc23 updates 78 k > replacing python-bitmath.noarch 1.2.3-3.fc23.1 > > Transaction Summary This seems like OK behavior to me. What I'm not sure about now is if the following example is what should be happening: Say that we don't have 'python-bitmath' installed right now. My, perhaps incorrect, understanding was that the new macros we've added would add some kind of 'obsoletes' hook if a user attempted to install the old version. Expected behavior: If python-bitmath-1.2.3-3.fc23.1 isn't installed, and a user runs 'dnf install python-bitmath', they would be prompted to install python2-bitmath-1.3.0-2.fc23 instead (because it should obsolete the old version) Observed behavior: 'dnf install python-bitmath' prompts the user to install 'python-bitmath-1.2.3-3.fc23.1' instead. Am I simply wrong about the actual expected behavior and this is working as expected? [0] https://bodhi.fedoraproject.org/updates/?packages=python-bitmath [1] http://pkgs.fedoraproject.org/cgit/rpms/python-bitmath.git/tree/python-bitmath.spec
Hm, I just discovered that this may not be a real issue. If ``python-bitmath`` is installed and the user later runs 'dnf update' then the package will be updated to the new version (at least on f23).
python-bitmath-1.3.0-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
python-bitmath-1.3.0-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.