Set specific revision for py-cord and update installation command

Pinned py-cord dependency to a specific commit to ensure consistency and avoid unintended changes. Simplified the pip installation command for prerelease versions in the README.
This commit is contained in:
2025-04-23 18:52:02 +02:00
parent c8734547f7
commit 4a2a5f4548
3 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ Built on:
## Installation ## Installation
```bash ```bash
pip install discord-progress-bar --prerelease=allow pip install discord-progress-bar --pre
``` ```
<!-- prettier-ignore --> <!-- prettier-ignore -->

View File

@@ -148,4 +148,4 @@ extend-ignore = [
] ]
[tool.uv.sources] [tool.uv.sources]
py-cord = { git = "https://github.com/Pycord-Development/pycord" } py-cord = { git = "https://github.com/Pycord-Development/pycord", rev = "ae38322ca2bee850f3d05b0cbe80835a9e990986" }

4
uv.lock generated
View File

@@ -120,7 +120,7 @@ dev = [
requires-dist = [ requires-dist = [
{ name = "aiofile", specifier = ">=3.9.0" }, { name = "aiofile", specifier = ">=3.9.0" },
{ name = "aiohttp", specifier = ">=3.11.18" }, { name = "aiohttp", specifier = ">=3.11.18" },
{ name = "py-cord", git = "https://github.com/Pycord-Development/pycord" }, { name = "py-cord", git = "https://github.com/Pycord-Development/pycord?rev=ae38322ca2bee850f3d05b0cbe80835a9e990986" },
] ]
[package.metadata.requires-dev] [package.metadata.requires-dev]
@@ -235,7 +235,7 @@ wheels = [
[[package]] [[package]]
name = "py-cord" name = "py-cord"
version = "2.6.1.dev233+gae38322c" version = "2.6.1.dev233+gae38322c"
source = { git = "https://github.com/Pycord-Development/pycord#ae38322ca2bee850f3d05b0cbe80835a9e990986" } source = { git = "https://github.com/Pycord-Development/pycord?rev=ae38322ca2bee850f3d05b0cbe80835a9e990986#ae38322ca2bee850f3d05b0cbe80835a9e990986" }
dependencies = [ dependencies = [
{ name = "aiohttp" }, { name = "aiohttp" },
{ name = "typing-extensions" }, { name = "typing-extensions" },