From 2a29b923b667669490c18815a9af0515eef8f614 Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Mon, 14 Aug 2023 17:50:53 +0100 Subject: [PATCH] Bump Python requirement, prepare for 0.9 version release --- .github/workflows/run-tests.yml | 2 +- CHANGELOG.rst | 8 ++++++-- README.rst | 2 +- readthedocs.yml | 2 +- setup.py | 16 ++++++++-------- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 432fac3..578e36f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8'] + python-version: ['3.8', '3.10'] steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2bd5244..e5f2266 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,15 +5,19 @@ Notable changes are logged here by release. This project uses `Semantic Versioning `__. The changelog format is inspired by `keep-a-changelog `__. -`Unreleased `__ +`Unreleased `__ ------------------------------------------------------------------------- + +`[0.9.0] `__ - 2023-08-14 +----------------------------------------------------------------------------------- +- Minimum Python version has increased to 3.8 - Allow --xflip to be used with simple 1-d data plots (@ajjackson) - BUGFIX: Import type annoations from collection.abc. This is required for Python 3.10, which deprecates the original location. (@Hashan-Peiris) `[0.8.0] `__ - 2023-02-28 ----------------------------------------------------------------------------------- -- Minimum python version has increased to 3.7 +- Minimum Python version has increased to 3.7 - Orbital-projected plots have gained pretty fill colours; these are controlled by `--no-fill`, `--no-total`, `--alpha` and `--legend-cutoff` command-line options. (@kavanase) diff --git a/README.rst b/README.rst index 3d5fa00..941d777 100644 --- a/README.rst +++ b/README.rst @@ -121,7 +121,7 @@ a given material. Requirements ------------ -Galore is currently compatible with Python versions 3.7 and newer. +Galore is currently compatible with Python versions 3.8 and newer. Galore uses Numpy to apply convolution operations. Matplotlib is required for plotting. diff --git a/readthedocs.yml b/readthedocs.yml index be9284e..3f4886c 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,5 +1,5 @@ python: - version: 3.5 + version: 3.8 pip_install: true extra_requirements: - docs \ No newline at end of file diff --git a/setup.py b/setup.py index de2f61c..896be38 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def unit_tests(): setup( name='galore', - version='0.8.0', + version='0.9.0', description='Broadening and weighting for simulated spectra', long_description=""" Apply Gaussian and Lorentzian broadening to data from ab initio @@ -40,10 +40,11 @@ def unit_tests(): 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', - 'Natural Language :: English', + 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Topic :: Scientific/Engineering :: Chemistry', 'Topic :: Scientific/Engineering :: Physics' ], @@ -51,15 +52,14 @@ def unit_tests(): ' photoelectron dos pdos gaussian lorentzian broadening'), include_package_data=True, packages=find_packages(exclude=['docs', 'test']), - install_requires=['numpy', 'scipy', - 'matplotlib; python_version >= "3.7"'], + install_requires=['numpy>= 1.17', 'scipy', + 'matplotlib; python_version >= "3.8"'], extras_require={'docs': ["sphinx", "sphinx_rtd_theme", "sphinx-argparse", "sphinxcontrib-bibtex"], - 'vasp': ['pymatgen;python_version >= "3.7"', - 'numpy >= 1.17']}, - python_requires='!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, <4', + 'vasp': ['pymatgen']}, + python_requires='>=3.8, <4', entry_points={ 'console_scripts': [ 'galore=galore.cli.galore:main',