Skip to content

Instantly share code, notes, and snippets.

@ssato
Last active May 13, 2019 15:28
Show Gist options
  • Save ssato/74e794ba0143e0ef4e1b562d05312f04 to your computer and use it in GitHub Desktop.
Save ssato/74e794ba0143e0ef4e1b562d05312f04 to your computer and use it in GitHub Desktop.
An experimental pathc to unpin, relax version dependencies of molecule
ssato@x1-carbon-gen6% diff -u python-molecule.spec{.unpin,}
--- python-molecule.spec.unpin 2019-05-11 23:12:14.261507627 +0900
+++ python-molecule.spec 2019-05-11 23:12:37.541671159 +0900
@@ -15,6 +15,7 @@
URL: https://github.com/metacloud/molecule
Source0: https://github.com/metacloud/molecule/archive/%{version}.tar.gz
+Patch0: molecule-2.20.1_unpin.patch
BuildArch: noarch
ssato@x1-carbon-gen6%
diff -up molecule-2.20.1/lint-requirements.txt.unpin molecule-2.20.1/lint-requirements.txt
diff -up molecule-2.20.1/requirements.txt.unpin molecule-2.20.1/requirements.txt
--- molecule-2.20.1/requirements.txt.unpin 2019-05-11 23:00:33.721586687 +0900
+++ molecule-2.20.1/requirements.txt 2019-05-11 23:16:23.376257527 +0900
@@ -1,20 +1,20 @@
-r lint-requirements.txt
ansible-lint>=4.0.2,<5
-anyconfig==0.9.7
-cerberus==1.2
-click==6.7
-click-completion==0.3.1
-colorama==0.3.9
-cookiecutter==1.6.0
+anyconfig
+cerberus>=1.2
+click>=6.7
+click-completion>=0.3.1
+colorama>=0.3.9
+cookiecutter>=1.6.0
idna<2.8 # because indirect dependency "requests" conflict with it now
-python-gilt==1.2.1
-Jinja2==2.10
-pbr==5.1.1
-pexpect==4.6.0
-psutil==5.4.6; sys_platform!="win32" and sys_platform!="cygwin"
-PyYAML==3.13
-sh==1.12.14
-six==1.11.0
-tabulate==0.8.2
-testinfra==1.19.0
-tree-format==0.1.2
+# python-gilt>=1.2.1
+Jinja2>=2.10
+pbr>=5.1.1
+pexpect>=4.6.0
+psutil; sys_platform!="win32" and sys_platform!="cygwin"
+PyYAML>=3.13
+sh>=1.12.14
+six>=1.11.0
+tabulate>=0.8.2
+testinfra
+tree-format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment