From 3359f85bf38ff4ee6b7bf5714a7955f88c5a0ab4 Mon Sep 17 00:00:00 2001 From: Peter Wang Date: Tue, 2 Jul 2024 14:29:09 +0800 Subject: [PATCH] bump version to v1.0.0 --- .circleci/config.yml | 69 ++-------------------------------------- appveyor.yml | 28 ++++++++-------- persistqueue/__init__.py | 2 +- setup.py | 3 -- tox.ini | 2 +- 5 files changed, 18 insertions(+), 86 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aeb1679..032469d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,66 +50,6 @@ jobs: - store_artifacts: path: htmlcov - py34: - docker: - # Primary container image where all steps run. - - image: circleci/python:3.4.10 - environment: - TOXENV: py34 - # MySQL env for mysql queue tests - - image: circleci/mysql:8.0 - environment: - MYSQL_ROOT_PASSWORD: 123456 - MYSQL_DATABASE: testqueue - MYSQL_USER: user - MYSQL_PASSWORD: passw0rd - steps: *common_steps - - py35: - docker: - # Primary container image where all steps run. - - image: circleci/python:3.5.9 - environment: - TOXENV: py35 - # MySQL env for mysql queue tests - - image: circleci/mysql:8.0 - environment: - MYSQL_ROOT_PASSWORD: 123456 - MYSQL_DATABASE: testqueue - MYSQL_USER: user - MYSQL_PASSWORD: passw0rd - steps: *common_steps - - py36: - docker: - # Primary container image where all steps run. - - image: circleci/python:3.6.10 - environment: - TOXENV: py36 - # MySQL env for mysql queue tests - - image: circleci/mysql:8.0 - environment: - MYSQL_ROOT_PASSWORD: 123456 - MYSQL_DATABASE: testqueue - MYSQL_USER: user - MYSQL_PASSWORD: passw0rd - steps: *common_steps - - py37: - docker: - # Primary container image where all steps run. - - image: circleci/python:3.7.7 - environment: - TOXENV: py37 - # MySQL env for mysql queue tests - - image: circleci/mysql:8.0 - environment: - MYSQL_ROOT_PASSWORD: 123456 - MYSQL_DATABASE: testqueue - MYSQL_USER: user - MYSQL_PASSWORD: passw0rd - steps: *common_steps - py38: docker: # Primary container image where all steps run. @@ -184,7 +124,7 @@ jobs: pep8: docker: # Primary container image where all steps run. - - image: circleci/python:3.5.9 + - image: cimg/python:3.8 environment: TOXENV: pep8 # MySQL env for mysql queue tests @@ -200,7 +140,7 @@ jobs: cover: docker: # Primary container image where all steps run. - - image: circleci/python:3.5.9 + - image: cimg/python:3.8 environment: TOXENV: cover # MySQL env for mysql queue tests @@ -217,11 +157,6 @@ workflows: build: jobs: - pep8 - # - py27 - # - py34 - - py35 - - py36 - - py37 - py38 - py39 - py310 diff --git a/appveyor.yml b/appveyor.yml index 463d393..1c6e873 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,26 +25,26 @@ environment: # The list here is complete (excluding Python 2.6, which # isn't covered by this document) at the time of writing. - TOXENV: "pep8" - PYTHON: "C:\\Python35-x64" + PYTHON: "C:\\Python38-x64" DISTUTILS_USE_SDK: "1" APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 # - TOXENV: "py27" # PYTHON: "C:\\Python27-x64" # DISTUTILS_USE_SDK: "1" - - TOXENV: "py35" - PYTHON: "C:\\Python35-x64" - DISTUTILS_USE_SDK: "1" - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + # - TOXENV: "py35" + # PYTHON: "C:\\Python35-x64" + # DISTUTILS_USE_SDK: "1" + # APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - - TOXENV: "py36" - PYTHON: "C:\\Python36-x64" - DISTUTILS_USE_SDK: "1" - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - - TOXENV: "py37" - PYTHON: "C:\\Python37-x64" - DISTUTILS_USE_SDK: "1" - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + # - TOXENV: "py36" + # PYTHON: "C:\\Python36-x64" + # DISTUTILS_USE_SDK: "1" + # APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + # - TOXENV: "py37" + # PYTHON: "C:\\Python37-x64" + # DISTUTILS_USE_SDK: "1" + # APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - TOXENV: "py38" PYTHON: "C:\\Python38-x64" DISTUTILS_USE_SDK: "1" @@ -66,7 +66,7 @@ environment: APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 DISTUTILS_USE_SDK: "1" - TOXENV: "cover" - PYTHON: "C:\\Python36-x64" + PYTHON: "C:\\Python38-x64" DISTUTILS_USE_SDK: "1" APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 diff --git a/persistqueue/__init__.py b/persistqueue/__init__.py index 72bec73..45de54b 100644 --- a/persistqueue/__init__.py +++ b/persistqueue/__init__.py @@ -1,6 +1,6 @@ __author__ = 'Peter Wang' __license__ = 'BSD' -__version__ = '1.0.0-alpha' +__version__ = '1.0.0' # Relative imports assuming the current package structure from .exceptions import Empty, Full # noqa: F401 diff --git a/setup.py b/setup.py index 0046cde..c73db94 100644 --- a/setup.py +++ b/setup.py @@ -35,9 +35,6 @@ def get_extras(): 'Programming Language :: Python', 'Programming Language :: Python :: Implementation', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', diff --git a/tox.ini b/tox.ini index 7b3ef5b..bda44cd 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ minversion = 2.0 skipsdist = True recreate = false -envlist = py35, py36, py37, py38, py39, py310, py311, py312, pep8, cover +envlist = py38, py39, py310, py311, py312, pep8, cover deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/extra-requirements.txt -r{toxinidir}/requirements.txt