1. 16 Dec, 2022 1 commit
  2. 14 Dec, 2022 1 commit
  3. 12 Nov, 2022 1 commit
  4. 23 Oct, 2022 1 commit
  5. 21 Oct, 2022 1 commit
  6. 20 Oct, 2022 1 commit
  7. 18 Oct, 2022 1 commit
    • Lalaland's avatar
      First draft of Eigen::Tensor support (#4201) · fab1eebe
      Lalaland authored
      * First draft of Eigen::Tensor support
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * Fix build errors
      
      * Weird allocator stuff?
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * Remove unused + additional allocator junk
      
      * Disable warning
      
      * Use constexpr
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * clang tidy fixes
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * Resolve comments
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * Remove auto constexpr function
      
      * [pre-commit.ci] auto fixes from pre-commit.com hooks
      
      for more information, see https://pre-commit.ci
      
      * Try again for older C++
      
      * Oops forgot constexpr
      
      * Move...
      fab1eebe
  8. 30 Aug, 2022 1 commit
  9. 09 Aug, 2022 2 commits
  10. 08 Aug, 2022 1 commit
  11. 20 May, 2022 1 commit
  12. 19 May, 2022 1 commit
  13. 17 May, 2022 1 commit
  14. 04 May, 2022 1 commit
  15. 01 Mar, 2022 1 commit
    • Stefano Rivera's avatar
      Use sysconfig in Python >= 3.10 (#3764) · 465b2e0b
      Stefano Rivera authored
      * Use sysconfig in Python >= 3.10
      
      Rely on sysconfig for installation paths for Python >= 3.10. distutils
      has been deprecated and will be removed.
      
      Fixes: #3677
      
      * Explicitly select the posix_prefix scheme for platinclude on Debian
      
      Debian's default scheme is posix_local, for installing locally-built
      packages to /usr/local/.  We want to find the Python headers in /usr/,
      so search posix_prefix.
      465b2e0b
  16. 12 Feb, 2022 1 commit
  17. 11 Feb, 2022 2 commits
    • Chris Ohk's avatar
      docs: Correct minor typos (#3721) · 1a432b42
      Chris Ohk authored
      1a432b42
    • Ralf W. Grosse-Kunstleve's avatar
      Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) · 6493f496
      Ralf W. Grosse-Kunstleve authored
      
      
      * `#error BYE_BYE_GOLDEN_SNAKE`
      
      * Removing everything related to 2.7 from ci.yml
      
      * Commenting-out Centos7
      
      * Removing `PYTHON: 27` from .appveyor.yml
      
      * "PY2" removal, mainly from tests. C++ code is not touched.
      
      * Systematic removal of `u` prefix from `u"..."` and `u'...'` literals. Collateral cleanup of a couple minor other things.
      
      * Cleaning up around case-insensitive hits for `[^a-z]py.*2` in tests/.
      
      * Removing obsolete Python 2 mention in compiling.rst
      
      * Proper `#error` for Python 2.
      
      * Using PY_VERSION_HEX to guard `#error "PYTHON 2 IS NO LONGER SUPPORTED.`
      
      * chore: bump pre-commit
      
      * style: run pre-commit for pyupgrade 3+
      
      * tests: use sys.version_info, not PY
      
      * chore: more Python 2 removal
      
      * Uncommenting Centos7 block (PR #3691 showed that it is working again).
      
      * Update pre-commit hooks
      
      * Fix pre-commit hook
      
      * refactor: remove Python 2 from CMake
      
      * refactor: remove Python 2 from setup code
      
      * refactor: simplify, better static typing
      
      * feat: fail with nice messages
      
      * refactor: drop Python 2 C++ code
      
      * docs: cleanup for Python 3
      
      * revert: intree
      
      revert: intree
      
      * docs: minor touchup to py2 statement
      Co-authored-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
      Co-authored-by: default avatarAaron Gokaslan <skylion.aaron@gmail.com>
      6493f496
  18. 10 Feb, 2022 1 commit
  19. 31 Jan, 2022 1 commit
  20. 21 Dec, 2021 1 commit
  21. 16 Nov, 2021 1 commit
  22. 27 Oct, 2021 1 commit
  23. 26 Oct, 2021 1 commit
    • Henry Schreiner's avatar
      fix: improve support for Python 3.11-dev (#3368) · e7e2c79f
      Henry Schreiner authored
      * ci: support Python 3.11-dev
      
      Also update 3.10 to final, better PyPy usage
      
      * fix: use PyFrame_GetCode on Python 3.9+
      
      * ci: some bitiness of pypy not supported on win
      
      * chore: update CMake support to 3.22rc1 to quiet warning
      
      * fix: use dev version of py to fix Py 3.11
      
      * tests: print proper Eigen version
      
      * ci: include pypy2, not sure why
      
      * ci: avoid running on Python 3.11 for now
      
      * ci: fix runs
      
      * ci: simpler PyPy usage, drop unmaintained scipy + pypy index
      
      * ci: only binary numpy, wait on pypy 3.8
      
      * refactor: address review
      e7e2c79f
  24. 24 Sep, 2021 2 commits
    • Henry Schreiner's avatar
    • Wenzel Jakob's avatar
      CMake: react to python version changes · 409be833
      Wenzel Jakob authored
      The new FindPython-based variant of the CMake scripts caches information
      about the chosen Python version that can become stale. For example,
      suppose I configure a simple pybind11-based project as follows
      
      ```
      cmake -S . -B build -GNinja -DPython_ROOT=<path to python 3.8>
      ```
      
      which will generate `my_extension.cpython-38-x86_64-linux-gnu.so`.
      A subsequent change to the python version like
      
      ```
      cmake -S . -B build -GNinja -DPython_ROOT=<path to python 3.9>
      ```
      
      does not update all necessary build system information. In particular,
      the compiled file is still called
      `my_extension.cpython-38-x86_64-linux-gnu.so`.
      
      This commit fixes the problem by detecting changes in
      `Python_EXECUTABLE` and re-running Python as needed.
      
      Note that the previous way of detecting Python does not seem to be
      affected, it always specifies the right suffix.
      409be833
  25. 23 Sep, 2021 1 commit
  26. 13 Aug, 2021 1 commit
    • Aaron Gokaslan's avatar
      maint(precommit): Apply isort (#3195) · 9df2f1ff
      Aaron Gokaslan authored
      * Apply isort
      
      * Tweak isort config
      
      * Add env.py as a known_first_party
      
      * Add one missing known first party
      
      * Make config compat with older isort versions
      
      * Add another comment
      
      * Revert pyproject setting
      9df2f1ff
  27. 12 Aug, 2021 1 commit
  28. 30 Jul, 2021 2 commits
  29. 29 Jul, 2021 1 commit
  30. 27 Jul, 2021 1 commit
  31. 15 Jul, 2021 1 commit
  32. 14 Jul, 2021 1 commit
  33. 12 Jul, 2021 1 commit
  34. 08 Jul, 2021 1 commit
  35. 19 Jun, 2021 1 commit
  36. 06 May, 2021 1 commit