Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, macos-latest]
fail-fast: false
steps:
Expand Down Expand Up @@ -44,15 +44,15 @@ jobs:
run: pip install -e '.[dev]'
- name: Run tests
run: python -m pytest --import-mode=append -svx nle/tests
test_sdist_3_9:
name: Test sdist on MacOS w/ Py3.9
test_sdist_3_10:
name: Test sdist on MacOS w/ Py3.10
needs: test_repo
runs-on: macos-latest
steps:
- name: Setup Python 3.9 env
- name: Setup Python 3.10 env
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.10'
- name: Ensure latest pip, wheel & setuptools
run: python -m pip install -q --upgrade pip wheel setuptools
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']
fail-fast: false
steps:
- name: Setup Python ${{ matrix.python-version }} env
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ with other gym (or Gynmasium) / RL environments.

## Installation

NLE requires `python>=3.9`, `cmake>=3.18` to be installed and available both when building the
NLE requires `python>=3.10`, `cmake>=3.18` to be installed and available both when building the
package, and at runtime.

On **MacOS**, one can use `Homebrew` as follows:
Expand Down Expand Up @@ -66,7 +66,7 @@ Afterwards it's a matter of setting up your environment. We advise using a conda
environment for this:

```bash
$ conda create -y -n nle python=3.9
$ conda create -y -n nle python=3.10
$ conda activate nle
$ pip install nle
```
Expand Down
2 changes: 1 addition & 1 deletion doc/nle/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Getting Started
Dependencies
************

NLE requires `python>=3.9`, `cmake>=3.18` and some NetHack dependencies
NLE requires `python>=3.10`, `cmake>=3.18` and some NetHack dependencies
(e.g. `libncurses`) to be installed and available both when building the
package, and at runtime.

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile-focal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM nvidia/cuda:12.4.1-devel-ubuntu20.04
ARG TARGETPLATFORM
RUN echo "Building image for $TARGETPLATFORM"

ARG PYTHON_VERSION=3.9
ARG PYTHON_VERSION=3.10
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.valgrind
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM ubuntu:20.04

ARG PYTHON_VERSION=3.9
ARG PYTHON_VERSION=3.10
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -yq \
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ allow-dict-calls-with-keyword-arguments = true

[tool.cibuildwheel]
# We need to build wheels for the following Python versions:
build = "cp{39,310,311,312,313}-*"
build = "cp{310,311,312,313}-*"

[tool.cibuildwheel.linux]
# Only manylinux is supported (no musllinux)
build = "cp{39,310,311,312,313}-manylinux*"
build = "cp{310,311,312,313}-manylinux*"

# We need to clean up the build directory, all .so files, and CMakeCache.txt
# and install the dependencies using yum, as manylinux2014 image is CentOS 7-based
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,13 @@ def build_extension(self, ext):
setup_requires=["pybind11>=2.2"],
install_requires=["pybind11>=2.2", "numpy>=1.16", "gymnasium==1.0.0"],
extras_require=extras_deps,
python_requires=">=3.9",
python_requires=">=3.10",
classifiers=[
"License :: OSI Approved :: Nethack General Public License",
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
2 changes: 1 addition & 1 deletion third_party/pybind11
Submodule pybind11 updated 300 files
Loading