labmaze-new
DeepMind's labmaze maze
generator. This version builds its native extensions with setuptools and
pybind11 instead of Bazel, so labmaze.RandomMaze works on current Python
versions, including CPython 3.13 on Windows.
Memory Maze and dm_control.locomotion need labmaze.RandomMaze, which lives
in the compiled _random_maze extension. Upstream labmaze 1.0.6 ships wheels
only up to CPython 3.12 and otherwise builds from source with Bazel.
labmaze-new 0.0.2 installed on 3.13 by skipping the extensions, so
RandomMaze was missing.
pip install labmaze-new
From this repository:
pip install ./third_party/labmaze
Building the extensions needs a C++17 compiler (MSVC on Windows, gcc or clang
elsewhere). Without one, the install falls back to the pure-Python package, as
in 0.0.2, and labmaze.RandomMaze is unavailable. Set
LABMAZE_REQUIRE_EXTENSIONS=1 to make a failed build an error instead.
labmaze-new and labmaze install the same labmaze import package, so
install only one of them.
Changes in 0.0.3
- Native extensions build with setuptools and pybind11; Bazel is no longer
needed. The
LABMAZE_BUILD_BAZEL_EXTENSIONSswitch is gone, because the extensions are always attempted. labmaze/cc/char_grid.{h,cc},labmaze/cc/random_maze.{h,cc}: replacedabsl::string_viewwithstd::string_view, andabsl::StrSplit(..., absl::SkipEmpty())with a local splitter that behaves the same. Abseil is no longer a dependency.- Removed the Bazel
BUILD/WORKSPACEfiles and the C++ gtest sources.
Sources are otherwise those of labmaze-new 0.0.2, which matches upstream
labmaze 1.0.6. Licensed under Apache 2.0; see LICENSE and AUTHORS.
Metadata
Release files for labmaze-new 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| labmaze_new-0.0.3.tar.gz | 4.7 MB | Without provenance | Details for labmaze_new-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labmaze_new-0.0.3-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details for labmaze_new-0.0.3-cp313-cp313-win_amd64.whl |
Total release size: 9.5 MB
Release files / labmaze_new-0.0.3.tar.gz
| Download URL | labmaze_new-0.0.3.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e980f02bdb87d11055f3d0070fb9d0f0c9d40c947447ac15a1e3b12a49f37b05
|
|
BLAKE2b-256 checksum How to use checksums |
2a434fbd22c8a48ccf416a5efe45719be5a5382d1f9967420a880cfb25081312
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / labmaze_new-0.0.3-cp313-cp313-win_amd64.whl
| Download URL | labmaze_new-0.0.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8f3b175430b44d8d59838512c2978115bfd8d8c5f8c3b29f2bccff3be2c63358
|
|
BLAKE2b-256 checksum How to use checksums |
762ecfc549069038b3f3fe2b4763393c529f46c4231e57c6b11b656d6e29b5f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for labmaze-new 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.