File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ Version History
1212 This fixes a nogil / multi-threaded compile error. (#201, #275)
1313* A zstandard commit to fix qsort detection on BSD operating systems
1414 has been backported. (#272)
15+ * The `PYTHON_ZSTANDARD_IMPORT_POLICY ` environment variable now has leading
16+ and trailing whitespace stripped. Values like ` cffi` and `cffi ` are
17+ now equivalent to `cffi `.
1518* The CI jobs for building wheels have been overhauled to always use
1619 `cibuildwheel ` and `uv ` (where possible). This change should be backwards
1720 compatible. But wheel building for this project has historically been
Original file line number Diff line number Diff line change 3737# defining a variable and `setup.py` could write the file with whatever
3838# policy was specified at build time. Until someone needs it, we go with
3939# the hacky but simple environment variable approach.
40- _module_policy = os .environ .get ("PYTHON_ZSTANDARD_IMPORT_POLICY" , "default" )
40+ _module_policy = os .environ .get (
41+ "PYTHON_ZSTANDARD_IMPORT_POLICY" , "default"
42+ ).strip ()
4143
4244if _module_policy == "default" :
4345 if platform .python_implementation () in ("CPython" ,):
You can’t perform that action at this time.
0 commit comments