Henry Schreiner
522c59ceb2
chore: drop Python 3.5 ( #3719 )
...
* chore: drop Python 3.5 support
* chore: more fstrings with flynt's help
* ci: drop Python 3.5
* chore: bump dependency versions
* docs: touch up py::args
* tests: remove deprecation warning
* Ban smartquotes
* Very minor tweaks (by-product of reviewing PR #3719 ).
Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
2022-02-11 19:06:16 -05:00
Henry Schreiner
36813cfa12
chore: back to work
2022-02-03 12:44:10 -05:00
Henry Schreiner
0f6ad9105c
docs: update changelog for 2.9.1 ( #3670 )
...
* docs: update changelog for 2.9.1
* Update changelog.rst
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update changelog.rst
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-02 16:08:44 -05:00
Henry Schreiner
9b4f71d12d
docs: remove duplication in changelog for 2.9.0
2021-12-28 12:19:17 -05:00
Henry Schreiner
45f792efdd
chore: prepare for 2.9
2021-12-28 10:47:21 -05:00
Henry Schreiner
d4b9f3471f
docs: update changelog ( #3556 )
...
* docs: update changelog
* Update changelog.rst
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-21 16:28:23 -05:00
Henry Schreiner
cd176ceeff
chore: update changelog with recent PRs ( #3524 )
2021-12-02 16:41:47 -05:00
Ralf W. Grosse-Kunstleve
f7b499615e
[skip ci] Tweaks in preparation for the 2.8.1 release. ( #3421 )
2021-10-27 14:35:10 -07:00
Henry Schreiner
f1594cb960
docs: changelog update for 2.8.1 ( #3416 )
...
* docs: changelog update for 2.8.1
* chore: add one more entry
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-10-27 15:08:59 -04:00
Henry Schreiner
f791dc8648
fix: deprecate make_simple_namespace, fix Python 3.11 ( #3374 )
...
* fix: deprecate make_simple_namespace, fix Python 3.11
* docs: update links
2021-10-19 14:39:29 -04:00
Aaron Gokaslan
f4c81e0877
maint: Add additional linter-related pre-commit hooks ( #3337 )
...
* Add additional pygrep pre-commit hooks
* Remove useless noqas with hook
* Fix all single rst backticks
* Simplify mypy pre-commit hook with upstream fixes
* Add back missing comment
* Add one last pygrep hook
2021-10-08 08:38:04 -04:00
Bruce Merry
47ed124f37
Fix some formatting in the v2.8.0 changelog ( #3339 )
...
[skipci]
2021-10-08 08:27:38 -04:00
Henry Schreiner
ba9f919b85
chore: get back to work after 2.8.0
2021-10-04 17:37:27 -04:00
Henry Schreiner
591db0b930
docs: update CHANGELOG for 2.8
2021-10-04 15:20:10 -04:00
Henry Schreiner
6bce3bd72e
docs: update CHANGELOG ( #3304 )
2021-09-24 23:48:38 -04:00
Aaron Gokaslan
0fb981b219
Add blacken-docs and pycln pre-commit hooks ( #3292 )
...
* Apply blacken-docs and fix language-hints
* Add blacken-docs pre-commit hook
* Add pycln pre-commit hook
* Enable a few builtin hooks
* Black no longer ignores pyi files
2021-09-22 15:38:50 -04:00
Henry Schreiner
04dd3262f0
docs: update CHANGELOG ( #3276 )
2021-09-17 17:28:26 -04:00
Henry Schreiner
a2b78a8c27
chore: changelog update ( #3163 )
...
* chore: changelog update
* Update docs/changelog.rst
2021-08-03 13:16:14 -04:00
Henry Schreiner
74935f8d67
chore: post-release ( #3128 )
2021-07-17 11:50:42 -04:00
Henry Schreiner
65e95ea867
chore: bump to 2.7.0 ( #3123 )
2021-07-16 09:27:47 -04:00
Henry Schreiner
6642f389dc
docs: update changelog ( #3122 )
2021-07-15 20:00:07 -04:00
Henry Schreiner
cd061aeef1
style: pre-commit cleanup ( #3111 )
...
* style: disallow PyTest (should be pytest)
* style: cleanup spell checking a bit
* style: add a few items to the .gitignore
2021-07-14 16:49:13 -04:00
Henry Schreiner
6a644c8f04
docs: update changelog ( #3099 )
...
* docs: update changelog
* docs: add one more and merge tidy
2021-07-13 00:08:29 -04:00
luzpaz
8bee61b645
docs: fix various typos ( #3075 )
...
Found via `codespell -q 3 -L nd,ot,thist`
2021-07-04 19:58:35 -04:00
Ralf W. Grosse-Kunstleve
0432ae7c52
Changing pybind11::str to exclusively hold PyUnicodeObject ( #2409 )
...
* Changing pybind11::str to exclusively hold PyUnicodeObject
2021-01-29 09:41:42 -08:00
Henry Fredrick Schreiner
4a5b81b1b7
chore: get back to work
2021-01-26 22:28:09 -05:00
Henry Schreiner
8de7772cc7
chore: prepare for the 2.6.2 release ( #2821 )
2021-01-26 21:26:45 -05:00
Henry Schreiner
8e5d3d234e
docs: prepare for 2.6.2 ( #2820 )
...
* docs: prepare for 2.6.2
* chore: pre-commit autoupdate
2021-01-25 16:09:36 -05:00
Henry Schreiner
08bca374fd
docs: update changelog, nicer output for script ( #2811 )
2021-01-21 11:34:39 -05:00
Henry Schreiner
b7dfe5cc84
chore: changelog update ( #2750 )
2020-12-28 20:14:54 -05:00
Henry Schreiner
79b0e2c052
docs: fix pdf build, simpler start page ( #2736 )
2020-12-22 08:50:45 -05:00
Henry Schreiner
5bd766bf6c
docs: update changelog and add script to help generate it ( #2733 )
2020-12-21 21:04:33 -05:00
Henry Schreiner
02746cb69f
docs: add a little more information for releases
2020-11-12 13:06:00 -05:00
Henry Schreiner
b7c741b540
docs: back to work after 2.6.1
2020-11-11 19:27:41 -05:00
Henry Schreiner
f1abf5d915
docs: changelog update ( #2652 )
2020-11-11 16:33:21 -05:00
Wenzel Jakob
86d3e9eb43
begin working towards a future v2.6.1 patch release
2020-10-21 18:31:10 +02:00
Wenzel Jakob
59a2ac2745
v2.6.0 release
2020-10-21 18:07:48 +02:00
Mana Borwornpadungkitti
6edd0e6d90
fix: Reject keyword argument None
with .none(false)
( #2611 )
...
* demo kwarg with none(false)
* Reorder and extend tests for arg::none(false) in test_methods_and_attributes.py::test_accepts_none
* Fix arg::none() for keyword arguments
* Add changelog note
* Fix names of no_none_kw test functions
Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
2020-10-20 23:57:22 +02:00
Henry Schreiner
2e31e466dc
docs: update for PyPy win 32 issue
2020-10-15 17:38:49 -04:00
Henry Schreiner
645d83813b
feat: typing support for helpers ( #2588 )
...
* feat: basic typing support
* docs: mention syncing as suggested by @rwgk
* docs: update changelog
* docs: copy of warning in limitations
2020-10-14 14:08:41 -04:00
Henry Schreiner
2a263e087c
docs: some final 2.6.0 updates ( #2582 )
...
* docs: some final 2.6.0 updates
* docs: better warning text
2020-10-13 18:19:05 -04:00
Henry Schreiner
993495c96c
fix: Intel 18+ required ( #2577 )
...
* fix: Intel 18+ fully supported
* fix: Intel compiler workaround no longer needed
Followup on #94 now that Intel 18+ is required.
2020-10-12 16:31:44 -04:00
Henry Schreiner
e4e5c49a26
docs: known issues ( #2565 )
...
* docs: FAQ CMake updates
* docs: limitations
* ci: don't over label
* docs: update CHANGELOG, add a bit more structure
* ci: label PRs with more labels, and sooner
* docs: updates from @rwgk
* docs: address @YannickJadoul's points
2020-10-09 11:19:13 -04:00
Henry Schreiner
b6f37f67ac
docs: minor cleanup ( #2555 )
...
* docs: minor cleanup
* ci: fix add-path command
* docs: add example of use in-place
* Update .github/workflows/ci.yml
2020-10-07 20:41:03 -04:00
Henry Schreiner
00edc3001b
fix: PYBIND11_OBJECT required pybind11 namespace (regression) ( #2553 )
...
* fix: PYBIND11_OBJECT could only be used inside the pybind11 namespace (regression)
* docs: add changelog for conversion protection change
* ci: update to Python 3.9
2020-10-06 10:04:13 -04:00
Henry Schreiner
9a0c96dd4c
feat: py::prepend tag ( #1131 )
...
* feat: add a priority overload with py::prepend
* doc: fix wording as suggested by rwgk
* feat: add get_pointer
* refactor: is_prepended -> prepend (internal)
* docs: suggestion from @wjakob
* tests: add test covering get_pointer/set_pointer
2020-10-05 22:36:33 -04:00
Henry Schreiner
6bcd220c8d
refactor: module -> module_ with typedef ( #2544 )
...
* WIP: module -> module_ without typedef
* refactor: allow py::module to work again
2020-10-03 13:38:03 -04:00
Henry Schreiner
560ed3e34f
docs: fix odd spacing
2020-10-02 22:38:29 -04:00
Henry Schreiner
3488494a81
refactor: import check as a common function ( #2526 )
...
* feat: import check as a common function
* docs: add cmake to docs
2020-10-02 22:34:22 -04:00
Yannick Jadoul
9796fe98fc
feat: vectorize functions with void return type ( #1969 )
...
* Allow function/functor passed to py::vectorize to return void
* Stealing @sizmailov's test and fixing unused argument warning
* Add missing std::move()
RVO doesn't work here because function return type is different from
actual returned type
* remove extra EOL
* docs: add a few details
* chore: pre-commit autoupdate
* Remove array_iterator, array_begin, and array_end (in detail namespace)
Co-authored-by: Sergei Izmailov <sergei.a.izmailov@gmail.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2020-10-02 15:30:34 -04:00