File tree Expand file tree Collapse file tree 16 files changed +67
-39
lines changed Expand file tree Collapse file tree 16 files changed +67
-39
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,30 @@ python:
13
13
stages :
14
14
- test
15
15
- lint
16
+
17
+ .disable_global : &disable_global
18
+ before_install : false
19
+ install : true
20
+ before_script : false
21
+ after_success : false
22
+ after_failure : false
23
+
24
+ .lint : &lint
25
+ << : *disable_global
26
+ python : 3.6
27
+ stage : lint
28
+ install : pip install flake8
29
+ script : flake8
30
+
16
31
jobs :
17
32
include :
18
- - stage : lint
19
- python : 3.6
20
- script : make lint
33
+ - *lint
21
34
22
35
stage : test
23
36
24
37
script : make test
25
38
26
39
before_install :
27
- - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
28
40
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
29
41
mv min_requirements.txt requirements.txt ;
30
42
fi
Original file line number Diff line number Diff line change 1
1
Change log
2
2
================================================================================
3
3
4
+ 0.5.6 - 19.03.2019
5
+ --------------------------------------------------------------------------------
6
+
7
+ added
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
+
10
+ #. `#32 <https://github.com/pyexcel/pyexcel-ods/issues/32 >`_, fix odfpy pinning
11
+ #. `#33 <https://github.com/pyexcel/pyexcel-ods/issues/33 >`_, fix
12
+ IntegerAccuracyLossError on i586
13
+
4
14
0.5.5 - 16.03.2019
5
15
--------------------------------------------------------------------------------
6
16
Original file line number Diff line number Diff line change 1
1
name : pyexcel-ods
2
2
organisation : pyexcel
3
3
releases :
4
+ - changes :
5
+ - action : added
6
+ details :
7
+ - ' `#32`, fix odfpy pinning'
8
+ - ' `#33`, fix IntegerAccuracyLossError on i586'
9
+ date : 19.03.2019
10
+ version : 0.5.6
4
11
- changes :
5
12
- action : added
6
13
details :
Original file line number Diff line number Diff line change 25
25
copyright = 'copyright 2015-2019 Onni Software Ltd.'
26
26
author = 'Onni Software Ltd.'
27
27
# The short X.Y version
28
- version = '0.5.5 '
28
+ version = '0.5.6 '
29
29
# The full version, including alpha/beta/rc tags
30
- release = '0.5.5 '
30
+ release = '0.5.6 '
31
31
32
32
# -- General configuration ---------------------------------------------------
33
33
Original file line number Diff line number Diff line change 1
1
overrides : " pyexcel.yaml"
2
2
name : " pyexcel-ods"
3
3
nick_name : ods
4
- version : 0.5.5
5
- current_version : 0.5.5
6
- release : 0.5.5
4
+ version : 0.5.6
5
+ current_version : 0.5.6
6
+ release : 0.5.6
7
7
copyright_year : 2015-2019
8
8
file_type : ods
9
9
dependencies :
10
- - pyexcel-io>=0.5.10
11
- - odfpy= =1.3.5
10
+ - pyexcel-io>=0.5.16
11
+ - odfpy> =1.3.5
12
12
description : A wrapper library to read, manipulate and write data in ods format
Original file line number Diff line number Diff line change 5
5
:copyright: (c) 2015-2017 by Onni Software Ltd & its contributors
6
6
:license: New BSD License
7
7
"""
8
+
8
9
# flake8: noqa
10
+ from pyexcel_io .io import get_data as read_data
11
+ from pyexcel_io .io import isstream
12
+ from pyexcel_io .io import store_data as write_data
13
+
9
14
# this line has to be place above all else
10
15
# because of dynamic import
11
16
from pyexcel_io .plugins import IOPluginInfoChain
12
- from pyexcel_io .io import (
13
- get_data as read_data ,
14
- isstream ,
15
- store_data as write_data ,
16
- )
17
17
18
18
__FILE_TYPE__ = "ods"
19
19
IOPluginInfoChain (__name__ ).add_a_reader (
Original file line number Diff line number Diff line change 22
22
# limitations under the License.
23
23
24
24
import pyexcel_io .service as service
25
+ from pyexcel_io ._compact import OrderedDict
26
+ from pyexcel_io .book import BookReader
27
+ from pyexcel_io .sheet import SheetReader
28
+
25
29
from odf .namespaces import OFFICENS
26
30
from odf .opendocument import load
27
31
from odf .table import Table , TableCell , TableRow
28
32
29
33
# Thanks to grt for the fixes
30
34
from odf .teletype import extractText
31
35
from odf .text import P
32
- from pyexcel_io ._compact import OrderedDict
33
- from pyexcel_io .book import BookReader
34
- from pyexcel_io .sheet import SheetReader
35
36
36
37
37
38
class ODSSheet (SheetReader ):
Original file line number Diff line number Diff line change 10
10
import sys
11
11
12
12
import pyexcel_io .service as converter
13
+ from pyexcel_io .book import BookWriter
14
+ from pyexcel_io .sheet import SheetWriter
15
+
13
16
from odf .namespaces import OFFICENS
14
17
from odf .opendocument import OpenDocumentSpreadsheet
15
18
from odf .table import Table , TableCell , TableRow
16
19
from odf .text import P
17
- from pyexcel_io .book import BookWriter
18
- from pyexcel_io .sheet import SheetWriter
19
20
20
21
PY2 = sys .version_info [0 ] == 2
21
22
Original file line number Diff line number Diff line change 1
- pyexcel-io >= 0.5.10
2
- odfpy = =1.3.5
1
+ pyexcel-io >= 0.5.16
2
+ odfpy > =1.3.5
Original file line number Diff line number Diff line change 25
25
26
26
NAME = 'pyexcel-ods'
27
27
AUTHOR = 'C.W.'
28
- VERSION = '0.5.5 '
28
+ VERSION = '0.5.6 '
29
29
30
30
LICENSE = 'New BSD'
31
31
DESCRIPTION = (
32
32
'A wrapper library to read, manipulate and write data in ods format'
33
33
)
34
34
URL = 'https://github.com/pyexcel/pyexcel-ods'
35
- DOWNLOAD_URL = '%s/archive/0.5.5 .tar.gz' % URL
35
+ DOWNLOAD_URL = '%s/archive/0.5.6 .tar.gz' % URL
36
36
FILES = ['README.rst' , 'CHANGELOG.rst' ]
37
37
KEYWORDS = [
38
38
'python' ,
51
51
]
52
52
53
53
INSTALL_REQUIRES = [
54
- 'pyexcel-io>=0.5.10 ' ,
55
- 'odfpy= =1.3.5' ,
54
+ 'pyexcel-io>=0.5.16 ' ,
55
+ 'odfpy> =1.3.5' ,
56
56
]
57
57
SETUP_COMMANDS = {}
58
58
63
63
# You do not need to read beyond this line
64
64
PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi' .format (
65
65
sys .executable )
66
- GS_COMMAND = ('gs pyexcel-ods v0.5.5 ' +
67
- "Find 0.5.5 in changelog for more details" )
66
+ GS_COMMAND = ('gs pyexcel-ods v0.5.6 ' +
67
+ "Find 0.5.6 in changelog for more details" )
68
68
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
69
69
'Please install gease to enable it.' )
70
70
UPLOAD_FAILED_MSG = (
Original file line number Diff line number Diff line change 1
1
import datetime # noqa
2
2
import os # noqa
3
3
4
- from nose .tools import eq_ , raises # noqa
5
-
6
4
import pyexcel
5
+ from nose .tools import eq_ , raises # noqa
7
6
8
7
9
8
def create_sample_file1 (file ):
Original file line number Diff line number Diff line change 2
2
# -*- encoding: utf-8 -*-
3
3
import os
4
4
5
- from nose import SkipTest
6
- from nose .tools import eq_ , raises
7
-
8
5
import psutil
9
6
import pyexcel as pe
7
+ from nose import SkipTest
8
+ from nose .tools import eq_ , raises
10
9
from pyexcel_io .exceptions import IntegerAccuracyLossError
10
+
11
11
from pyexcel_ods import get_data , save_data
12
12
13
13
IN_TRAVIS = "TRAVIS" in os .environ
Original file line number Diff line number Diff line change 1
1
import os
2
2
3
3
from nose .tools import eq_
4
-
5
4
from pyexcel_io import get_data , save_data
6
5
7
6
Original file line number Diff line number Diff line change 1
1
import os
2
2
from textwrap import dedent
3
3
4
- from nose .tools import eq_
5
-
6
4
import pyexcel as pe
5
+ from nose .tools import eq_
7
6
8
7
9
8
class TestAutoDetectInt :
Original file line number Diff line number Diff line change 1
1
import os
2
2
import sys
3
3
4
+ import pyexcel
4
5
from nose .tools import raises
5
6
6
- import pyexcel
7
7
from base import PyexcelMultipleSheetBase
8
8
9
9
if sys .version_info [0 ] == 2 and sys .version_info [1 ] < 7 :
Original file line number Diff line number Diff line change 1
1
import os
2
2
3
+ import pyexcel
3
4
from nose .tools import eq_
4
5
5
- import pyexcel
6
6
from base import create_sample_file1
7
7
8
8
You can’t perform that action at this time.
0 commit comments