!46 Fix Python 3.7 Travis testing
From: @zhang-liang-pengkun Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
da550e1d61
36
0005-Fix-Python-3.7-Travis-testing.patch
Normal file
36
0005-Fix-Python-3.7-Travis-testing.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From 4b14779126b0a3fccd1f4843067dd472bdc421f4 Mon Sep 17 00:00:00 2001
|
||||
From: Jon Dufresne <jon.dufresne@gmail.com>
|
||||
Date: Sat, 15 Sep 2018 09:49:47 -0700
|
||||
Subject: [PATCH] Fix Python 3.7 Travis testing
|
||||
|
||||
Use 'dist: xenial' in Travis to simplify configuration. Allows using
|
||||
Python version 3.7 without sudo declarations. Travis officially added
|
||||
support for Xenial on 2018-11-08.
|
||||
|
||||
https://blog.travis-ci.com/2018-11-08-xenial-release
|
||||
---
|
||||
.travis.yml | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/.travis.yml b/.travis.yml
|
||||
index 63e8545..3da2af8 100644
|
||||
--- a/.travis.yml
|
||||
+++ b/.travis.yml
|
||||
@@ -1,3 +1,4 @@
|
||||
+dist: xenial
|
||||
language: python
|
||||
cache: pip
|
||||
python:
|
||||
@@ -6,7 +7,8 @@ python:
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- - "pypy"
|
||||
+ - "pypy2.7-6.0"
|
||||
+ - "pypy3.5-6.0"
|
||||
install:
|
||||
- pip install nose
|
||||
script: nosetests
|
||||
--
|
||||
2.39.0.windows.2
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: python-imagesize
|
||||
Version: 1.1.0
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: This module analyzes image headers and returns image size.
|
||||
License: MIT
|
||||
URL: https://github.com/shibukawa/imagesize_py
|
||||
@ -9,6 +9,7 @@ Patch01: 0001-Added-return-types-to-docstrings-and-fixed-descripti.patch
|
||||
Patch02: 0002-Support-SVG-Image.patch
|
||||
Patch03: 0003-Pass-python_requires-argument-to-setuptools.patch
|
||||
Patch04: 0004-Make-sure-.pyc-files-are-not-included-in-the-tarball.patch
|
||||
Patch05: 0005-Fix-Python-3.7-Travis-testing.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-setuptools python2-devel python2-pytest python3-setuptools
|
||||
BuildRequires: python3-devel python3-pytest
|
||||
@ -52,6 +53,9 @@ py.test-3
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 29 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.1.0-6
|
||||
- Fix Python 3.7 Travis testing
|
||||
|
||||
* Thu Dec 28 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.1.0-5
|
||||
- Make sure *.pyc files are not included in the tarball
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user