diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b86728b..1ecccd6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,6 @@ jobs: matrix: os: [ubuntu-20.04] python-version: - - 3.7 - - 3.8 - - 3.9 - 3.10 - 3.11 steps: @@ -26,24 +23,24 @@ jobs: restore-keys: | ${{ runner.os }}-pip- ${{ runner.os }}- - - name: Install dependencies for Windows - if: ${{ matrix.os == 'windows-latest' }} - run: | - pip install torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html - - name: Install dependencies for macOS - if: ${{ matrix.os == 'macos-latest' }} - run: | - brew install libomp - - name: Install packages - run: | - python -m pip install --upgrade pip - pip install numpy Cython pytest-cov gym==0.17.2 flask onnxruntime stable-baselines3 - - name: Build Cython - run: | - pip install -U protobuf==3.20.1 # temporarily dependency fix - pip install numpy # temporarily dependency fix - pip install -e . - python setup.py build_ext --inplace --define CYTHON_TRACE + # - name: Install dependencies for Windows + # if: ${{ matrix.os == 'windows-latest' }} + # run: | + # pip install torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html + # - name: Install dependencies for macOS + # if: ${{ matrix.os == 'macos-latest' }} + # run: | + # brew install libomp + # - name: Install packages + # run: | + # python -m pip install --upgrade pip + # pip install numpy Cython pytest-cov gym==0.17.2 flask onnxruntime stable-baselines3 + # - name: Build Cython + # run: | + # pip install -U protobuf==3.20.1 # temporarily dependency fix + # pip install numpy # temporarily dependency fix + # pip install -e . + # python setup.py build_ext --inplace --define CYTHON_TRACE - name: Unit tests run: | mkdir -p test_data diff --git a/setup.py b/setup.py index ee492b2..b2c9f87 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ license='MIT', classifiers=[], package_dir={"": "src"}, - python_requires=">=3.11", + python_requires=">=3.10", install_requires=[ "d3rlpy>=2.0.4" ],