From 63676c382b76eb9d847cc30ec032f3aafd059fce Mon Sep 17 00:00:00 2001 From: chfw Date: Sat, 29 Aug 2020 23:38:27 +0100 Subject: [PATCH 1/2] :egg: :ferris_wheel: release 0.5.9 --- .github/workflows/pythonpublish.yml | 26 ++++++++++++++++++++++++++ CHANGELOG.rst | 8 ++++++++ MANIFEST.in | 2 ++ setup.py | 8 ++++---- 4 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/pythonpublish.yml diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml new file mode 100644 index 0000000..9e7ec42 --- /dev/null +++ b/.github/workflows/pythonpublish.yml @@ -0,0 +1,26 @@ +name: Upload Python Package + +on: + release: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/* diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e4677db..bca579a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,14 @@ Change log ================================================================================ +0.5.9 - 29.08.2020 +-------------------------------------------------------------------------------- +Added +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +#. `pyexcel-xls#35 `_, include +tests + 0.5.8 - 22.08.2018 -------------------------------------------------------------------------------- diff --git a/MANIFEST.in b/MANIFEST.in index c2e4b1b..b1bf562 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ include README.rst include LICENSE include CHANGELOG.rst +recursive-include tests * +recursive-include docs * diff --git a/setup.py b/setup.py index 92b2a0e..a10a4ba 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ PY26 = PY2 and sys.version_info[1] < 7 NAME = 'pyexcel-xls' AUTHOR = 'C.W.' -VERSION = '0.5.8' +VERSION = '0.5.9' EMAIL = 'wangc_2011@hotmail.com' LICENSE = 'New BSD' DESCRIPTION = ( @@ -19,7 +19,7 @@ DESCRIPTION = ( 'reads xlsx and xlsm format' ) URL = 'https://github.com/pyexcel/pyexcel-xls' -DOWNLOAD_URL = '%s/archive/0.5.8.tar.gz' % URL +DOWNLOAD_URL = '%s/archive/0.5.9.tar.gz' % URL FILES = ['README.rst', 'CHANGELOG.rst'] KEYWORDS = [ 'xls', @@ -55,8 +55,8 @@ EXTRAS_REQUIRE = { # You do not need to read beyond this line PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format( sys.executable) -GS_COMMAND = ('gs pyexcel-xls v0.5.8 ' + - "Find 0.5.8 in changelog for more details") +GS_COMMAND = ('gs pyexcel-xls v0.5.9 ' + + "Find 0.5.9 in changelog for more details") NO_GS_MESSAGE = ('Automatic github release is disabled. ' + 'Please install gease to enable it.') UPLOAD_FAILED_MSG = ( From 6a5a8516ac8b93056e418161307774f3439d2ea1 Mon Sep 17 00:00:00 2001 From: chfw Date: Sat, 29 Aug 2020 23:44:41 +0100 Subject: [PATCH 2/2] :books: update change log --- CHANGELOG.rst | 71 +++++---------------------------------------------- 1 file changed, 7 insertions(+), 64 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bca579a..54af2ad 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,7 +4,7 @@ Change log -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `pyexcel-xls#35 `_, include tests @@ -13,7 +13,7 @@ tests -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `pyexcel#151 `_, read cell error as #N/A. @@ -22,7 +22,7 @@ Added -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `pyexcel#54 `_, Book.datemode attribute of that workbook should be passed always. @@ -31,7 +31,7 @@ Added -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `pyexcel#120 `_, xlwt cannot save a book without any sheet. So, let's raise an exception in this case in @@ -41,7 +41,7 @@ Added -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `#25 `_, detect merged cell in .xls @@ -50,7 +50,7 @@ Added -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `#24 `_, xlsx format cannot use skip_hidden_row_and_column. please use pyexcel-xlsx instead. @@ -59,7 +59,7 @@ Added -------------------------------------------------------------------------------- Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + #. `#21 `_, skip hidden rows and columns under 'skip_hidden_row_and_column' flag. @@ -68,7 +68,6 @@ Added -------------------------------------------------------------------------------- updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. pyexcel `pyexcel#105 `_, remove gease from setup_requires, introduced by 0.5.1. @@ -79,7 +78,6 @@ updated -------------------------------------------------------------------------------- added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `pyexcel#103 `_, include LICENSE file in MANIFEST.in, meaning LICENSE file will appear in the released @@ -89,7 +87,6 @@ added -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#20 `_, is handled in pyexcel-io @@ -100,7 +97,6 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#20 `_, handle unseekable stream given by http response. @@ -109,7 +105,6 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `pyexcel-xlsx#15 `_, close file handle @@ -120,7 +115,6 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#18 `_, pass on encoding_override and others to xlrd. @@ -129,7 +123,6 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#16 `_, allow mmap to be passed as file content @@ -138,7 +131,6 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#14 `_, Python 3.6 - cannot use LOCALE flag with a str pattern @@ -148,7 +140,6 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#13 `_, alert on empyty file content @@ -158,55 +149,7 @@ Updated -------------------------------------------------------------------------------- Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #. `#10 `_, To support generator as member of the incoming two dimensional data -0.2.2 - 31.08.2016 --------------------------------------------------------------------------------- - -Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -#. support pagination. two pairs: start_row, row_limit and start_column, - column_limit help you deal with large files. - -0.2.1 - 13.07.2016 --------------------------------------------------------------------------------- - -Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -#. `#9 `_, `skip_hidden_sheets` - is added. By default, hidden sheets are skipped when reading all sheets. - Reading sheet by name or by index are not affected. - -0.2.0 - 01.06.2016 --------------------------------------------------------------------------------- - -Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -#. By default, `float` will be converted to `int` where fits. `auto_detect_int`, - a flag to switch off the autoatic conversion from `float` to `int`. -#. 'library=pyexcel-xls' was added so as to inform pyexcel to use it instead of - other libraries, in the situation where there are more than one plugin for a - file type, e.g. xlsm - -Updated -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -#. support the auto-import feature of pyexcel-io 0.2.0 -#. xlwt is now used for python 2 implementation while xlwt-future is used for - python 3 - -0.1.0 - 17.01.2016 --------------------------------------------------------------------------------- - -Added -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -#. Passing "streaming=True" to get_data, you will get the two dimensional array - as a generator -#. Passing "data=your_generator" to save_data is acceptable too.