Set py3_shebang_flags to nil so tox will not have -s in shebang line
This way, it can see user-installed plugins. Fixes https://bugzilla.redhat.com/2057015 "Tox cannot use user installed plugins, as it has -s in the shebang"
This commit is contained in:
parent
5591696515
commit
455a6d994d
1 changed files with 10 additions and 1 deletions
|
|
@ -11,9 +11,14 @@
|
|||
# The Fedora CI tests do this.
|
||||
%bcond_with tests
|
||||
|
||||
# Unset -s on python shebang - ensure that extensions installed with pip
|
||||
# to user locations are seen and properly loaded
|
||||
# Fixes https://bugzilla.redhat.com/2057015
|
||||
%global py3_shebang_flags %nil
|
||||
|
||||
Name: python-tox
|
||||
Version: 3.24.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
|
||||
License: MIT
|
||||
|
|
@ -113,6 +118,10 @@ Obsoletes: python3-tox < 3.24.4-2
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 22 2022 Rich Megginson <rmeggins@redhat.com> - 3.24.5-2
|
||||
- Remove -s flag from tox shebang, make tox see user-installed plugins
|
||||
- Fixes: rhbz#2057015
|
||||
|
||||
* Tue Jan 25 2022 Miro Hrončok <mhroncok@redhat.com> - 3.24.5-1
|
||||
- Update to 3.24.5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue