diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30c5836..0e2acdb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Create Release on: push: tags: - - v[0-9]+.[0-9]+.[0-9]+.[0-9]+ + - v[0-9]+.[0-9]+.[0-9]+ jobs: Release: diff --git a/README.md b/README.md index fe86561..8eb2dd4 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,6 @@ poetry run pre-commit install --hook-type pre-commit --hook-type post-checkout ## Version numbering scheme -At this time, the version number of `discord.py-stubs` will follow the version number of `discord.py` it corresponds to and append one more version segment that indicates the sequence of releases for the stubs. For instance, if you are using `discord.py` version `1.3.4`, you would use `discord.py-stubs` version `1.3.4.X` where `X` is an integer. +The **major** and **minor** version numbers of `discord.py-stubs` will match the **major** and **minor** version numbers of the `discord.py` release the stubs represent. For instance, if you are using `discord.py` version `1.6.4`, you would use `discord.py-stubs` version `1.6.X` where `X` is the latest **patch** version of the stubs. Using semver dependency specifications, `discord.py-stubs` version `~1.6` is designed to work with `discord.py` version `~1.6`. + +In addition, `discord.py-stubs` will indicate which versions of the runtime library are compatible through its dependency information (as suggested in PEP-561). diff --git a/poetry.lock b/poetry.lock index fdcb4a3..c3cf705 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2,7 +2,7 @@ name = "aiohttp" version = "3.6.3" description = "Async http client/server framework (asyncio)" -category = "dev" +category = "main" optional = false python-versions = ">=3.5.3" @@ -30,7 +30,7 @@ python-versions = "*" name = "async-timeout" version = "3.0.1" description = "Timeout context manager for asyncio programs" -category = "dev" +category = "main" optional = false python-versions = ">=3.5.3" @@ -46,7 +46,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" name = "attrs" version = "20.2.0" description = "Classes Without Boilerplate" -category = "dev" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" @@ -91,7 +91,7 @@ python-versions = ">=3.6.1" name = "chardet" version = "3.0.4" description = "Universal encoding detector for Python 2 and 3" -category = "dev" +category = "main" optional = false python-versions = "*" @@ -131,7 +131,7 @@ python-versions = ">=2.6, !=3.0.*, !=3.1.*" name = "discord.py" version = "1.6.0" description = "A Python wrapper for the Discord API" -category = "dev" +category = "main" optional = false python-versions = ">=3.5.3" @@ -200,7 +200,7 @@ license = ["editdistance"] name = "idna" version = "2.10" description = "Internationalized Domain Names in Applications (IDNA)" -category = "dev" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" @@ -208,7 +208,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" name = "idna-ssl" version = "1.1.0" description = "Patch ssl.match_hostname for Unicode(idna) domains support" -category = "dev" +category = "main" optional = false python-versions = "*" @@ -277,7 +277,7 @@ python-versions = "*" name = "multidict" version = "4.7.6" description = "multidict implementation" -category = "dev" +category = "main" optional = false python-versions = ">=3.5" @@ -514,7 +514,7 @@ testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", name = "yarl" version = "1.5.1" description = "Yet another URL library" -category = "dev" +category = "main" optional = false python-versions = ">=3.5" @@ -538,7 +538,7 @@ testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake [metadata] lock-version = "1.1" python-versions = "^3.6.1" -content-hash = "c57074852e92fcb08c040b4217bf9adf9dc435f1644ced068a30eaec4e53f305" +content-hash = "1ddfebfff0dacc24411a95973246b29bcbf349ad1ab454db3bcd2662475c9009" [metadata.files] aiohttp = [ diff --git a/pyproject.toml b/pyproject.toml index d97785a..6c485e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "discord.py-stubs" -version = "1.6.0.3dev0" +version = "1.6.1dev0" description = "discord.py stubs" homepage = "https://github.com/bryanforbes/discord.py-stubs" authors = ["Bryan Forbes "] @@ -17,12 +17,12 @@ classifiers = [ [tool.poetry.dependencies] python = "^3.6.1" +"discord.py" = "~1.6.0" mypy = ">=0.782" typing-extensions = "^3.7.4" [tool.poetry.dev-dependencies] black = "^20.8b1" -"discord.py" = "^1.6.0" flake8 = "^3.8.4" flake8-pyi = "^20.10.0" isort = "^5.7.0"