diff --git a/CITATION.cff b/CITATION.cff index 83e9aca..60073fd 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -9,11 +9,11 @@ identifiers: value: 10.5281/zenodo.10799219 description: This is the collection of archived snapshots of all versions of thread. - type: url - value: https://github.com/python-thread/thread/releases/tag/v2.0.4 - description: The GitHub release URL of tag v2.0.4. + value: https://github.com/python-thread/thread/releases/tag/v2.0.5 + description: The GitHub release URL of tag v2.0.5. - type: url - value: https://pypi.org/project/thread/2.0.4 - description: The PyPI release URL of tag v2.0.4. + value: https://pypi.org/project/thread/2.0.5 + description: The PyPI release URL of tag v2.0.5. cff-version: 1.2.0 date-released: 2024-03-07 keywords: @@ -32,5 +32,5 @@ repository-code: https://github.com/python-thread/thread repository-artifact: https://pypi.org/project/thread title: thread type: software -version: 2.0.4 +version: 2.0.5 url: https://thread.ngjx.org diff --git a/docs/src/pages/_meta.json b/docs/src/pages/_meta.json index 7484219..f3aec35 100644 --- a/docs/src/pages/_meta.json +++ b/docs/src/pages/_meta.json @@ -15,7 +15,7 @@ "type": "menu", "items": { "latest-release": { - "title": "2.0.4 Latest Release", + "title": "2.0.5 Latest Release", "href": "/docs/latest" }, "v1-release": { diff --git a/docs/src/pages/docs/_meta.json b/docs/src/pages/docs/_meta.json index 37390d8..a9465a4 100644 --- a/docs/src/pages/docs/_meta.json +++ b/docs/src/pages/docs/_meta.json @@ -10,6 +10,6 @@ "timestamp": false } }, - "latest": "v2.0.4 Latest", + "latest": "v2.0.5 Latest", "v1": "v1.1.1" } diff --git a/docs/src/pages/docs/index.mdx b/docs/src/pages/docs/index.mdx index cc0800a..4649480 100644 --- a/docs/src/pages/docs/index.mdx +++ b/docs/src/pages/docs/index.mdx @@ -69,7 +69,7 @@ This is a list of all the available releases. >
- Latest v2.0.4 + Latest v2.0.5
This is the latest ***stable*** release. @@ -110,6 +110,17 @@ This is a list of all the available releases. dev + +
+

Release v2.0.5

+

14 July 2024

+
+ stable + +You are viewing the documentation for the `v2.0.5` release.
This is the most recent stable release of `thread`. ## Quick Start diff --git a/docs/src/pages/index.mdx b/docs/src/pages/index.mdx index 7a862e7..b1e784d 100644 --- a/docs/src/pages/index.mdx +++ b/docs/src/pages/index.mdx @@ -1,5 +1,5 @@ --- -title: Thread v2.0.4 +title: Thread v2.0.5 --- import Link from "next/link"; @@ -71,7 +71,7 @@ export function Feature({ Thread -  - v2.0.4 +  - v2.0.5
diff --git a/docs/theme.config.tsx b/docs/theme.config.tsx index 64719ef..c895c58 100644 --- a/docs/theme.config.tsx +++ b/docs/theme.config.tsx @@ -50,7 +50,7 @@ const Head = () => { const { route } = useRouter(); const pageTitle = - route === "/" || !title ? "Thread v2.0.4" : `${title} | Thread v2.0.4`; + route === "/" || !title ? "Thread v2.0.5" : `${title} | Thread v2.0.5`; const socialImage = "https://thread.ngjx.org/socialcard-white.jpg"; return ( @@ -125,7 +125,7 @@ const config: DocsThemeConfig = { const { asPath } = useRouter(); if (asPath !== "/") { return { - titleTemplate: "%s | Thread v2.0.4", + titleTemplate: "%s | Thread v2.0.5", }; } }, diff --git a/poetry.lock b/poetry.lock index e9b8e68..8c5c84c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -13,37 +13,18 @@ files = [ [[package]] name = "exceptiongroup" -version = "1.2.1" +version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" files = [ - {file = "exceptiongroup-1.2.1-py3-none-any.whl", hash = "sha256:5258b9ed329c5bbdd31a309f53cbfb0b155341807f6ff7606a1e801a891b29ad"}, - {file = "exceptiongroup-1.2.1.tar.gz", hash = "sha256:a4785e48b045528f5bfe627b6ad554ff32def154f42372786903b7abcfe1aa16"}, + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, ] [package.extras] test = ["pytest (>=6)"] -[[package]] -name = "importlib-metadata" -version = "7.1.0" -description = "Read metadata from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_metadata-7.1.0-py3-none-any.whl", hash = "sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570"}, - {file = "importlib_metadata-7.1.0.tar.gz", hash = "sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2"}, -] - -[package.dependencies] -zipp = ">=0.5" - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -perf = ["ipython"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy", "pytest-perf (>=0.9.2)", "pytest-ruff (>=0.2.1)"] - [[package]] name = "iniconfig" version = "2.0.0" @@ -57,13 +38,13 @@ files = [ [[package]] name = "packaging" -version = "24.0" +version = "24.1" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, - {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, + {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, + {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, ] [[package]] @@ -151,22 +132,7 @@ files = [ {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] -[[package]] -name = "zipp" -version = "3.19.1" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.8" -files = [ - {file = "zipp-3.19.1-py3-none-any.whl", hash = "sha256:2828e64edb5386ea6a52e7ba7cdb17bb30a73a858f5eb6eb93d8d36f5ea26091"}, - {file = "zipp-3.19.1.tar.gz", hash = "sha256:35427f6d5594f4acf82d25541438348c26736fa9b3afa2754bcd63cdb99d8e8f"}, -] - -[package.extras] -doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"] - [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "8a528c7eb141e419ddc4c5ffeca184a141dd6890ccbdf936eebccf3f22a08e63" +content-hash = "98a6189eb876a41dbd54d0bd72f43981f380f874fdc866e31da449fb7907efaa" diff --git a/pyproject.toml b/pyproject.toml index f7dc33a..705dbed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "thread" -version = "2.0.4" +version = "2.0.5" description = "Threading module extension" authors = ["Alex "] license = "BSD-3-Clause" @@ -30,7 +30,7 @@ classifiers = [ [tool.poetry.urls] Homepage = "https://thread.ngjx.org" -Documentation = "https://thread.ngjx.org/docs/v2.0.4" +Documentation = "https://thread.ngjx.org/docs/v2.0.5" Source = "https://github.com/python-thread/thread" Download = "https://pypi.org/project/thread/#files" "Release Notes" = "https://github.com/python-thread/thread/releases" @@ -42,7 +42,6 @@ thread = "thread.__main__:app" [tool.poetry.dependencies] python = "^3.9" typing-extensions = "^4.9.0" -importlib-metadata = { version = ">=4.4", python = "<3.10" } [tool.poetry.group.dev.dependencies] pytest = ">=7.4.3,<9.0.0" diff --git a/src/thread/__init__.py b/src/thread/__init__.py index 6b92538..3b045e6 100644 --- a/src/thread/__init__.py +++ b/src/thread/__init__.py @@ -1,6 +1,6 @@ """ ## Thread Library -Documentation at https://thread.ngjx.org/docs/2.0.4 +Documentation at https://thread.ngjx.org/docs/2.0.5 --- diff --git a/src/thread/utils/meta.py b/src/thread/utils/meta.py deleted file mode 100644 index b97b851..0000000 --- a/src/thread/utils/meta.py +++ /dev/null @@ -1,9 +0,0 @@ -import sys - -# compatibility for python <3.10 -if sys.version_info < (3, 10): - import importlib_metadata as metadata -else: - from importlib import metadata - -__all__ = ['metadata'] diff --git a/src/thread/version.py b/src/thread/version.py index c902f7a..8f212a2 100644 --- a/src/thread/version.py +++ b/src/thread/version.py @@ -1,4 +1,2 @@ -from .utils.meta import metadata - -__version__ = metadata.version('thread') +__version__ = '2.0.5' __all__ = ['__version__']