You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/faq.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -82,26 +82,26 @@ git revert --no-commit <SHA>
82
82
git commit -m "revert: foo bar"
83
83
```
84
84
85
-
## I got `Exception [WinError 995] The I/O operation ...` error
86
-
87
-
This error was caused by a Python bug on Windows. It's been fixed by [this PR](https://github.com/python/cpython/pull/22017), and according to Python's changelog, [3.8.6rc1](https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-6-release-candidate-1) and [3.9.0rc2](https://docs.python.org/3.9/whatsnew/changelog.html#python-3-9-0-release-candidate-2) should be the accurate versions first contain this fix. In conclusion, upgrade your Python version might solve this issue.
88
-
89
-
More discussion can be found in issue [#318](https://github.com/commitizen-tools/commitizen/issues/318).
90
-
91
85
## Why don't we use Pydantic?
92
86
93
87
While Pydantic is a powerful and popular library for data validation, we intentionally avoid using it in this project to keep our dependency tree minimal and maintainable.
94
88
95
-
Including Pydantic would increase the chances of version conflicts for users - especially with major changes introduced in Pydantic v3. Because we pin dependencies tightly, adding Pydantic could unintentionally restrict what other tools or libraries users can install alongside `commitizen`.
89
+
Including Pydantic would increase the chances of version conflicts for users - especially with major changes introduced in Pydantic v3. Because we pin dependencies tightly, adding Pydantic could unintentionally restrict what other tools or libraries users can install alongside `commitizen`.
96
90
97
91
Moreover we don't rely on the full feature set of Pydantic. Simpler alternatives like Python's built-in `TypedDict` offer sufficient type safety for our use cases, without the runtime overhead or dependency burden.
98
92
99
93
In short, avoiding Pydantic helps us:
100
-
101
94
- Keep dependencies lightweight
102
95
- Reduce compatibility issues for users
103
96
- Maintain clarity about what contributors should and shouldn't use
104
97
98
+
99
+
## I got `Exception [WinError 995] The I/O operation ...` error
100
+
101
+
This error was caused by a Python bug on Windows. It's been fixed by [this PR](https://github.com/python/cpython/pull/22017), and according to Python's changelog, [3.8.6rc1](https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-6-release-candidate-1) and [3.9.0rc2](https://docs.python.org/3.9/whatsnew/changelog.html#python-3-9-0-release-candidate-2) should be the accurate versions first contain this fix. In conclusion, upgrade your Python version might solve this issue.
102
+
103
+
More discussion can be found in issue [#318](https://github.com/commitizen-tools/commitizen/issues/318).
104
+
105
105
## Why does Commitizen not support CalVer?
106
106
107
107
`commitizen` could support CalVer alongside SemVer, but in practice implementing CalVer
0 commit comments