he0119 / CoolQBot

基于 NoneBot2 的聊天机器人
MIT License
88 stars 22 forks source link

chore(deps): update all non-major dependencies #589

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eorzeaenv ^2.2.8 -> ^2.2.9 age adoption passing confidence
freezegun (changelog) ^1.2.2 -> ^1.5.1 age adoption passing confidence
matplotlib ^3.7.1 -> ^3.9.0 age adoption passing confidence
nb-cli (source) ^1.4.0 -> ^1.4.1 age adoption passing confidence
nonebot-adapter-dodo ^0.2.0 -> ^0.2.1 age adoption passing confidence
nonebot-adapter-kaiheila ^0.3.1 -> ^0.3.4 age adoption passing confidence
nonebot-adapter-onebot (source) ^2.4.2 -> ^2.4.3 age adoption passing confidence
nonebot-adapter-qq ^1.4.2 -> ^1.4.4 age adoption passing confidence
nonebot-adapter-satori ^0.11.4 -> ^0.12.3 age adoption passing confidence
nonebot-plugin-alconna ^0.45.3 -> ^0.47.1 age adoption passing confidence
nonebot-plugin-bawiki 0.11.2 -> 0.11.3 age adoption passing confidence
nonebot-plugin-datastore ^1.2.0 -> ^1.3.0 age adoption passing confidence
nonebot-plugin-orm ^0.7.1 -> ^0.7.3 age adoption passing confidence
nonebot-plugin-send-anything-anywhere ^0.6.0 -> ^0.6.1 age adoption passing confidence
nonebot-plugin-wordcloud ^0.7.0 -> ^0.7.2 age adoption passing confidence
nonebot2 (source, changelog) ^2.3.0 -> ^2.3.1 age adoption passing confidence
nonebug (source) ^0.3.3 -> ^0.3.7 age adoption passing confidence
nonebug-saa ^0.4.0 -> ^0.4.1 age adoption passing confidence
poetry-core >=1.0.0 -> >=1.9.0 age adoption passing confidence
pydantic (changelog) ^2.6.3 -> ^2.7.4 age adoption passing confidence
pytest-asyncio (changelog) ^0.23.3 -> ^0.23.7 age adoption passing confidence
pytest-mock (changelog) ^3.6.1 -> ^3.14.0 age adoption passing confidence
pytest-xdist (changelog) ^3.0.2 -> ^3.6.1 age adoption passing confidence

Release Notes

nonebot/adapter-satori (nonebot-adapter-satori) ### [`v0.12.3`](https://togithub.com/nonebot/adapter-satori/releases/tag/v0.12.3): Adapter Satori 0.12.3 [Compare Source](https://togithub.com/nonebot/adapter-satori/compare/v0.12.2...v0.12.3) - 修复 pydantic v1 兼容问题 **Full Changelog**: https://github.com/nonebot/adapter-satori/compare/v0.12.2...v0.12.3 ### [`v0.12.2`](https://togithub.com/nonebot/adapter-satori/releases/tag/v0.12.2) [Compare Source](https://togithub.com/nonebot/adapter-satori/compare/v0.12.1...v0.12.2) **Full Changelog**: https://github.com/nonebot/adapter-satori/compare/v0.12.1...v0.12.2 ### [`v0.12.1`](https://togithub.com/nonebot/adapter-satori/releases/tag/v0.12.1) [Compare Source](https://togithub.com/nonebot/adapter-satori/compare/v0.12.0...v0.12.1) **Full Changelog**: https://github.com/nonebot/adapter-satori/compare/v0.12.0...v0.12.1 ### [`v0.12.0`](https://togithub.com/nonebot/adapter-satori/releases/tag/v0.12.0): Adapter Satori 0.12.0 [Compare Source](https://togithub.com/nonebot/adapter-satori/compare/v0.11.5...v0.12.0) 该版本实现了 satori 协议 v1.1 版本的新增特性 **Full Changelog**: https://github.com/nonebot/adapter-satori/compare/v0.11.5...v0.12.0
nonebot/plugin-alconna (nonebot-plugin-alconna) ### [`v0.47.1`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.47.1): Nonebot Plugin Alconna 0.47.1 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.47.0...v0.47.1) - 修复导入插件时提示 `adapter satori: no module xxxxxxxxx` 的问题 **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.47.0...v0.47.1 ### [`v0.47.0`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.47.0): Nonebot Plugin Alconna 0.47.0 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.46.6...v0.47.0) #### 新增 - `UniMessage.filter` 方法,在筛选元素类型的同时可以传入自定义判断条件函数 - `patch_matcher_send` 方法,可以将 `matcher.send` 替换为经过 UniMessage 翻译过一次后再发送的情况(例如 ob11 -> uni -> satori) - `help` 插件会根据 alc 命令对应的插件的元数据中的适配器支持条目来选择是否在 help 内显示该指令 #### 改进 - `echo` 插件使用了 `ReplyMergeExtension`,即可以通过回复消息并只输入 `echo` 来执行: ![屏幕截图 2024-06-18 000545](https://togithub.com/nonebot/plugin-alconna/assets/42648639/aba2e60e-376c-4a9d-82e0-7e0f7377dc36) - 升级 `Tarina` 至 0.5.4 - `builtin.uniseg.chronocat` 改为 `builtin.uniseg.market_face`, 并实现了现有适配器中关于商城表情的相关解析 - `patch_matcher_send` 和 `patch_saa` 会返回一个 `dispose` 函数,用于还原 patch 行为 - 现在 `AlconnaMatcher` 和 `AlconnaRule` 对 Alconna 都是弱引用 **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.46.6...v0.47.0 ### [`v0.46.6`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.46.6): Nonebot Plugin Alconna 0.46.6 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.46.5...v0.46.6) #### What's Changed - 🐛 support Satori 0.12 by [@​shoucandanghehe](https://togithub.com/shoucandanghehe) in [https://github.com/nonebot/plugin-alconna/pull/53](https://togithub.com/nonebot/plugin-alconna/pull/53) **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.46.5...v0.46.6 ### [`v0.46.5`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.46.5): Nonebot Plugin Alconna 0.46.5 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.46.4...v0.46.5) #### What's Changed - 给 `ReplyMergeExtension` 增加构造参数 `sep`, 用来指定拼接时的间隔字符 - 升级依赖,`Command` 现在可用 `.config` 方法配置 CommandMeta - 更新内置插件 `lang` - :arrow_up: auto update by pre-commit hooks by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in [https://github.com/nonebot/plugin-alconna/pull/51](https://togithub.com/nonebot/plugin-alconna/pull/51) **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.46.4...v0.46.5 ### [`v0.46.4`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.46.4): Nonebot Plugin Alconna 0.46.4 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.46.3...v0.46.4) - 为 `MarkdownExtension` 增加一个 `text_to_image` 的参数,用来渲染md为图片 - `help` 指令增加 `--plugin-info` 选项,用来输出指令对应的插件信息: ![image](https://togithub.com/nonebot/plugin-alconna/assets/42648639/6d145ca0-2893-429e-a8e5-32fbd10d5d14) **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.46.3...v0.46.4 ### [`v0.46.3`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.46.3): Nonebot Plugin Alconna 0.46.3 - 增加 `ReplyMergeExtension`, 其可以将回复的原消息合并到当前消息作为一部分参数: ```python from nonebot_plugin_alconna.builtins.extensions.reply import ReplyMergeExtension preview = Command("preview ", "预览").build(auto_send_output=True, extensions=[ReplyMergeExtension()]) @​preview.handle() async def preview_h(content): await preview.finish("rendering preview: " + content) ``` 03ecceef1683874e924ef7a9f12762e9 **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.46.1...v0.46.3 ### [`v0.46.1`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.46.1): Nonebot Plugin Alconna 0.46.1 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.46.0...v0.46.1) #### 改进 - `Command` 构造器可以在初始化时传入 CommandMeta - `fallback` 现在改为 `FallbackStrategy`, 可以选择`ignore`, `text`, `rollback` 和 `forbid`; 之前的 `True` 表示为 `text` - `AlconnaMatcher` 里的 `fallback` 现在默认为 `ignore` - `UniMessage` 里的 `fallback` 现在默认为 `rollback` - 在 qq 适配器中 `mention` 和 `mention_everyone` 现在会暂时返回空格 #### 修复 - 修复 `Reference` 的构造问题 **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.46.0...v0.46.1 ### [`v0.46.0`](https://togithub.com/nonebot/plugin-alconna/releases/tag/v0.46.0): Nonebot Plugin Alconna 0.46.0 [Compare Source](https://togithub.com/nonebot/plugin-alconna/compare/v0.45.4...v0.46.0) #### 新增 - 适配器 [Mirai(官方)](https://togithub.com/nonebot/adapter-mirai) - 适配器 [TailChat](https://togithub.com/eya46/nonebot-adapter-tailchat) - `Text` 新增 `.bold()`, `.italic()` 等一系列便捷方法 - 新增 `I18n` 通用消息段(在发送前会转为 UniMessage) - `AlconnaMatcher` 新增 `.i18n()` 方法,与 `I18n` 作用相同 - 新增内置插件 `lang`,可以切换或列出可用的语言模式 #### 改进 - 升级 `Tarina` 至 0.5.0 以使用 tarina-lang 新特性 #### i18n 说明 plugin-alconna 的 i18n 支持基于 [`tarina.lang`](https://togithub.com/ArcletProject/Tarina/tree/main/src/tarina/lang),其提供了一个 tarina-lang 命令行工具 首先可以通过 `tarina-lang new` 创建文件夹 `i18n` 之后使用 `cd ./i18n` 和 `tarina-lang init`,会生成如下文件: ```diff 📦 awesome-bot ├──📂 i18n ++ ├── __init__.py ++ ├── .config.json ++ ├── .template.json ++ └── .template.schema.json ├── xxx.py └── ... ``` 你需要将你语言文件中所有包含的项目声明在 `.template.json` 中,例如: ```json { "$schema": ".template.schema.json", "scopes" : [ { "scope": "example", "types": [ "test", { "subtype": "test1", "types": [ "test2" ] } ] } ] } ``` 然后通过 `tarina-lang schema` 和 `tarina-lang create XXX` 来创建新的语言文件。以下为使用命令创建 `en-US` 和 `zh-CN` 语言文件后的文件结构: ```diff 📦 awesome-bot ├──📂 i18n │ ├── __init__.py │ ├── .config.json ++ ├── .lang.schema.json │ ├── .template.json │ ├── .template.schema.json ++ ├── en-US.json ++ └── zh-CN.json ├── plugin.py └── ... ``` 其中一个语言文件如下所示: ```json5 // en-US.json { "$schema": "./.lang.schema.json", "example": { "test": "Test", "test1": { "test2": "Test2" } } } ``` > \[!NOTE] > `tarina-lang` 支持创建和读取 YAML 格式的语言文件。当然首先你需要额外安装 `tarina[yaml]` > > 然后通过 `tarina-lang create XXX --yaml` 创建 `.yml` 文件 > > 一个 yaml 格式的语言文件如下所示: ```yaml ### $schema: .lang.schema.json example: test: Test test1: test2: Test2 ``` 之后,在 `plugin` 里面,你可以用如下方法来使用i18n条目: ```python from .i18n import lang ... async def _(): await matcher.send(lang.require("example", "test")) # Test await matcher.send(lang.require("example", "test1.test2")) # Test2 ``` 高级一点,你可以通过 `tarina-lang model` 来生成一个模型文件: ```diff 📦 awesome-bot ├──📂 i18n │ ├── __init__.py │ ├── .config.json │ ├── .lang.schema.json │ ├── .template.json │ ├── .template.schema.json │ ├── en-US.json ++ ├── model.py │ └── zh-CN.json ├── plugin.py └── ... ``` 其中 `model.py`: ```python from tarina.lang.model import LangItem, LangModel class ExampleTest1: test2: LangItem = LangItem("example", "test1.test2") class Example: test: LangItem = LangItem("example", "test") test1: ExampleTest1 class Lang(LangModel): example = Example ``` 之后便可以这样使用: ```python from .i18n import Lang ... async def _(): await matcher.send(Lang.example.test()) ### 如果你的条目是模板字符串,你可以使用 Lang.example.test(...) await matcher.send(Lang.example.test1.test2()) ``` 基于此,`I18n` 和 `AlconnaMatcher.i18n` 可以如下使用: ```python await AlconnaMatcher.send(UniMessage.i18n(Lang.example.test, ...)) await AlconnaMatcher.send(UniMessage.i18n("example", "test", ...)) await AlconnaMatcher.send(AlconnaMatcher.i18n(Lang.example.test1.test2, ...)) await AlconnaMatcher.send(AlconnaMatcher.i18n("example", "test1.test2", ...)) ``` > \[!NOTE] > 在 `plugin-alconna` 中, i18n 条目会先被转换成 UniMessageTemplate > 所以 UniMessageTemplate 的所有特性都可用于 i18n 条目 > 例如: ```python ### example.test: "{:At(user, $event.get_user_id())} Hello!" await XXX.send(XXX.i18n("example", "test")) ``` > 特别的,因为 `I18n` 是一个通用消息段,所以 i18n 条目可以嵌套: ```json { "example": { "test": "XXXX", "foo": "{:I18n(example, test)}, XXXX!" } } ``` **Full Changelog**: https://github.com/nonebot/plugin-alconna/compare/v0.45.4...v0.46.0
lgc2333/nonebot-plugin-bawiki (nonebot-plugin-bawiki) ### [`v0.11.3`](https://togithub.com/lgc-NB2Dev/nonebot-plugin-bawiki/releases/tag/v0.11.3) [Compare Source](https://togithub.com/lgc2333/nonebot-plugin-bawiki/compare/v0.11.2...v0.11.3) **Full Changelog**: https://github.com/lgc-NB2Dev/nonebot-plugin-bawiki/compare/v0.11.2...v0.11.3
python-poetry/poetry-core (poetry-core) ### [`v1.9.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#190---2024-02-02) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.8.1...1.9.0) ##### Added - Add a `to` key in `tool.poetry.packages` to allow custom subpackage names ([#​672](https://togithub.com/python-poetry/poetry-core/pull/672)). - Add support for path dependencies that do not define a build system ([#​675](https://togithub.com/python-poetry/poetry-core/pull/675)). - Add a `tool.poetry.package-mode` key to support non-package mode ([#​661](https://togithub.com/python-poetry/poetry-core/pull/661)). ##### Changed - Update list of supported licenses ([#​659](https://togithub.com/python-poetry/poetry-core/pull/659), [#​669](https://togithub.com/python-poetry/poetry-core/pull/669), [#​678](https://togithub.com/python-poetry/poetry-core/pull/678), [#​694](https://togithub.com/python-poetry/poetry-core/pull/694)). - Improve support for PEP 691 JSON-based Simple API ([#​664](https://togithub.com/python-poetry/poetry-core/pull/664)). - Establish zipapp compatibility ([#​670](https://togithub.com/python-poetry/poetry-core/pull/670)). - Rework list of files included in build artifacts ([#​666](https://togithub.com/python-poetry/poetry-core/pull/666)). - Improve performance by treating collections in packages as immutable ([#​663](https://togithub.com/python-poetry/poetry-core/pull/663)). - Deprecate `poetry.core.masonry.builder` ([#​682](https://togithub.com/python-poetry/poetry-core/pull/682)). - Deprecate scripts that depend on extras ([#​690](https://togithub.com/python-poetry/poetry-core/pull/690)). ##### Fixed - Fix an issue where insignificant errors were printed if the working directory is not inside a git repository ([#​684](https://togithub.com/python-poetry/poetry-core/pull/684)). - Fix an issue where the project's directory was not recognized as git repository on Windows due to an encoding issue ([#​685](https://togithub.com/python-poetry/poetry-core/pull/685)). ##### Vendoring - [`fastjsonschema==2.19.1`](https://togithub.com/horejsek/python-fastjsonschema/blob/master/CHANGELOG.txt) - [`lark==1.1.8`](https://togithub.com/lark-parser/lark/releases/tag/1.1.9) ### [`v1.8.1`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#181---2023-10-31) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.8.0...1.8.1) ##### Fixed - Fix an issue where git URLs starting with `git+` could not be parsed anymore ([#​657](https://togithub.com/python-poetry/poetry-core/pull/657)). ### [`v1.8.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#180---2023-10-31) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.7.0...1.8.0) ##### Added - Add `3.12` to the list of available Python versions ([#​631](https://togithub.com/python-poetry/poetry-core/pull/631)). - Add support for creating packages dynamically in the build script ([#​629](https://togithub.com/python-poetry/poetry-core/pull/629)). ##### Changed - Improve marker logic for `extra` markers ([#​636](https://togithub.com/python-poetry/poetry-core/pull/636)). - Update list of supported licenses ([#​635](https://togithub.com/python-poetry/poetry-core/pull/635), [#​646](https://togithub.com/python-poetry/poetry-core/pull/646)). - Deprecate `Dependency.transitive_python_versions` ([#​648](https://togithub.com/python-poetry/poetry-core/pull/648)). - Deprecate `Dependency.transitive_python_constraint` ([#​649](https://togithub.com/python-poetry/poetry-core/pull/649)). ##### Fixed - Fix an issue where projects with extension modules were not installed in editable mode ([#​633](https://togithub.com/python-poetry/poetry-core/pull/633)). - Fix an issue where the wrong or no `lib` folder was added to the wheel ([#​634](https://togithub.com/python-poetry/poetry-core/pull/634)). ##### Vendoring - Replace [`jsonschema`](https://togithub.com/python-jsonschema/jsonschema) with [`fastjsonschema`](https://togithub.com/horejsek/python-fastjsonschema). - [`lark==1.1.8`](https://togithub.com/lark-parser/lark/releases/tag/1.1.8) - [`packaging==23.2`](https://togithub.com/pypa/packaging/blob/main/CHANGELOG.rst) ### [`v1.7.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#170---2023-08-20) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.6.1...1.7.0) ##### Added - Optionally use resolved references when converting a VCS dependency to a PEP 508 dependency specification ([#​603](https://togithub.com/python-poetry/poetry-core/pull/603)). - Improve performance of marker handling ([#​609](https://togithub.com/python-poetry/poetry-core/pull/609)). ##### Changed - Drop support for Python 3.7 ([#​566](https://togithub.com/python-poetry/poetry-core/pull/566)). - Remove deprecated `poetry.core.constraints.generic` and `poetry.core.semver` ([#​601](https://togithub.com/python-poetry/poetry-core/pull/601)). - Allow `|` as a value separator in markers with the operators `in` and `not in` ([#​608](https://togithub.com/python-poetry/poetry-core/pull/608)). - Put pretty name (instead of normalized name) in metadata ([#​620](https://togithub.com/python-poetry/poetry-core/pull/620)). - Update list of supported licenses ([#​623](https://togithub.com/python-poetry/poetry-core/pull/623)). ##### Fixed - Fix an issue where the encoding was not handled correctly when calling a subprocess ([#​602](https://togithub.com/python-poetry/poetry-core/pull/602)). - Fix an issue where caret constraints with additional whitespace could not be parsed ([#​606](https://togithub.com/python-poetry/poetry-core/pull/606)). - Fix an issue where PEP 508 dependency specifications with names starting with a digit could not be parsed ([#​607](https://togithub.com/python-poetry/poetry-core/pull/607)). - Fix an issue where Poetry considered an unrelated `.gitignore` file resulting in an empty wheel ([#​611](https://togithub.com/python-poetry/poetry-core/pull/611)). ##### Vendoring - [`lark==1.1.7`](https://togithub.com/lark-parser/lark/releases/tag/1.1.7) ### [`v1.6.1`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#161---2023-05-29) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.6.0...1.6.1) ##### Fixed - Fix an endless recursion in marker handling ([#​593](https://togithub.com/python-poetry/poetry-core/pull/593)). - Fix an issue where the wheel tag was not built correctly under certain circumstances ([#​591](https://togithub.com/python-poetry/poetry-core/pull/591)). - Fix an issue where the tests included in the sdist failed due to missing files ([#​589](https://togithub.com/python-poetry/poetry-core/pull/589)). ### [`v1.6.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#160---2023-05-14) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.5.2...1.6.0) ##### Added - Improve error message for invalid markers ([#​569](https://togithub.com/python-poetry/poetry-core/pull/569)). - Increase robustness when deleting temporary directories on Windows ([#​460](https://togithub.com/python-poetry/poetry-core/pull/460)). - Add support for file dependencies with subdirectories ([#​467](https://togithub.com/python-poetry/poetry-core/pull/467)). ##### Changed - Replace `tomlkit` with `tomli`, which changes the interface of some *internal* classes ([#​483](https://togithub.com/python-poetry/poetry-core/pull/483)). - Deprecate `Package.category` ([#​561](https://togithub.com/python-poetry/poetry-core/pull/561)). ##### Fixed - Fix a performance regression in marker handling ([#​568](https://togithub.com/python-poetry/poetry-core/pull/568)). - Fix an issue where wildcard version constraints were not handled correctly ([#​402](https://togithub.com/python-poetry/poetry-core/pull/402)). - Fix an issue where `poetry build` created duplicate Python classifiers if they were specified manually ([#​578](https://togithub.com/python-poetry/poetry-core/pull/578)). - Fix an issue where local versions where not handled correctly ([#​579](https://togithub.com/python-poetry/poetry-core/pull/579)). ##### Vendoring - [`attrs==23.1.0`](https://togithub.com/python-attrs/attrs/blob/main/CHANGELOG.md) - [`packaging==23.1`](https://togithub.com/pypa/packaging/blob/main/CHANGELOG.rst) - [`tomli==2.0.1`](https://togithub.com/hukkin/tomli/blob/master/CHANGELOG.md) - [`typing-extensions==4.5.0`](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md) ### [`v1.5.2`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#152---2023-03-13) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.5.1...1.5.2) ##### Fixed - Fix an issue where wheels built on Windows could contain duplicate entries in the RECORD file ([#​555](https://togithub.com/python-poetry/poetry-core/pull/555)). ### [`v1.5.1`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#151---2023-02-20) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.5.0...1.5.1) ##### Changed - Improve performance by caching parsed markers, constraints and versions ([#​556](https://togithub.com/python-poetry/poetry-core/pull/556)). ### [`v1.5.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#150---2023-01-27) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.4.0...1.5.0) ##### Added - Improve marker handling ([#​528](https://togithub.com/python-poetry/poetry-core/pull/528), [#​534](https://togithub.com/python-poetry/poetry-core/pull/534), [#​530](https://togithub.com/python-poetry/poetry-core/pull/530), [#​546](https://togithub.com/python-poetry/poetry-core/pull/546), [#​547](https://togithub.com/python-poetry/poetry-core/pull/547)). - Allow overriding the output directory when building dist files ([#​527](https://togithub.com/python-poetry/poetry-core/pull/527)). - Validate whether dependencies referenced in `extras` are defined in the main dependency group ([#​542](https://togithub.com/python-poetry/poetry-core/pull/542)). - Improve handling of generic constraints ([#​515](https://togithub.com/python-poetry/poetry-core/pull/515)). ##### Changed - Deprecate the hash function of `FileDependency` ([#​535](https://togithub.com/python-poetry/poetry-core/pull/535)). - Do not set `allows_preleases` implicitly anymore if the lower bound of a constraint is a pre-release ([#​543](https://togithub.com/python-poetry/poetry-core/pull/543)). - Poetry no longer generates a `setup.py` file in sdists by default ([#​318](https://togithub.com/python-poetry/poetry-core/pull/318)). - Remove the unused `platform` attribute from `Package` ([#​548](https://togithub.com/python-poetry/poetry-core/pull/548)). - Deprecate the `pretty_version` parameter when creating a `Package` ([#​549](https://togithub.com/python-poetry/poetry-core/pull/549)). - Validate path dependencies during use instead of during construction ([#​520](https://togithub.com/python-poetry/poetry-core/pull/520)). ##### Fixed - Fix an issue where the PEP 517 `metadata_directory` was not respected when building an editable wheel ([#​537](https://togithub.com/python-poetry/poetry-core/pull/537)). - Fix an issue where trailing newlines were allowed in `tool.poetry.description` ([#​505](https://togithub.com/python-poetry/poetry-core/pull/505)). - Fix an issue where the name of the data folder in wheels was not normalized ([#​532](https://togithub.com/python-poetry/poetry-core/pull/532)). - Fix an issue where the order of entries in the RECORD file was not deterministic ([#​545](https://togithub.com/python-poetry/poetry-core/pull/545)). - Fix an issue where parsing of VCS URLs with escaped characters failed ([#​524](https://togithub.com/python-poetry/poetry-core/pull/524)). - Fix an issue where the subdirectory parameter of VCS URLs was not respected ([#​518](https://togithub.com/python-poetry/poetry-core/pull/518)). - Fix an issue where zero padding was not correctly handled in version comparisons ([#​540](https://togithub.com/python-poetry/poetry-core/pull/540)). - Fix an issue where sdist builds did not support multiple READMEs ([#​486](https://togithub.com/python-poetry/poetry-core/pull/486)). ##### Vendoring - [`attrs==22.2.0`](https://togithub.com/python-attrs/attrs/blob/main/CHANGELOG.md) - [`jsonschema==4.17.3`](https://togithub.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst) - [`lark==1.1.5`](https://togithub.com/lark-parser/lark/releases/tag/1.1.5) - [`packaging==23.0`](https://togithub.com/pypa/packaging/blob/main/CHANGELOG.rst) - [`pyrsistent==0.19.3`](https://togithub.com/tobgu/pyrsistent/blob/master/CHANGES.txt) ### [`v1.4.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#140---2022-11-22) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.3.2...1.4.0) ##### Added - The PEP 517 `metadata_directory` is now respected as an input to the `build_wheel` hook ([#​487](https://togithub.com/python-poetry/poetry-core/pull/487)). ##### Changed - Sources are now considered more carefully when dealing with dependencies with environment markers ([#​497](https://togithub.com/python-poetry/poetry-core/pull/497)). - `EmptyConstraint` is now hashable ([#​513](https://togithub.com/python-poetry/poetry-core/pull/513)). - `ParseConstraintError` is now raised on version and constraint parsing errors, and includes information on the package that caused the error ([#​514](https://togithub.com/python-poetry/poetry-core/pull/514)). ##### Fixed - Fix an issue where invalid PEP 508 requirements were generated due to a missing space before semicolons ([#​510](https://togithub.com/python-poetry/poetry-core/pull/510)). - Fix an issue where relative paths were encoded into package requirements, instead of a file:// URL as required by PEP 508 ([#​512](https://togithub.com/python-poetry/poetry-core/pull/512)). ##### Vendoring - [`jsonschema==4.17.0`](https://togithub.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst) - [`lark==1.1.4`](https://togithub.com/lark-parser/lark/releases/tag/1.1.4) - [`pyrsistent==0.19.2`](https://togithub.com/tobgu/pyrsistent/blob/master/CHANGES.txt) - [`tomlkit==0.11.6`](https://togithub.com/sdispater/tomlkit/blob/master/CHANGELOG.md) - [`typing-extensions==4.4.0`](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md) ### [`v1.3.2`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#132---2022-10-07) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.3.1...1.3.2) ##### Fixed - Fix an issue where the normalization was not applied to the path of an sdist built using a PEP 517 frontend ([#​495](https://togithub.com/python-poetry/poetry-core/pull/495)). ### [`v1.3.1`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#131---2022-10-05) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.3.0...1.3.1) ##### Fixed - Fix an issue where a typing-driven assertion could be false at runtime, causing a failure during prepare_metadata_for_build_wheel ([#​492](https://togithub.com/python-poetry/poetry-core/pull/492)). ### [`v1.3.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#130---2022-10-05) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.2.0...1.3.0) ##### Added - Add `3.11` to the list of available Python versions ([#​477](https://togithub.com/python-poetry/poetry-core/pull/477)). ##### Changed - Deprecate `poetry.core.constraints.generic`, which is replaced by `poetry.core.packages.constraints` ([#​482](https://togithub.com/python-poetry/poetry-core/pull/482)). - Deprecate `poetry.core.semver`, which is replaced by `poetry.core.constraints.version` ([#​482](https://togithub.com/python-poetry/poetry-core/pull/482)). ##### Fixed - Fix an issue where versions were escaped wrongly when building the wheel name ([#​469](https://togithub.com/python-poetry/poetry-core/pull/469)). - Fix an issue where caret constraints of pre-releases with a major version of 0 resulted in an empty version range ([#​475](https://togithub.com/python-poetry/poetry-core/pull/475)). - Fix an issue where the names of extras were not normalized according to PEP 685 ([#​476](https://togithub.com/python-poetry/poetry-core/pull/476)). - Fix an issue where sdist names were not normalized ([#​484](https://togithub.com/python-poetry/poetry-core/pull/484)). ### [`v1.2.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#120---2022-09-13) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.1.0...1.2.0) ##### Added - Added support for subdirectories in `url` dependencies ([#​398](https://togithub.com/python-poetry/poetry-core/pull/398)). ##### Changed - When setting an invalid version constraint an error is raised instead of silently setting "any version" ([#​461](https://togithub.com/python-poetry/poetry-core/pull/461)). - Allow more characters in author name ([#​411](https://togithub.com/python-poetry/poetry-core/pull/411)). ##### Fixed - Fixed an issue where incorrect `Requires-Dist` information was generated when environment markers where used for optional packages ([#​462](https://togithub.com/python-poetry/poetry-core/pull/462)). - Fixed an issue where incorrect python constraints were parsed from environment markers ([#​457](https://togithub.com/python-poetry/poetry-core/pull/457)). - Fixed the hashing of markers and constraints ([#​466](https://togithub.com/python-poetry/poetry-core/pull/466)). - Fixed an issue where the PEP 508 name of directory dependencies used platform paths ([#​463](https://togithub.com/python-poetry/poetry-core/pull/463)). ### [`v1.1.0`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#110---2022-08-31) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.8...1.1.0) - No functional changes. ### [`v1.0.8`](https://togithub.com/python-poetry/poetry-core/releases/tag/1.0.8) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.7...1.0.8) ##### Added - Add hooks according to PEP-660 for editable installs ([#​257](https://togithub.com/python-poetry/poetry-core/pull/257)). ### [`v1.0.7`](https://togithub.com/python-poetry/poetry-core/releases/tag/1.0.7) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.6...1.0.7) ##### Fixed - Fixed an issue where the wrong `git` executable could be used on Windows. ([#​213](https://togithub.com/python-poetry/poetry-core/pull/213)) - Fixed an issue where the Python 3.10 classifier was not automatically added. ([#​215](https://togithub.com/python-poetry/poetry-core/pull/215)) ### [`v1.0.6`](https://togithub.com/python-poetry/poetry-core/releases/tag/1.0.6) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.5...1.0.6) ##### Added - Added support for more hash types gen generating hashes. ([#​207](https://togithub.com/python-poetry/poetry-core/pull/207)) ### [`v1.0.5`](https://togithub.com/python-poetry/poetry-core/releases/tag/1.0.5) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.4...1.0.5) ##### Fixed - Fixed the copy of `Package` instances which led to file hashes not being available. ([#​193](https://togithub.com/python-poetry/poetry-core/pull/193)) - Fixed an issue where unsafe parameters could be passed to `git` commands. ([#​203](https://togithub.com/python-poetry/poetry-core/pull/203)) - Fixed an issue where the wrong `git` executable could be used on Windows. ([#​205](https://togithub.com/python-poetry/poetry-core/pull/205)) ### [`v1.0.4`](https://togithub.com/python-poetry/poetry-core/releases/tag/1.0.4) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.3...1.0.4) ##### Fixed - Fixed an error in the way python markers with a precision >= 3 were handled. ([#​180](https://togithub.com/python-poetry/poetry-core/pull/180)) - Fixed an error in the evaluation of `in/not in` markers ([#​189](https://togithub.com/python-poetry/poetry-core/pull/189)) ### [`v1.0.3`](https://togithub.com/python-poetry/poetry-core/releases/tag/1.0.3) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.2...1.0.3) ##### Fixed - Fixed an error when handling single-digit Python markers ([#​156](https://togithub.com/python-poetry/poetry-core/pull/156)). - Fixed dependency markers not being properly copied when changing the constraint ([#​163](https://togithub.com/python-poetry/poetry-core/pull/163)). ### [`v1.0.2`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#102---2021-02-05) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.1...1.0.2) ##### Fixed - Fixed a missing import causing an error in Poetry ([#​134](https://togithub.com/python-poetry/poetry-core/pull/134)). ### [`v1.0.1`](https://togithub.com/python-poetry/poetry-core/blob/HEAD/CHANGELOG.md#101---2021-02-05) [Compare Source](https://togithub.com/python-poetry/poetry-core/compare/1.0.0...1.0.1) ##### Fixed - Fixed PEP 508 representation of dependency without extras ([#​102](https://togithub.com/python-poetry/poetry-core/pull/102)). - Fixed an error where development dependencies were being resolved when invoking the PEP-517 backend ([#​101](https://togithub.com/python-poetry/poetry-core/pull/101)). - Fixed source distribution not being deterministic ([#​105](https://togithub.com/python-poetry/poetry-core/pull/105)). - Fixed an error where zip files were left open when building wheels ([#​122](https://togithub.com/python-poetry/poetry-core/pull/122)). - Fixed an error where explicitly included files were still not present in final distributions ([#​124](https://togithub.com/python-poetry/poetry-core/pull/124)). - Fixed wheel filename matching for recent architecture ([#​125](https://togithub.com/python-poetry/poetry-core/pull/125), [#​129](https://togithub.com/python-poetry/poetry-core/pull/129)). - Fixed an error where the `&` character was not accepted for author names ([#​120](https://togithub.com/python-poetry/poetry-core/pull/120)). - Fixed the PEP-508 representation of some dependencies ([#​103](https://togithub.com/python-poetry/poetry-core/pull/103)). - Fixed the `Requires-Python` metadata generation ([#​127](https://togithub.com/python-poetry/poetry-core/pull/127)). - Fixed an error where pre-release versions were accepted in version constraints ([#​128](https://togithub.com/python-poetry/poetry-core/pull/128)).

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.33%. Comparing base (356d9cd) to head (95621a1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #589 +/- ## ======================================= Coverage 81.33% 81.33% ======================================= Files 64 64 Lines 2572 2572 ======================================= Hits 2092 2092 Misses 480 480 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.