diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index df3c57f..a6ac58c 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -2,6 +2,7 @@ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions # 2020.3.25 create by David Yi; # 2021.5.26 edit by David Yi, add python 3.9 support +# 2022.9.13 python 3.10 name: Python package @@ -13,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 diff --git a/LICENSE.txt b/LICENSE.txt index b99df47..51d2fe3 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) [2016-2021] [fish_base] +Copyright (c) [2016-2022] [fish_base] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.rst b/README.rst index 15d0c78..47e9e82 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ fishbase 简介 fishbase 是由我们开发和整理的一套 Python基础函数库,将我们平时在开发 Python项目时候的各类工具函数汇聚到一起,方便集中管理和使用。希望对你也有所帮助,也适合初学 Python 的朋友通过代码来学习。 -fishbase 最新版本为 v1.5,支持 Python 3.5-3.9,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。 +fishbase 最新版本为 v1.6,支持 Python 3.5-3.10,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。 fishbase 主要有以下功能模块: @@ -113,6 +113,11 @@ fishbase 功能举例 更新记录 ========== +2022.9.13 v1.6 +------------------ +- `#303 `_ , update setup.py, add install_requires `chardet` +- `#302 `_ , update fish_common.py, modify yaml load method. + 2021.7.20 v1.5 ------------------ - `#300 `_ , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头; diff --git a/docs/change_log.rst b/docs/change_log.rst index 010e9af..cd4fcf9 100644 --- a/docs/change_log.rst +++ b/docs/change_log.rst @@ -1,6 +1,11 @@ 更新记录 =========================== +2022.9.13 v1.6 +------------------ +- `#303 `_ , update setup.py, add install_requires `chardet` +- `#302 `_ , update fish_common.py, modify yaml load method. + 2021.7.20 v1.5 ------------------ - `#300 `_ , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头; diff --git a/docs/index.rst b/docs/index.rst index 0792c7a..567c352 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -19,7 +19,7 @@ fishbase 简介 fishbase 是由我们开发和整理的一套 Python基础函数库,将我们平时在开发 Python项目时候的各类工具函数汇聚到一起,方便集中管理和使用。希望对你也有所帮助,也适合初学 Python 的朋友通过代码来学习。 -fishbase 最新版本为 v1.4,支持 Python 3.5-3.9,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。 +fishbase 最新版本为 v1.6,支持 Python 3.5-3.10,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。 fishbase 主要有以下功能模块: @@ -118,6 +118,17 @@ fishbase 功能举例 更新记录 ========== +2022.9.13 v1.6 +------------------ +- `#303 `_ , update setup.py, add install_requires `chardet` +- `#302 `_ , update fish_common.py, modify yaml load method. + +2021.7.20 v1.5 +------------------ +- `#300 `_ , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头; +- 修改文档描述 + + 2021.6.23 v1.4 ------------------ - `#288 `_ , fish_date 中的 GetRandomTime 修改为 RandomTime,其中函数名称修改为 get_random_datetime_this_month() get_random_datetime_this_year() get_random_date_by_year() get_random_date_by_range(); diff --git a/setup.py b/setup.py index 3011c4c..96b5cf2 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,8 @@ name='fishbase', version=version, install_requires=['python-dateutil', - 'pyyaml'], + 'pyyaml', + 'chardet'], url='https://github.com/chinapnr/fishbase', license='MIT',