Bug 623857
| Summary: | numpy uses PyCObject API (deprecated in Python 2.7) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> |
| Component: | numpy | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 19 | CC: | charlesr.harris, gwync, jspaleta, rdieter, sochotni, tomspur |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-18 13:28:58 UTC | Type: | --- |
| 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: | 620842 | ||
|
Description
Dave Malcolm
2010-08-13 01:04:23 UTC
The new version of numpy claims to work on python3, so that would solve this issue... There seems to be some upstream discussion about this: http://www.mail-archive.com/numpy-discussion@scipy.org/msg26318.html In http://www.mail-archive.com/numpy-discussion@scipy.org/msg26669.html , Charles R Harris said: > ...I believe the Python devs reversed the full > deprecation before the final 2.7 release. > > So I think we should just stick with PyCObject on 2.x, as we have done so > far. I'll just bump the version checks so that PyCapsule is used only on > 3.x. My understanding is that although there was python-dev discussion of removing the deprecation warning, I don't think it's actually been removed in the upstream 2.7 branch yet. (In reply to comment #1) > The new version of numpy claims to work on python3, so that would solve this > issue... Not necessarily: python 3.0.*, 3.1.* and 3.2 releases prior to 3.2a2 (iirc) contain the PyCObject API. IIRC, it was removed altogether in 3.2a2 Numpy 1.5.x uses PyCapsule when compiled for Python > 3.0. However, we decided to stick with PyCObject for the Python 2.x series to maintain backward compatibility with other projects that depend on numpy. Modifying the codebase to use PyCObject for 2.7 isn't much work, you just need to change a couple of versions checks. Fedora 14 is End-of-Life, please reopen against a current release if this bug is still occurring. Thank you! Reopening, and updating version to "rawhide": I checked in numpy-1.6.1, and it still uses PyCObject for Python 2.x As noted in comment #3, we could port this for our Python 2.7 [BTW, why was closed with the resolution "ERRATA"? Surely "DEFERRED" would have been more appropriate for autoclosing bugs based on the reported version] I'm not clear what changes need to be made. You're right, I should have used DEFERRED. (In reply to comment #6) > I'm not clear what changes need to be made. > > You're right, I should have used DEFERRED. [Sorry if I came across as picky. I'm hoping to do a sweep through all of the remaining PyCObject code and actually port them at some point, but swamped with other stuff ATM] No worries. :) If there's anything I can do, let me know. This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |