mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 15:06:42 +00:00 
			
		
		
		
	✨ Feature: 兼容 Pydantic v2 (#2544)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										18
									
								
								envs/pydantic-v1/pyproject.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								envs/pydantic-v1/pyproject.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| [tool.poetry] | ||||
| name = "nonebot-pydantic-v1" | ||||
| version = "0.1.0" | ||||
| description = "Private pydantic v1 test env for nonebot" | ||||
| authors = ["yanyongyu <yyy@nonebot.dev>"] | ||||
| license = "MIT" | ||||
|  | ||||
| [tool.poetry.dependencies] | ||||
| python = "^3.8" | ||||
|  | ||||
| [tool.poetry.group.dev.dependencies] | ||||
| pydantic = "^1.0.0" | ||||
| nonebot-test = { path = "../test/", develop = false } | ||||
| nonebot2 = { path = "../../", extras = ["all"], develop = true } | ||||
|  | ||||
| [build-system] | ||||
| requires = ["poetry-core"] | ||||
| build-backend = "poetry.core.masonry.api" | ||||
		Reference in New Issue
	
	Block a user