🤝 update meta data

This commit is contained in:
chfw 2021-10-06 22:01:26 +01:00
parent 2f139848f8
commit 43e14d8704
6 changed files with 33 additions and 15 deletions

View File

@ -21,10 +21,8 @@ jobs:
git diff --exit-code git diff --exit-code
- name: Auto-commit - name: Auto-commit
if: failure() if: failure()
uses: docker://cdssnc/auto-commit-github-action uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
args: >- commit_message: >-
This is an auto-commit, updating project meta data, This is an auto-commit, updating project meta data,
such as changelog.rst, contributors.rst such as changelog.rst, contributors.rst

View File

@ -1,6 +1,16 @@
Change log Change log
================================================================================ ================================================================================
0.6.3 - tbd
--------------------------------------------------------------------------------
**Updated**
#. `#46 <https://github.com/pyexcel/pyexcel-xls/issues/46>`_: remove the hard
pin on xlrd version < 2.0
#. `#47 <https://github.com/pyexcel/pyexcel-xls/issues/47>`_: limit support to
persist datetime.timedelta. see more details in doc
0.6.2 - 12.12.2020 0.6.2 - 12.12.2020
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@ -39,6 +39,16 @@ pyexcel-xls - Let you focus on data, instead of xls format
write data in xls format and it can read xlsx and xlsm fromat. write data in xls format and it can read xlsx and xlsm fromat.
You are likely to use it with `pyexcel <https://github.com/pyexcel/pyexcel>`_. You are likely to use it with `pyexcel <https://github.com/pyexcel/pyexcel>`_.
Update:
1. v0.6.3 removed the pin on xlrd < 2. If you have xlrd >= 2, this
library will NOT read 'xlsx' format and you need to install pyexcel-xlsx. Othwise,
this library can use xlrd < 2 to read xlsx format for you. So 'xlsx' support
in this library will vary depending on the installed version of xlrd.
2. 0.6.3 can write datetime.timedelta. but when the value is read out,
you will get datetime.datetime. so you as the developer decides what to do with it.
New flag: `detect_merged_cells` allows you to spread the same value among New flag: `detect_merged_cells` allows you to spread the same value among
all merged cells. But be aware that this may slow down its reading all merged cells. But be aware that this may slow down its reading
performance. performance.
@ -51,7 +61,7 @@ please use pyexcel-xlsx.
Warning Warning
================================================================================ ================================================================================
xls file cannot contain more than 65,000 rows. You are risking the reputation **xls file cannot contain more than 65,000 rows**. You are risking the reputation
of yourself/your company/ of yourself/your company/
`your country <https://www.bbc.co.uk/news/technology-54423988>`_ if you keep `your country <https://www.bbc.co.uk/news/technology-54423988>`_ if you keep
using xls and are not aware of its row limit. using xls and are not aware of its row limit.
@ -353,7 +363,7 @@ Then install relevant development requirements:
#. pip install -r tests/requirements.txt #. pip install -r tests/requirements.txt
Once you have finished your changes, please provide test case(s), relevant documentation Once you have finished your changes, please provide test case(s), relevant documentation
and update CHANGELOG.rst. and update changelog.yml
.. note:: .. note::
@ -372,7 +382,7 @@ On Linux/Unix systems, please launch your tests like this::
$ make $ make
On Windows systems, please issue this command:: On Windows, please issue this command::
> test.bat > test.bat
@ -384,7 +394,7 @@ Please run::
$ make format $ make format
so as to beautify your code otherwise travis-ci may fail your unit test. so as to beautify your code otherwise your build may fail your unit test.
Known Issues Known Issues

View File

@ -28,7 +28,7 @@ author = 'C.W.'
# The short X.Y version # The short X.Y version
version = '0.6.2' version = '0.6.2'
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = '0.6.2' release = '0.6.3'
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View File

@ -1,3 +1,3 @@
pyexcel-io>=0.6.2 pyexcel-io>=0.6.2
xlrd<2 xlrd
xlwt xlwt

View File

@ -32,7 +32,7 @@ except (ValueError, UnicodeError, locale.Error):
NAME = "pyexcel-xls" NAME = "pyexcel-xls"
AUTHOR = "C.W." AUTHOR = "C.W."
VERSION = "0.6.2" VERSION = "0.6.3"
EMAIL = "info@pyexcel.org" EMAIL = "info@pyexcel.org"
LICENSE = "New BSD" LICENSE = "New BSD"
DESCRIPTION = ( DESCRIPTION = (
@ -40,7 +40,7 @@ DESCRIPTION = (
"reads xlsx and xlsm format" "reads xlsx and xlsm format"
) )
URL = "https://github.com/pyexcel/pyexcel-xls" URL = "https://github.com/pyexcel/pyexcel-xls"
DOWNLOAD_URL = "%s/archive/0.6.2.tar.gz" % URL DOWNLOAD_URL = "%s/archive/0.6.3.tar.gz" % URL
FILES = ["README.rst","CONTRIBUTORS.rst", "CHANGELOG.rst"] FILES = ["README.rst","CONTRIBUTORS.rst", "CHANGELOG.rst"]
KEYWORDS = [ KEYWORDS = [
"python", "python",
@ -69,7 +69,7 @@ PYTHON_REQUIRES = ">=3.6"
INSTALL_REQUIRES = [ INSTALL_REQUIRES = [
"pyexcel-io>=0.6.2", "pyexcel-io>=0.6.2",
"xlrd<2", "xlrd",
"xlwt", "xlwt",
] ]
SETUP_COMMANDS = {} SETUP_COMMANDS = {}
@ -81,8 +81,8 @@ EXTRAS_REQUIRE = {
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable) PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
HERE = os.path.abspath(os.path.dirname(__file__)) HERE = os.path.abspath(os.path.dirname(__file__))
GS_COMMAND = ("gease pyexcel-xls v0.6.2 " + GS_COMMAND = ("gease pyexcel-xls v0.6.3 " +
"Find 0.6.2 in changelog for more details") "Find 0.6.3 in changelog for more details")
NO_GS_MESSAGE = ("Automatic github release is disabled. " + NO_GS_MESSAGE = ("Automatic github release is disabled. " +
"Please install gease to enable it.") "Please install gease to enable it.")
UPLOAD_FAILED_MSG = ( UPLOAD_FAILED_MSG = (