Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix: snap services always use systemd, even in trusty #494

Merged
merged 6 commits into from
Jul 17, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move specific version pinning to test_requirements.txt
  • Loading branch information
addyess committed Feb 20, 2020
commit dd9fd4d65670401ca3f3b242764d147323b49c8a
19 changes: 19 additions & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@ distro-info
sphinx_rtd_theme
ipaddress;python_version<'3.0' # Py27 unit test requirement


##########################################################
# Specify versions of runtime dependencies where possible.
# The requirements.txt file cannot be so specific

# https://pyyaml.org/wiki/PyYAML#history
# PyYAML==5.2 is last supported for py34
PyYAML==5.2;python_version >= '3.0' and python_version <= '3.4' # py3 trusty
PyYAML; python_version == '2.7' or python_version >= '3.5' # all else

# https://jinja.palletsprojects.com/en/2.11.x/changelog/
# Jinja2==2.10 is last supported for py34
# Jinja2==2.11 is last supported for py27 & py35
Jinja2==2.10;python_version >= '3.0' and python_version <= '3.4' # py3 trusty
Jinja2==2.11;python_version == '2.7' or python_version == '3.5' # py27, py35
Jinja2; python_version >= '3.6' # py36 and on

##############################################################

-r./requirements.txt

netifaces==0.10 # trusty is 0.8, but using py3 compatible version for tests.
Expand Down