Bug 2190431 - python-behave 1.2.6-21 for EPEL 9
Summary: python-behave 1.2.6-21 for EPEL 9
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-behave
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ali Erdinc Koroglu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-28 12:03 UTC by Tomáš Bajer
Modified: 2023-04-28 12:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Bajer 2023-04-28 12:03:09 UTC
Description of problem:
behave ends up with traceback and error message
Exception ModuleNotFoundError: No module named 'pyftpdlib'
while pyftpdlib is installed

Version-Release number of selected component (if applicable):
python3-behave-1.2.6-18.el9

How reproducible:
always

Steps to Reproduce:
1. install dnf upstream test suite according to 
   https://github.com/rpm-software-management/ci-dnf-stack/blob/main/dnf-behave-tests/README.md
2. run any available test, e.g. 
   behave dnf/repolist.feature

Actual results:
Exception ModuleNotFoundError: No module named 'pyftpdlib'
Traceback (most recent call last):
  File "/usr/bin/behave", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/behave/__main__.py", line 183, in main
    return run_behave(config)
  File "/usr/lib/python3.9/site-packages/behave/__main__.py", line 127, in run_behave
    failed = runner.run()
  File "/usr/lib/python3.9/site-packages/behave/runner.py", line 804, in run
    return self.run_with_paths()
  File "/usr/lib/python3.9/site-packages/behave/runner.py", line 809, in run_with_paths
    self.load_step_definitions()
  File "/usr/lib/python3.9/site-packages/behave/runner.py", line 796, in load_step_definitions
    load_step_modules(step_paths)
  File "/usr/lib/python3.9/site-packages/behave/runner_util.py", line 412, in load_step_modules
    exec_file(os.path.join(path, name), step_module_globals)
  File "/usr/lib/python3.9/site-packages/behave/runner_util.py", line 386, in exec_file
    exec(code, globals_, locals_)
  File "dnf/steps/cmd.py", line 16, in <module>
    from fixtures import start_server_based_on_type
  File "/root/ci-dnf-stack/dnf-behave-tests/dnf/steps/fixtures/__init__.py", line 8, in <module>
    from steps.fixtures.ftpd import ftpd_fixture
  File "/root/ci-dnf-stack/dnf-behave-tests/dnf/steps/fixtures/__init__.py", line 8, in <module>
    from steps.fixtures.ftpd import ftpd_fixture
  File "/root/ci-dnf-stack/dnf-behave-tests/dnf/steps/fixtures/ftpd.py", line 6, in <module>
    from pyftpdlib.authorizers import DummyAuthorizer
ModuleNotFoundError: No module named 'pyftpdlib'


Expected results:
no traceback, the test is run

Additional info:
* pyftpdlib is installed:
# pip3 list | grep pyf
pyftpdlib          1.5.7
# ls -l /usr/local/lib/python3.9/site-packages/
total 4
drwxr-xr-x. 4 root root 4096 Apr 28 13:15 pyftpdlib
drwxr-xr-x. 2 root root  137 Apr 28 13:15 pyftpdlib-1.5.7-py3.9.egg-info

Works properly on Fedora with 1.2.6-21.fc38, could we get the same release also for epel9?


Note You need to log in before you can comment on or make changes to this bug.