Bug 988071

Summary: Update to 0.1.7
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: python-pyasn1Assignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: orion, rcritten, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pyasn1-0.1.7-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-18 19:39:40 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:
Attachments:
Description Flags
patch to update to 0.1.7 none

Description Orion Poplawski 2013-07-24 16:36:53 UTC
Created attachment 777862 [details]
patch to update to 0.1.7

Description of problem:

0.1.7 is out.  StarCluster 0.94 specifies a dependency on it.  Any reason not to upgrade?

Revision 0.1.7
--------------

- License updated to vanilla BSD 2-Clause to ease package use
  (http://opensource.org/licenses/BSD-2-Clause).
- Test suite made discoverable by unittest/unittest2 discovery feature.
- Fix to decoder working on indefinite length substrate -- end-of-octets
  marker is now detected by both tag and value. Otherwise zero values may
  interfere with end-of-octets marker.
- Fix to decoder to fail in cases where tagFormat indicates inappropriate
  format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always
  CONSTRUCTED and OCTET STRING is either of the two)
- Fix to REAL type encoder to force primitive encoding form encoding.
- Fix to CHOICE decoder to handle explicitly tagged, indefinite length
  mode encoding
- Fix to REAL type decoder to handle negative REAL values correctly. Test
  case added.

I can do the update if you'd like.

Comment 1 Rob Crittenden 2013-07-24 18:42:56 UTC
Orion, I wasn't comfortable removing the PYTHONPATH code that Jamie provided. Are you sure it's safe to remove this?

Also, shouldn't the egg always be re-generated as this is being built in a clean environment?

I've pushed 0.1.7 and the 0.0.5 modules to rawhide without the other changes for now.

Comment 2 Orion Poplawski 2013-07-25 20:37:23 UTC
(In reply to Rob Crittenden from comment #1)
> Orion, I wasn't comfortable removing the PYTHONPATH code that Jamie
> provided. Are you sure it's safe to remove this?

Well, it works :).  My guess is that was needed when running test/suite.py directy, but when running "python setup.py test" it gets configured.  The changelog noted that upstream fixed finding the tests automatically which is why I switched.

> Also, shouldn't the egg always be re-generated as this is being built in a
> clean environment?

Maybe I didn't have a clean environment for my local build - but I was seeing it trying to install an old 0.0.4 modules which led be to that.  If it works for you, that's fine.

> I've pushed 0.1.7 and the 0.0.5 modules to rawhide without the other changes
> for now.

Thanks.  It would be nice to see it percolate down the stable releases as it gets tested.

Comment 3 Rob Crittenden 2013-07-25 20:49:44 UTC
I'll give your simplified testing a closer look.

I'll build this in F-19 once it is stable in rawhide.

Comment 4 Fedora Update System 2013-10-04 18:41:51 UTC
python-pyasn1-0.1.7-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-pyasn1-0.1.7-1.fc19

Comment 5 Fedora Update System 2013-10-06 01:31:23 UTC
Package python-pyasn1-0.1.7-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-pyasn1-0.1.7-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18366/python-pyasn1-0.1.7-1.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-10-18 19:39:40 UTC
python-pyasn1-0.1.7-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.