Possibly obsolete requirements (fedora packaging POV) #1263
AloisMahdal
started this conversation in
General
Replies: 1 comment
-
What I'm trying to do is run build time tests (as part of Are therea any unit tests that I could run build-time? There is no 'tests' sub-directory in the pypi tarball, and I guess I don't understand tox enough to be sure of the scope of what tox.ini is really trying to run. (So this discussion could be actually moot.) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
I'm trying to update python-jira in Fedora, where it's been stuck on 2.* for some time.
I'm following Fedora Python Packaging Guidelines and trying to make use of Fedora's official macros --- that way I don't have to specify each requirement manually; the macros will rely on meta-data provided with the package.
Problem
There is a bunch of dependencies that are not officially packaged in Fedora, and likely won't be in a foreseeable future. At the same time, most of these don't seem to be realy used neither by
jira
nor bytest suite -- judging from the fact that I could remove them and still get tox running.
Here's a summary of what I got away with removing:
from setup.cfg:
tox.ini:
(I also had to remove
git clean
command from tox.ini as the distributed tarball is not a git repo.)Question
Some of the requirements will likely be platform-specific (eg.
filemagic
on windows) but is it possible that some of them are actually obsolete?Beta Was this translation helpful? Give feedback.
All reactions