8000 release 0.6.5 by chfw · Pull Request #110 · pyexcel/pyexcel-io · GitHub
[go: up one dir, main page]

Skip to content

release 0.6.5 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 8, 2021
Merged
Next Next commit
windows bulid on github actions (#107)
* ✨ enable github actions for pyexcel-io. pyexcel/pyexcel#238, https://github.com/pyexcel/pyexcel

* 🐛 in test. memory map file on windows needs close.

* 💚 increase verbosity

* 💚 setup utf-8 encoding

* 💚 give a line break

* 💚 verify the tests on windows

* 💚 python 3 need no unicode annotation

* 💚 use Finnish world instead of Chinese one for now

* 🔥 extra statement had no use

* 🔥 remove travis config

* 🔥 repalce travis status

* ✨ kick start next version

* This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst

Co-authored-by: chfw <chfw@users.noreply.github.com>
  • Loading branch information
chfw and chfw authored Nov 28, 2020
commit c6111784be97d88ea803edbc5f4a9050dcfd0647
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ With your PR, here is a check list:
- [ ] Has all code lines tested?
- [ ] Has `make format` been run?
- [ ] Please update CHANGELOG.yml(not CHANGELOG.rst)
- [ ] Passes all Travis CI builds
- [ ] Has fair amount of documentation if your change is complex
- [ ] Agree on NEW BSD License for your contribution
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
name: lint code
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: lint
run: |
pip install flake8
pip install -r tests/requirements.txt
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long .
python setup.py checkdocs
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: run_tests

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
os: [macOs-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
name: run tests
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: install
run: |
pip install -r requirements.txt
pip install -r tests/requirements.txt
- name: test
run: |
pip freeze
nosetests --verbosity=3 --with-coverage --cover-package pyexcel_io --cover-package tests tests --with-doctest --doctest-extension=.rst README.rst docs/source pyexcel_io
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
1 change: 0 additions & 1 deletion .moban.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ configuration:
targets:
- "docs/source/conf.py": "docs/source/custom_conf.py.jj2"
- setup.py: io_setup.py.jj2
- .travis.yml: custom_travis.yml.jj2
- README.rst: io_readme.rst.jj2
- "docs/source/index.rst": "docs/source/index.rst.jj2"
- .gitignore: gitignore.jj2
45 changes: 0 additions & 45 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ pyexcel-io - Let you focus on data, instead of file formats
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel-mobans/master/images/awesome-badge.svg
:target: https://awesome-python.com/#specific-formats-processing

.. image:: https://travis-ci.org/pyexcel/pyexcel-io.svg?branch=master
:target: http://travis-ci.org/pyexcel/pyexcel-io
.. image:: https://github.com/actions/pyexcel/pyexcel-io/workflows/.github/workflows/tests.yml/badge.svg
:target: http://github.com/pyexcel/pyexcel-io

.. image:: https://codecov.io/gh/pyexcel/pyexcel-io/branch/master/graph/badge.svg
:target: https://codecov.io/gh/pyexcel/pyexcel-io
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
copyright = '2015-2020 Onni Software Ltd.'
author = 'C.W.'
# The short X.Y version
version = '0.6.4'
version = '0.6.5'
# The full version, including alpha/beta/rc tags
release = '0.6.4'

Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:Source code: http://github.com/pyexcel/pyexcel-io.git
:Issues: http://github.com/pyexcel/pyexcel-io/issues
:License: New BSD License
:Development: |release|
:Released: |version|
:Generated: |today|

Expand Down
2 changes: 1 addition & 1 deletion docs/source/plaincsv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Here is an example to write a sentence of "Shui Dial Getou"[#f2] into a csv file

.. code-block:: python

>>> content = [[u'人有悲歡離合', u'月有陰晴圓缺']]
>>> content = [['löyly', 'löyly']]
>>> test_file = "test-utf8-BOM.csv"
>>> save_data(test_file, content, encoding="utf-8-sig", lineterminator="\n")

Expand Down
4 changes: 2 additions & 2 deletions pyexcel-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ overrides: "pyexcel.yaml"
project: "pyexcel-io"
name: pyexcel-io
nick_name: io
version: 0.6.4
current_version: 0.6.4
version: 0.6.5
current_version: 0.6.5
release: 0.6.4
copyright_year: 2015-2020
moban_command: false
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

NAME = "pyexcel-io"
AUTHOR = "C.W."
VERSION = "0.6.4"
VERSION = "0.6.5"
EMAIL = "info@pyexcel.org"
LICENSE = "New BSD"
DESCRIPTION = (
Expand Down
1 change: 1 addition & 0 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def check_mmap_encoding(encoding):
memory_mapped_file = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
data = get_data(memory_mapped_file, file_type="csv", encoding=encoding)
eq_(data["csv"], content)
memory_mapped_file.close()

os.unlink(test_file)

Expand Down
0