From 0162314297139457b8009a6522ad4cba5edfdb4d Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Sat, 26 Aug 2023 09:26:07 +0200 Subject: [PATCH] Drop support for Python 3.6 & 3.7, add support for 3.10 & 3.11. --- .github/workflows/run-tests.yml | 2 +- .travis.yml | 23 ----------------------- LICENSE | 2 +- README.rst | 2 +- rtd-environment.yml | 19 +++++++++---------- setup.py | 4 ++-- 6 files changed, 14 insertions(+), 38 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0e9f847..46f43b7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6a4b435..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: python -python: - - 3.6 - - 3.7 - - 3.8 - - 3.9 -install: - - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - - bash miniconda.sh -b -p $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$PATH" - - hash -r - - conda config --set always_yes yes --set changeps1 no - - conda config --add channels conda-forge - - conda update -q conda - - conda info -a - - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION - - source activate test-environment - - conda install sympy cython scipy cyipopt pytest pytest-cov coverage sphinx matplotlib-base openmp -script: - - py.test --cov=opty opty/ - - python setup.py install - # Make sure the docs build. - - cd docs && make html && cd .. diff --git a/LICENSE b/LICENSE index 6b98a39..f66fc72 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014-2021, opty authors +Copyright (c) 2014-2023, opty authors All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.rst b/README.rst index c4ec37c..734c456 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ Installation The required dependencies are as follows: -- python 3.6-3.9 +- python 3.8-3.11 - sympy >= 1.6.0 - ipopt >= 3.11 (Linux & OSX), >= 3.13 (Windows) - numpy >= 1.19.0 diff --git a/rtd-environment.yml b/rtd-environment.yml index 3011d4d..75839ed 100644 --- a/rtd-environment.yml +++ b/rtd-environment.yml @@ -1,13 +1,12 @@ name: opty-dev channels: -- defaults -- conda-forge + - conda-forge dependencies: -- opty -- numpy -- scipy -- sympy -- cython -- cyipopt -- matplotlib -- sphinx >=1.4 + - opty + - numpy + - scipy + - sympy + - cython + - cyipopt + - matplotlib + - sphinx >=1.4 diff --git a/setup.py b/setup.py index c7e0fc6..830d13e 100644 --- a/setup.py +++ b/setup.py @@ -35,10 +35,10 @@ }, tests_require=['pytest'], classifiers=['Programming Language :: Python', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Operating System :: OS Independent', 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research',