Skip to content

Commit

Permalink
pre-release of version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-wangxu committed Feb 14, 2024
1 parent d58f253 commit 8563e65
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ persist-queue - A thread-safe, disk-based queue for Python
.. image:: https://img.shields.io/pypi/v/persist-queue.svg
:target: https://pypi.python.org/pypi/persist-queue

.. image:: https://img.shields.io/pypi/pyversions/persist-queue
:alt: PyPI - Python Version

``persist-queue`` implements a file-based queue and a serial of sqlite3-based queues. The goals is to achieve following requirements:

* Disk-based: each queued item should be stored in disk in case of any crash.
Expand Down Expand Up @@ -41,8 +44,8 @@ Join `persist-queue <https://join.slack

Requirements
------------
* Python 2.7 or Python 3.x (refer to `Deprecation`_ for future plan)
* Full support for Linux, Windows and MacOS.
* Python 3.5 or newer versions (refer to `Deprecation`_ for older Python versions)
* Full support for Linux and MacOS.
* Windows support (with `Caution`_ if ``persistqueue.Queue`` is used).

Features
Expand All @@ -55,7 +58,7 @@ Features

Deprecation
-----------
- `Python 2 was sunset on January 1, 2020 <https://www.python.org/doc/sunset-python-2/>`_, `persist-queue` will drop any Python 2 support in future version `1.0.0`, no new feature will be developed under Python 2.
- `persist-queue` drops Python 2 support since version `1.0.0`, no new feature will be developed under Python 2 as `Python 2 was sunset on January 1, 2020 <https://www.python.org/doc/sunset-python-2/>`_.
- `Python 3.4 release has reached end of life <https://www.python.org/downloads/release/python-3410/>`_ and
`DBUtils <https://webwareforpython.github.io/DBUtils/changelog.html>`_ ceased support for `Python 3.4`, `persist queue` drops MySQL based queue for python 3.4 since version 0.8.0.
other queue implementations such as file based queue and sqlite3 based queue are still workable.
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ "$NAME" != "persist-queue" ]];then
fi
rm -rf ./build/*.* ./dist/*.*
python setup.py build sdist
python setup.py build bdist_wheel
python setup.py build bdist_wheel # requires `pip install wheel`
twine check ${BASE_DIR}/dist/*.tar.gz
twine check ${BASE_DIR}/dist/*.whl
twine upload ${BASE_DIR}/dist/*
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[bdist_wheel]
universal = 1
universal = 0
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def get_extras():
'Programming Language :: Python',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
minversion = 2.0
skipsdist = True
recreate = false
envlist = py34, py35, py36, py37, py38, py39, py310, py311, py312, pep8, cover
envlist = py35, py36, py37, py38, py39, py310, py311, py312, pep8, cover
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/extra-requirements.txt
-r{toxinidir}/requirements.txt
Expand Down

0 comments on commit 8563e65

Please sign in to comment.