Skip to content

Commit

Permalink
Remove some cruft that was needed to run on EL 7.
Browse files Browse the repository at this point in the history
EPEL 7 had an old verion of WebOb and so there were some Python
hacks to get Bodhi to use a newer WebOb from EPEL. Bodhi hasn't
supported EPEL in a long time, so we do not need these hacks
anymore, and they present a problem in Rawhide where we want to
ship the Python 2 version of the client but not the server.

Signed-off-by: Randy Barlow <[email protected]>
(cherry picked from commit c3c75b4)
  • Loading branch information
bowlofeggs authored and mergify[bot] committed Nov 16, 2018
1 parent c1172d6 commit 1fdaee2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions apache/bodhi.wsgi
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import __main__
__requires__ = __main__.__requires__ = 'WebOb>=1.4.1' # Force forward-compat packages on epel7
import pkg_resources

import sys
sys.stdout = sys.stderr

Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import __main__
__requires__ = __main__.__requires__ = 'WebOb>=1.4.1'
import pkg_resources # noqa

# The following two imports are required to shut up an
# atexit error when running tests with python 2.7
from setuptools import setup, find_packages # noqa
Expand Down

0 comments on commit 1fdaee2

Please sign in to comment.