diff --git a/programming/language/python3/gonullu/files/python-docker.patch b/programming/language/python3/gonullu/files/python-docker.patch new file mode 100644 index 0000000000..f06b8ee50d --- /dev/null +++ b/programming/language/python3/gonullu/files/python-docker.patch @@ -0,0 +1,29 @@ +diff -Nuar a/gonullu/docker.py b/gonullu/docker.py +--- a/gonullu/docker.py 2019-10-03 22:07:47.000000000 +0300 ++++ b/gonullu/docker.py 2021-08-10 23:55:04.540780000 +0300 +@@ -3,7 +3,8 @@ + import shutil + + import psutil +-from docker import Client ++from docker import client ++from docker import APIClient + + from gonullu.log import Log + +@@ -28,7 +29,7 @@ + # containerımızı parametreleri ile çalıştıracağımız fonksiyonumuz. + if not self.my_client: + # my_client'de çalışan docker process'ini yakalıyorum. +- self.my_client = Client(base_url='unix://var/run/docker.sock', version='1.23') ++ self.my_client = APIClient(base_url='unix://var/run/docker.sock', version='1.35') + + # container'ımızın host configlerini yapalım. + self.host_config = self.my_client.create_host_config(mem_limit='%sM' % self.memory_limit, binds=self.binds, security_opt=['seccomp:unconfined']) +@@ -143,4 +144,4 @@ + + self.log.blank_line() + self.log.warning(message='CTRL+C\'ye tıkladınız!') +- self.log.get_exit() +\ Dosya sonunda yenisatır yok. ++ self.log.get_exit() diff --git a/programming/language/python3/gonullu/pspec.xml b/programming/language/python3/gonullu/pspec.xml index ab8d51854c..93e0c1fc39 100644 --- a/programming/language/python3/gonullu/pspec.xml +++ b/programming/language/python3/gonullu/pspec.xml @@ -12,13 +12,13 @@ app:console Volunteer application is developed to compile the packages for Pisi distributions Application build the packages waiting at queue of build system as PISI packages using docker images and again, sent them to build system. - https://github.com/PisiLinuxNew/gonullu/archive/v1.2.1.tar.gz + https://github.com/PisiLinuxNew/gonullu/archive/v1.2.2.tar.gz python3-devel python3-setuptools - + python-docker.patch @@ -31,7 +31,7 @@ python3-backports-ssl-match-hostname python3-colorama python3 - python3-docker-py + python3-docker python3-psutil python3-PyYAML python3-requests @@ -46,6 +46,13 @@ + + 2021-08-11 + 1.2.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-03-19 1.2.1