- Mar 17, 2023
-
-
Henry Schreiner authored
* docs: changelog for 2.10.4 Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com> * Apply suggestions from code review * Update docs/changelog.rst --------- Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com>
-
dependabot[bot] authored
-
- Feb 25, 2023
-
-
Eli Schwartz authored
Without this, it's impossible to get feature parity between detection mechanisms. Both the pkg-config file and the cmake config set their versions, but the python probe script didn't provide an option for this. So you could print the compiler flags for using it, but you could not check what you got.
-
xkszltl authored
This comment is unrelated to having T in tparam or not. Probably a typo. Copied the correct one here. Resolve https://github.com/pybind/pybind11/issues/4518
-
Henry Schreiner authored
Signed-off-by:Henry Schreiner <henryschreineriii@gmail.com>
-
Ralf W. Grosse-Kunstleve authored
``` 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!") ^ ``` -
Henry Schreiner authored
Signed-off-by:Henry Schreiner <henryschreineriii@gmail.com>
-
Mike Essenmacher authored
-
pre-commit-ci[bot] authored
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>
-
dependabot[bot] authored
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>
-
Aaron Gokaslan authored
-
Henry Schreiner authored
Signed-off-by:Henry Schreiner <henryschreineriii@gmail.com>
-
Ralf W. Grosse-Kunstleve authored
-
Ralf W. Grosse-Kunstleve authored
* Resolve flake8 error by replacing `pytest.raises(Exception)` with `SystemError` * Also remove the obsolete comment. * Tweak comment instead of removing it.
-
albanD authored
* 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>
-
Ralf W. Grosse-Kunstleve authored
-
Ralf W. Grosse-Kunstleve authored
-
kajananchinniah authored
-
- Jan 04, 2023
-
-
Henry Schreiner authored
* 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>
-
- Jan 03, 2023
-
-
pre-commit-ci[bot] authored
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>
-
cyy authored
* fix incorrect variable check * remove duplicated check * remove unneeded const cast
-
Ralf W. Grosse-Kunstleve authored
* 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 authored
* Fix `detail::obj_class_name()` to work correctly for meta classes. * Adjust expected name for PyPy
-
- Jan 02, 2023
-
-
Ethan Steinberg authored
* First * Fixs * Improve * Additional assertions comment * Improve docs
-
- Dec 31, 2022
-
-
Ethan Steinberg authored
* Revert the GIL check * Update include/pybind11/detail/common.h Co-authored-by:Henry Schreiner <HenrySchreinerIII@gmail.com>
-
- Dec 21, 2022
-
-
Henry Schreiner authored
-
Henry Schreiner authored
Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com>
-
Henry Schreiner authored
* 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>
-
- Dec 20, 2022
-
-
Ethan Steinberg authored
* First * Fix centos 7 again :( * Fix minor nits
-
Henry Schreiner authored
Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com>
-
- Dec 16, 2022
-
-
Martin Blanchard authored
* 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>
-
Ralf W. Grosse-Kunstleve authored
* 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
-
- Dec 15, 2022
-
-
Martin Blanchard authored
Allow CMake find_package() from multiple directories. https://github.com/pybind/pybind11/issues/4400 Co-authored-by:
Martin Blanchard <martin.blanchard@siemens.com>
-
- Dec 14, 2022
-
-
Ralf W. Grosse-Kunstleve authored
Systematically add `-DCMAKE_VERBOSE_MAKEFILE=ON` to obtain full command lines related to `-Wodr` (#4398)
-
- Dec 10, 2022
-
-
Henry Schreiner authored
Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by:
Henry Schreiner <henryschreineriii@gmail.com>
-
Ralf W. Grosse-Kunstleve authored
* 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.
-
- Dec 09, 2022
-
-
aimir authored
* 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>
-
Frank authored
* 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>
-
Ralf W. Grosse-Kunstleve authored
* 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)
-