17
0

Commit Graph

  • 5798310c1f Accepting request 1072306 from devel:languages:python Dominique Leuenberger 2023-03-17 16:01:00 +00:00
  • 50de6b4337 Accepting request 1072306 from devel:languages:python Dominique Leuenberger 2023-03-17 16:01:00 +00:00
  • 3859f30f38 - Disable DeprecationWarning in tests to avoid error with the latest setuptools and pkg_resources deprecation Daniel Garcia 2023-03-16 07:19:57 +00:00
  • d2e9009a4c - Disable DeprecationWarning in tests to avoid error with the latest setuptools and pkg_resources deprecation Daniel Garcia 2023-03-16 07:19:57 +00:00
  • 9d61d746f4 Accepting request 1055778 from devel:languages:python Dominique Leuenberger 2023-01-04 16:53:14 +00:00
  • 4831e04a97 Accepting request 1055778 from devel:languages:python Dominique Leuenberger 2023-01-04 16:53:14 +00:00
  • 250101fc0c - update to v1.10.4: * Change dependency to typing-extensions>=4.2.0, #4885 by @samuelcolvin * fix parsing of custom root models, #4883 by @gou177 * fix: use dataclass proxy for frozen or empty dataclasses, #4878 by @PrettyWood * Fix schema and schema_json on models where a model instance is a one of default values, #4781 by @Bobronium * Add Jina AI to sponsors on docs index page, #4767 by @samuelcolvin * fix: support assignment on DataclassProxy, #4695 by @PrettyWood * Add postgresql+psycopg as allowed scheme for PostgreDsn to make it usable with SQLAlchemy 2, #4689 by @morian * Allow dict schemas to have both patternProperties and additionalProperties, #4641 by @jparise * Fixes error passing None for optional lists with unique_items, #4568 by @mfulgo * Fix GenericModel with Callable param raising a TypeError, #4551 by @mfulgo * Fix field regex with StrictStr type annotation, #4538 by @sisp * Correct dataclass_transform keyword argument name from field_descriptors to field_specifiers, #4500 by @samuelcolvin * fix: avoid multiple calls of __post_init__ when dataclasses are inherited, #4487 by @PrettyWood * Reduce the size of binary wheels, #2276 by @samuelcolvin Dirk Mueller 2023-01-02 20:23:23 +00:00
  • aabb102902 - update to v1.10.4: * Change dependency to typing-extensions>=4.2.0, #4885 by @samuelcolvin * fix parsing of custom root models, #4883 by @gou177 * fix: use dataclass proxy for frozen or empty dataclasses, #4878 by @PrettyWood * Fix schema and schema_json on models where a model instance is a one of default values, #4781 by @Bobronium * Add Jina AI to sponsors on docs index page, #4767 by @samuelcolvin * fix: support assignment on DataclassProxy, #4695 by @PrettyWood * Add postgresql+psycopg as allowed scheme for PostgreDsn to make it usable with SQLAlchemy 2, #4689 by @morian * Allow dict schemas to have both patternProperties and additionalProperties, #4641 by @jparise * Fixes error passing None for optional lists with unique_items, #4568 by @mfulgo * Fix GenericModel with Callable param raising a TypeError, #4551 by @mfulgo * Fix field regex with StrictStr type annotation, #4538 by @sisp * Correct dataclass_transform keyword argument name from field_descriptors to field_specifiers, #4500 by @samuelcolvin * fix: avoid multiple calls of __post_init__ when dataclasses are inherited, #4487 by @PrettyWood * Reduce the size of binary wheels, #2276 by @samuelcolvin Dirk Mueller 2023-01-02 20:23:23 +00:00
  • 5677243c16 Accepting request 1002215 from devel:languages:python Dominique Leuenberger 2022-09-09 16:28:03 +00:00
  • 44b08cf5ab Accepting request 1002215 from devel:languages:python Dominique Leuenberger 2022-09-09 16:28:03 +00:00
  • 4b1c6e6331 - Update to 1.10.2: * Prevent long (length > 4_300) strings/bytes as input to int fields, see python/cpython#95778 and CVE-2020-10735 * fix: dataclass wrapper was not always called * Use tomllib on Python 3.11 when parsing mypy configuration * Basic fix of GenericModel cache to detect order of arguments in Union models * Fix mypy plugin when using bare types like list and dict as default_factory * Add __hash__ method to pydancic.color.Color class * Refactor the whole pydantic dataclass decorator to really act like its standard lib equivalent. It hence keeps __eq__, __hash__, ... and makes comparison with its non-validated version possible. * Now that Config.extra is supported, dataclass ignores by default extra arguments (like BaseModel) * Fix PEP487 __set_name__ protocol in BaseModel for PrivateAttrs * Allow for custom parsing of environment variables via parse_env_var in Config * Fix StrictStr does not raise ValidationError when max_length is present in Field * Make SecretStr and SecretBytes hashable * Fix StrictBytes does not raise ValidationError when max_length is present in Field * Add support for bare type * Support Python 3.11, including binaries for 3.11 in PyPI * Add support for re.Pattern * Fix __post_init_post_parse__ is incorrectly passed keyword arguments when no __post_init__ is defined * Fix implicitly importing ForwardRef and Callable from pydantic.typing instead of typing and also expose MappingIntStrAny * remove Any types from the dataclass decorator so it can be used with the disallow_any_expr mypy option Steve Kowalik 2022-09-09 00:58:49 +00:00
  • b1114cc366 - Update to 1.10.2: * Prevent long (length > 4_300) strings/bytes as input to int fields, see python/cpython#95778 and CVE-2020-10735 * fix: dataclass wrapper was not always called * Use tomllib on Python 3.11 when parsing mypy configuration * Basic fix of GenericModel cache to detect order of arguments in Union models * Fix mypy plugin when using bare types like list and dict as default_factory * Add __hash__ method to pydancic.color.Color class * Refactor the whole pydantic dataclass decorator to really act like its standard lib equivalent. It hence keeps __eq__, __hash__, ... and makes comparison with its non-validated version possible. * Now that Config.extra is supported, dataclass ignores by default extra arguments (like BaseModel) * Fix PEP487 __set_name__ protocol in BaseModel for PrivateAttrs * Allow for custom parsing of environment variables via parse_env_var in Config * Fix StrictStr does not raise ValidationError when max_length is present in Field * Make SecretStr and SecretBytes hashable * Fix StrictBytes does not raise ValidationError when max_length is present in Field * Add support for bare type * Support Python 3.11, including binaries for 3.11 in PyPI * Add support for re.Pattern * Fix __post_init_post_parse__ is incorrectly passed keyword arguments when no __post_init__ is defined * Fix implicitly importing ForwardRef and Callable from pydantic.typing instead of typing and also expose MappingIntStrAny * remove Any types from the dataclass decorator so it can be used with the disallow_any_expr mypy option Steve Kowalik 2022-09-09 00:58:49 +00:00
  • 184bb573ac Accepting request 990100 from devel:languages:python Dominique Leuenberger 2022-08-08 06:44:54 +00:00
  • e9f49b4aec Accepting request 990100 from devel:languages:python Dominique Leuenberger 2022-08-08 06:44:54 +00:00
  • bf67906633 - Add patch remove-pkg_resources.patch: * Use packaging, not pkg_resources for versions. Steve Kowalik 2022-07-19 09:21:21 +00:00
  • 8bf92eabac - Add patch remove-pkg_resources.patch: * Use packaging, not pkg_resources for versions. Steve Kowalik 2022-07-19 09:21:21 +00:00
  • 61fc7f81fa Accepting request 983628 from devel:languages:python Dominique Leuenberger 2022-06-19 19:10:33 +00:00
  • bedbae5215 Accepting request 983628 from devel:languages:python Dominique Leuenberger 2022-06-19 19:10:33 +00:00
  • a8bc96b8c7 Accepting request 983594 from home:stroeder:python Matej Cepl 2022-06-18 19:21:32 +00:00
  • 42d8dc31ec Accepting request 983594 from home:stroeder:python Matej Cepl 2022-06-18 19:21:32 +00:00
  • d28ccba1a8 Accepting request 950593 from devel:languages:python Dominique Leuenberger 2022-02-03 22:16:14 +00:00
  • a04a35835e Accepting request 950593 from devel:languages:python Dominique Leuenberger 2022-02-03 22:16:14 +00:00
  • 256cc834ee - Skip some truculent tests. - Clean up non-required Python 3.6 {Build,}Requires. Steve Kowalik 2022-02-02 04:14:28 +00:00
  • d10ee4afc5 - Skip some truculent tests. - Clean up non-required Python 3.6 {Build,}Requires. Steve Kowalik 2022-02-02 04:14:28 +00:00
  • e83968e6bd Accepting request 944133 from devel:languages:python Dominique Leuenberger 2022-01-06 14:51:16 +00:00
  • 78b807e844 Accepting request 944133 from devel:languages:python Dominique Leuenberger 2022-01-06 14:51:16 +00:00
  • cdd36c50e2 Accepting request 944129 from home:bnavigator:py310_nonring Steve Kowalik 2022-01-05 23:16:35 +00:00
  • be876b219d Accepting request 944129 from home:bnavigator:py310_nonring Steve Kowalik 2022-01-05 23:16:35 +00:00
  • 60877a4359 Accepting request 892677 from devel:languages:python Dominique Leuenberger 2021-05-15 21:15:56 +00:00
  • 01d1b9fc6b Accepting request 892677 from devel:languages:python Dominique Leuenberger 2021-05-15 21:15:56 +00:00
  • 35d63c53cf Accepting request 892675 from home:mcalabkova:branches:devel:languages:python Markéta Machová 2021-05-13 11:44:17 +00:00
  • 4c78f36333 Accepting request 892675 from home:mcalabkova:branches:devel:languages:python Markéta Machová 2021-05-13 11:44:17 +00:00
  • e4c2cdf56b Accepting request 861664 from devel:languages:python Dominique Leuenberger 2021-01-11 16:11:19 +00:00
  • 817c90dccc Accepting request 861664 from devel:languages:python Dominique Leuenberger 2021-01-11 16:11:19 +00:00
  • 2980a88758 Accepting request 861663 from home:mcalabkova:branches:devel:languages:python Markéta Machová 2021-01-08 13:36:08 +00:00
  • 06a2ba8c68 Accepting request 861663 from home:mcalabkova:branches:devel:languages:python Markéta Machová 2021-01-08 13:36:08 +00:00
  • d4aab483f6 Accepting request 853456 from devel:languages:python Dominique Leuenberger 2020-12-12 19:28:50 +00:00
  • 1ae6810d51 Accepting request 853456 from devel:languages:python Dominique Leuenberger 2020-12-12 19:28:50 +00:00
  • eefd1e9b88 Accepting request 853452 from home:bnavigator:branches:devel:languages:python Matej Cepl 2020-12-07 02:13:16 +00:00
  • 5e75f1a291 Accepting request 853452 from home:bnavigator:branches:devel:languages:python Matej Cepl 2020-12-07 02:13:16 +00:00
  • f7bbcbc24b Accepting request 841235 from devel:languages:python Dominique Leuenberger 2020-10-29 08:47:36 +00:00
  • 26d98847e6 Accepting request 841235 from devel:languages:python Dominique Leuenberger 2020-10-29 08:47:36 +00:00
  • 9829629887 Accepting request 841234 from home:mcalabkova:branches:devel:languages:python:pytest Markéta Machová 2020-10-12 09:00:06 +00:00
  • 3eb984e1e2 Accepting request 841234 from home:mcalabkova:branches:devel:languages:python:pytest Markéta Machová 2020-10-12 09:00:06 +00:00
  • 1ef0b3ea70 Accepting request 824184 from devel:languages:python Dominique Leuenberger 2020-08-04 18:21:50 +00:00
  • c6f919fa6b Accepting request 824184 from devel:languages:python Dominique Leuenberger 2020-08-04 18:21:50 +00:00
  • a7cf5b3f7d Accepting request 824025 from home:jayvdb:py-submit Matej Cepl 2020-08-03 15:45:24 +00:00
  • 435e863477 Accepting request 824025 from home:jayvdb:py-submit Matej Cepl 2020-08-03 15:45:24 +00:00
  • 857f71e6d8 Accepting request 813030 from devel:languages:python Dominique Leuenberger 2020-06-09 22:53:49 +00:00
  • f307c28543 Accepting request 813030 from devel:languages:python Dominique Leuenberger 2020-06-09 22:53:49 +00:00
  • 4da4f1c674 - update to 1.5.1 * Signature generation with extra: allow never uses a field name, #1418 by @prettywood * Avoid mutating Field default value, #1412 by @prettywood Dirk Mueller 2020-06-09 19:24:43 +00:00
  • 56956a35ea - update to 1.5.1 * Signature generation with extra: allow never uses a field name, #1418 by @prettywood * Avoid mutating Field default value, #1412 by @prettywood Dirk Mueller 2020-06-09 19:24:43 +00:00
  • b86091a5b2 Accepting request 795465 from devel:languages:python Dominique Leuenberger 2020-04-21 11:05:44 +00:00
  • 08a555ef77 Accepting request 795465 from devel:languages:python Dominique Leuenberger 2020-04-21 11:05:44 +00:00
  • 2d2e1aa133 Accepting request 795387 from home:mnhauke Tomáš Chvátal 2020-04-19 09:15:51 +00:00
  • 8a6aa16778 Accepting request 795387 from home:mnhauke Tomáš Chvátal 2020-04-19 09:15:51 +00:00
  • f3402b817c Accepting request 786483 from devel:languages:python Dominique Leuenberger 2020-03-19 18:53:17 +00:00
  • 1208f09806 Accepting request 786483 from devel:languages:python Dominique Leuenberger 2020-03-19 18:53:17 +00:00
  • 83bc55a86a Accepting request 786480 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-03-19 13:37:43 +00:00
  • e1f58bd5a9 Accepting request 786480 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-03-19 13:37:43 +00:00
  • e79e4f9946 Accepting request 732119 from devel:languages:python Dominique Leuenberger 2019-09-23 10:37:58 +00:00
  • 7bcee6aff3 Accepting request 732119 from devel:languages:python Dominique Leuenberger 2019-09-23 10:37:58 +00:00
  • afb20ae79e - Format with spec-cleaner Tomáš Chvátal 2019-09-20 09:57:08 +00:00
  • c2715eeeb5 - Format with spec-cleaner Tomáš Chvátal 2019-09-20 09:57:08 +00:00
  • 996be1231d Accepting request 732025 from home:mnhauke Tomáš Chvátal 2019-09-20 09:56:46 +00:00
  • e9f8123248 Accepting request 732025 from home:mnhauke Tomáš Chvátal 2019-09-20 09:56:46 +00:00