#42 Import error raised on new RPMFuff version
Closed: Fixed 4 years ago by jkonecny. Opened 4 years ago by jkonecny.

Hello,

It's great to see more development on this project. However, with your new release our tests are failing.

    from rpmfluff import SourceFile, GeneratedSourceFile, SimpleRpmBuild, expectedArch, make_elf
ImportError: cannot import name 'expectedArch'

We're hitting this in our tests. Is this a bug in RPMFluff or an intentional change?


Based on how this commit looks like it is intentional that this release will break imports. Is that correct?

Another issue is the make_elf import.

Hello. It was quite a big change and we do not have tests for this kind of stuff. Please try now - did this commit:

https://pagure.io/rpmfluff/c/2bc98ec074314ed916439739994a766f96455eab?branch=master

Works great! Thanks a lot! Could you please make a release with this soon?

Hello @jkonecny. I have release 0.6.1 with these changes. It should be in PyPi and in Rawhide

Metadata Update from @jhutar:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Tested and it works great now. Thanks a lot for quickly fixing this!

Metadata Update from @jkonecny:
- Issue status updated to: Open (was: Closed)

4 years ago

Metadata Update from @jkonecny:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Log in to comment on this ticket.

Metadata