- 17 Feb, 2023 1 commit
-
-
``` flake8...................................................................Failed - hook id: flake8 - exit code: 1 pybind11/setup_helpers.py:177:13: B028 No explicit stacklevel keyword argument found. The warn method from the warnings module uses a stacklevel of 1 by default. This will only show a stack trace for the line on which the warn method is called. It is therefore recommended to use a stacklevel of 2 or greater to provide more information to the user. warnings.warn("You cannot safely change the cxx_level after setting it!") ^ ```Ralf W. Grosse-Kunstleve committed
-
- 16 Feb, 2023 2 commits
-
-
* Revert "Go back to CMake 3.25.2 (#4496)" This reverts commit b8f28551. * Apply patch provided by @bradking (with pre-commit cmake-format auto fixes). https://github.com/pybind/pybind11/pull/4503#issuecomment-1424768172
Ralf W. Grosse-Kunstleve committed -
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed
-
- 10 Feb, 2023 1 commit
-
-
* Always display python type information in cast errors * Address comments * Update comment
Dustin Spicuzza committed
-
- 09 Feb, 2023 1 commit
-
-
Mike Essenmacher committed
-
- 08 Feb, 2023 2 commits
-
-
Ralf W. Grosse-Kunstleve committed
-
This reverts commit b2c1978c. See #4500 for background.
Ralf W. Grosse-Kunstleve committed
-
- 07 Feb, 2023 1 commit
-
-
updates: - [github.com/PyCQA/pylint: v2.16.0 → v2.16.1](https://github.com/PyCQA/pylint/compare/v2.16.0...v2.16.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pre-commit-ci[bot] committed
-
- 06 Feb, 2023 2 commits
-
-
* Keep registered types until after Py_Finalize(). Fix #4459 * Address reviewer comments
Aaron Gokaslan committed -
Bumps [ilammy/msvc-dev-cmd](https://github.com/ilammy/msvc-dev-cmd) from 1.12.0 to 1.12.1. - [Release notes](https://github.com/ilammy/msvc-dev-cmd/releases) - [Commits](https://github.com/ilammy/msvc-dev-cmd/compare/v1.12.0...v1.12.1) --- updated-dependencies: - dependency-name: ilammy/msvc-dev-cmd dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] committed
-
- 04 Feb, 2023 1 commit
-
-
Aaron Gokaslan committed
-
- 01 Feb, 2023 3 commits
-
-
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed -
* Use PyConfig_InitPythonConfig instead of PyConfig_InitIsolatedConfig * add unit test for default python configuration --------- Co-authored-by: Daniel Jacobs <daniel.jacobs@is4s.com>
Daniel Jacobs committed -
Ralf W. Grosse-Kunstleve committed
-
- 19 Jan, 2023 1 commit
-
-
* Resolve flake8 error by replacing `pytest.raises(Exception)` with `SystemError` * Also remove the obsolete comment. * Tweak comment instead of removing it.
Ralf W. Grosse-Kunstleve committed
-
- 18 Jan, 2023 1 commit
-
-
* Make sure to properly untrack gc objects before freeing them * style: pre-commit fixes * Fix lint * Add comment about where the original track comes from Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
albanD committed
-
- 14 Jan, 2023 1 commit
-
-
Ralf W. Grosse-Kunstleve committed
-
- 13 Jan, 2023 1 commit
-
-
Ralf W. Grosse-Kunstleve committed
-
- 03 Jan, 2023 5 commits
-
-
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed -
* docs: update changelog for v2.10.3 Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: bump versions for 2.10.3 Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: fix make changelog script with entry is empty Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed -
updates: - [github.com/asottile/pyupgrade: v3.3.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v3.3.0...v3.3.1) - [github.com/PyCQA/isort: 5.10.1 → 5.11.4](https://github.com/PyCQA/isort/compare/5.10.1...5.11.4) - [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0) - [github.com/PyCQA/pylint: v2.15.8 → v2.15.9](https://github.com/PyCQA/pylint/compare/v2.15.8...v2.15.9) - [github.com/shellcheck-py/shellcheck-py: v0.8.0.4 → v0.9.0.2](https://github.com/shellcheck-py/shellcheck-py/compare/v0.8.0.4...v0.9.0.2) - [github.com/pre-commit/mirrors-clang-format: v15.0.4 → v15.0.6](https://github.com/pre-commit/mirrors-clang-format/compare/v15.0.4...v15.0.6) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pre-commit-ci[bot] committed -
* fix incorrect variable check * remove duplicated check * remove unneeded const cast
cyy committed -
* Remove clang 10 C++20 (it broke recently), add clang 15 C++20 while we are at it. * No luck trying clang15: Error response from daemon: manifest for silkeh/clang:15 not found: manifest unknown: manifest unknown. Giving up, this needs to be a separate PR.
Ralf W. Grosse-Kunstleve committed
-
- 02 Jan, 2023 1 commit
-
-
* Fix `detail::obj_class_name()` to work correctly for meta classes. * Adjust expected name for PyPy
Ralf W. Grosse-Kunstleve committed
-
- 30 Dec, 2022 1 commit
-
-
* First * Fixs * Improve * Additional assertions comment * Improve docs
Ethan Steinberg committed
-
- 28 Dec, 2022 1 commit
-
-
kajananchinniah committed
-
- 27 Dec, 2022 1 commit
-
-
* chore: update clang-tidy to 15 * Add git * Add NOLINTNEXTLINE for assignment in if * Update CONTRIBUTING.md * Add NOLINTNEXTLINE where needed * Add one more NOLINTNEXTLINE * stl_bind: make more readable * Another missing NOLINTNEXTLINE * Match style elsewhere * Apply reviewer suggestion. Mark false positive
Aaron Gokaslan committed
-
- 20 Dec, 2022 3 commits
-
-
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed -
* docs: changelog for next version Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * docs: address feedback Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed -
* First * Fix centos 7 again :( * Fix minor nits
Ethan Steinberg committed
-
- 19 Dec, 2022 1 commit
-
-
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed
-
- 16 Dec, 2022 1 commit
-
-
* IPO/LTO support for ICX (IntelLLVM) compiler https://github.com/pybind/pybind11/issues/4080 * style: pre-commit fixes * Add WARNING/HELP WANTED comment. Co-authored-by: Martin Blanchard <martin.blanchard@siemens.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
Martin Blanchard committed
-
- 15 Dec, 2022 1 commit
-
-
* Revert "Systematically add `-DCMAKE_VERBOSE_MAKEFILE=ON` to obtain full command lines related to `-Wodr` (#4398)" This reverts commit ff42f525. * Set `env: VERBOSE: 1` as suggested by @henryiii * Set `env: VERBOSE: 1` also in all other .yml files using cmake
Ralf W. Grosse-Kunstleve committed
-
- 14 Dec, 2022 1 commit
-
-
Allow CMake find_package() from multiple directories. https://github.com/pybind/pybind11/issues/4400 Co-authored-by: Martin Blanchard <martin.blanchard@siemens.com>
Martin Blanchard committed
-
- 13 Dec, 2022 1 commit
-
-
Systematically add `-DCMAKE_VERBOSE_MAKEFILE=ON` to obtain full command lines related to `-Wodr` (#4398)
Ralf W. Grosse-Kunstleve committed
-
- 10 Dec, 2022 1 commit
-
-
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Henry Schreiner committed
-
- 09 Dec, 2022 4 commits
-
-
* Add flake8 `--ignore=B905,N818,W503` * Add B905 to `extend-ignore` in setup.cfg (thanks @Skylion007), leave .pre-commit-config.yaml as-is on master.
Ralf W. Grosse-Kunstleve committed -
* Create templated abstract classes KeysView, ValuesView and ItemsView, and implement them on-the-fly when wrapping any specific map type * We don't want to wrap different ValuesView objects for double values and const double, for example, as both wrappers will be named ValuesView[float] * Fallback to C++ names if key or values types are not wrapped * Added a test for .keys(), .values() and .items() returning the same types for similarly-typed maps * Fixed wrong use of auto in a declarator list: the two descriptions might have different types * Fixes for clang-tidy issues: explicit single-argument constructor, using the 'override' keyword when overriding functions * Bugfix for old versions of clang++, which seem to have trouble with the struct being defined inside a module, which was also needlessly ugly anyway * Bugfix for clang++, which doesn't have some of the names in runtime uness they are specified to be static * A fix for clang-tidy performance-inefficient-string-concatenation issues - I personally think this looks uglier, but it's probably worth it for clang-tidy to be happy * Possible fix for clang++ linking issues - make the descriptions static constexpr to make sure they are known before linking * Correct names for previously-wrapped types as keys/values of maps * Bugfix - typo in type info names which caused things to segfault * Apply suggestions from code review Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com> * Use detail::remove_cvref_t instead of doing remove_cv and remove_reference separately * Avoid names with double underscore, as they are reserved * Improved testing for KeysView, ValuesView and ItemsView: check type names + stricter asserts * Moved description logic to helper function in type_caster_base.h * style: pre-commit fixes * Fix a clang-tidy issue: do not use 'else' after 'return' * Apply suggestion by @Skylion007, with additional trivial simplification. Co-authored-by: Amir <aimir@local> Co-authored-by: aimir <aimir@localhost> Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
aimir committed -
* Add option for enable/disable enum members in docstring * Add tests for disable enum members docstring option * Add docstring options to documentation * style: pre-commit fixes * Fix typos in documentation * Improve documentation wording * Apply suggestions by @Skylion007 Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
Frank committed -
* pybind11/pytypes.h `inc_ref()`, `dec_ref()` `PyGILState_Check()` **excluding** `nullptr` Guarded by `PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF` * Disable `PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF` for PyPy under Windows. * Add reference to PR #4268 (PyPy Windows)
Ralf W. Grosse-Kunstleve committed
-