← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2099798] Re: error when running `osken` in os_ken CLI in python 3.13

 

Reviewed:  https://review.opendev.org/c/openstack/os-ken/+/942566
Committed: https://opendev.org/openstack/os-ken/commit/a89ba8f6ce29d6946a05c36132243cdf6360cca9
Submitter: "Zuul (22348)"
Branch:    master

commit a89ba8f6ce29d6946a05c36132243cdf6360cca9
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Mon Feb 24 10:25:22 2025 +0000

    [cmd] Import the correct version variable
    
    Closes-Bug: #2099798
    Change-Id: I6d6c8a9d3bd078c6f36f8d2275359bcb7ca3588d


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2099798

Title:
  error when running `osken` in os_ken CLI in python 3.13

Status in neutron:
  Fix Released

Bug description:
  ## General description

  `version` variable is not defined in `os_ken/__init__.py`, which is
  included in `os_ken/cmd/osken_base.py`, which makes an error when
  executing `osken --help` in terminal. It lasts for a long time.

  ## Steps to reproduce

  1. Create a new virtual python environment in version of 3.13.2, and activate it
  2. Install `os-ken` with command `pip install os-ken`
  3. Execute `osken --help`, and error will show.

  ## Excepted output

  It should run without errors, and output text of help

  ## Version

  + python 3.13, it should happen in 3.12, even below
  + os-ken 3.0.0, it should happen in 2.*

  ## Suggestions

  Just add a variable named `version` in `os_ken/__init__.py`, and
  assign value of `__version__` to its

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2099798/+subscriptions



References