[Patchew-devel] [PATCH] requirement.txt: block Pillow 6.0

Paolo Bonzini posted 1 patch 26 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew next tags/patchew/20190515112400.25127-1-pbonzini@redhat.com
requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[Patchew-devel] [PATCH] requirement.txt: block Pillow 6.0

Posted by Paolo Bonzini 26 weeks ago
Pillow 6.0 requires a newer version of pip, block it for now.

May 15 10:30:39 qemu2 journal:  Downloading https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz (29.5MB)
May 15 10:30:47 qemu2 journal:    Complete output from command python setup.py egg_info:
May 15 10:30:47 qemu2 journal:    running egg_info
May 15 10:30:47 qemu2 journal:    creating pip-egg-info/Pillow.egg-info
May 15 10:30:47 qemu2 journal:    writing pip-egg-info/Pillow.egg-info/PKG-INFO
May 15 10:30:47 qemu2 journal:    writing top-level names to pip-egg-info/Pillow.egg-info/top_level.txt
May 15 10:30:47 qemu2 journal:    writing dependency_links to pip-egg-info/Pillow.egg-info/dependency_links.txt
May 15 10:30:47 qemu2 journal:    writing manifest file 'pip-egg-info/Pillow.egg-info/SOURCES.txt'
May 15 10:30:47 qemu2 journal:    /usr/lib64/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'python_requires'
May 15 10:30:47 qemu2 journal:      warnings.warn(msg)
May 15 10:30:47 qemu2 journal:    warning: manifest_maker: standard file '-c' not found
May 15 10:30:47 qemu2 journal:
May 15 10:30:47 qemu2 journal:    Traceback (most recent call last):
May 15 10:30:47 qemu2 journal:      File "<string>", line 1, in <module>
May 15 10:30:47 qemu2 journal:      File "/tmp/pip-build-4cljyrxy/Pillow/setup.py", line 792, in <module>
May 15 10:30:47 qemu2 journal:        zip_safe=not (debug_build() or PLATFORM_MINGW), )
May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
May 15 10:30:47 qemu2 journal:        dist.run_commands()
May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
May 15 10:30:47 qemu2 journal:        self.run_command(cmd)
May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
May 15 10:30:47 qemu2 journal:        cmd_obj.run()
May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 193, in run
May 15 10:30:47 qemu2 journal:        self.find_sources()
May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 216, in find_sources
May 15 10:30:47 qemu2 journal:        mm.run()
May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 300, in run
May 15 10:30:47 qemu2 journal:        self.add_defaults()
May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 329, in add_defaults
May 15 10:30:47 qemu2 journal:        sdist.add_defaults(self)
May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/sdist.py", line 132, in add_defaults
May 15 10:30:47 qemu2 journal:        build_ext = self.get_finalized_command('build_ext')
May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/cmd.py", line 299, in get_finalized_command
May 15 10:30:47 qemu2 journal:        cmd_obj.ensure_finalized()
May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/cmd.py", line 107, in ensure_finalized
May 15 10:30:47 qemu2 journal:        self.finalize_options()
May 15 10:30:47 qemu2 journal:      File "/tmp/pip-build-4cljyrxy/Pillow/setup.py", line 268, in finalize_options
May 15 10:30:47 qemu2 journal:        if sys.version_info.major >= 3 and not self.parallel:
May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/cmd.py", line 103, in __getattr__
May 15 10:30:47 qemu2 journal:        raise AttributeError(attr)
May 15 10:30:47 qemu2 journal:    AttributeError: parallel

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index 59c9480..a00e5ef 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
 Django>=1.11, <2.0
-Pillow>=3.2.0
+Pillow>=3.2.0, <6.0
 Markdown>=2.6.6, < 3.0
 django-debug-toolbar==1.8
 gunicorn>=19
-- 
2.21.0

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel

Re: [Patchew-devel] [PATCH] requirement.txt: block Pillow 6.0

Posted by Philippe Mathieu-Daudé 25 weeks ago
On 5/15/19 1:24 PM, Paolo Bonzini wrote:
> Pillow 6.0 requires a newer version of pip, block it for now.
> 
> May 15 10:30:39 qemu2 journal:  Downloading https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz (29.5MB)
> May 15 10:30:47 qemu2 journal:    Complete output from command python setup.py egg_info:
> May 15 10:30:47 qemu2 journal:    running egg_info
> May 15 10:30:47 qemu2 journal:    creating pip-egg-info/Pillow.egg-info
> May 15 10:30:47 qemu2 journal:    writing pip-egg-info/Pillow.egg-info/PKG-INFO
> May 15 10:30:47 qemu2 journal:    writing top-level names to pip-egg-info/Pillow.egg-info/top_level.txt
> May 15 10:30:47 qemu2 journal:    writing dependency_links to pip-egg-info/Pillow.egg-info/dependency_links.txt
> May 15 10:30:47 qemu2 journal:    writing manifest file 'pip-egg-info/Pillow.egg-info/SOURCES.txt'
> May 15 10:30:47 qemu2 journal:    /usr/lib64/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'python_requires'
> May 15 10:30:47 qemu2 journal:      warnings.warn(msg)
> May 15 10:30:47 qemu2 journal:    warning: manifest_maker: standard file '-c' not found
> May 15 10:30:47 qemu2 journal:
> May 15 10:30:47 qemu2 journal:    Traceback (most recent call last):
> May 15 10:30:47 qemu2 journal:      File "<string>", line 1, in <module>
> May 15 10:30:47 qemu2 journal:      File "/tmp/pip-build-4cljyrxy/Pillow/setup.py", line 792, in <module>
> May 15 10:30:47 qemu2 journal:        zip_safe=not (debug_build() or PLATFORM_MINGW), )
> May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/core.py", line 148, in setup
> May 15 10:30:47 qemu2 journal:        dist.run_commands()
> May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/dist.py", line 955, in run_commands
> May 15 10:30:47 qemu2 journal:        self.run_command(cmd)
> May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/dist.py", line 974, in run_command
> May 15 10:30:47 qemu2 journal:        cmd_obj.run()
> May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 193, in run
> May 15 10:30:47 qemu2 journal:        self.find_sources()
> May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 216, in find_sources
> May 15 10:30:47 qemu2 journal:        mm.run()
> May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 300, in run
> May 15 10:30:47 qemu2 journal:        self.add_defaults()
> May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/egg_info.py", line 329, in add_defaults
> May 15 10:30:47 qemu2 journal:        sdist.add_defaults(self)
> May 15 10:30:47 qemu2 journal:      File "/opt/patchew/venv/lib64/python3.4/site-packages/setuptools/command/sdist.py", line 132, in add_defaults
> May 15 10:30:47 qemu2 journal:        build_ext = self.get_finalized_command('build_ext')
> May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/cmd.py", line 299, in get_finalized_command
> May 15 10:30:47 qemu2 journal:        cmd_obj.ensure_finalized()
> May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/cmd.py", line 107, in ensure_finalized
> May 15 10:30:47 qemu2 journal:        self.finalize_options()
> May 15 10:30:47 qemu2 journal:      File "/tmp/pip-build-4cljyrxy/Pillow/setup.py", line 268, in finalize_options
> May 15 10:30:47 qemu2 journal:        if sys.version_info.major >= 3 and not self.parallel:
> May 15 10:30:47 qemu2 journal:      File "/usr/lib64/python3.4/distutils/cmd.py", line 103, in __getattr__
> May 15 10:30:47 qemu2 journal:        raise AttributeError(attr)
> May 15 10:30:47 qemu2 journal:    AttributeError: parallel
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---
>  requirements.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/requirements.txt b/requirements.txt
> index 59c9480..a00e5ef 100644
> --- a/requirements.txt
> +++ b/requirements.txt
> @@ -1,5 +1,5 @@
>  Django>=1.11, <2.0
> -Pillow>=3.2.0
> +Pillow>=3.2.0, <6.0
>  Markdown>=2.6.6, < 3.0
>  django-debug-toolbar==1.8
>  gunicorn>=19
> 

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel