Skip to content

Commit

Permalink
Bump Python requirement, prepare for 0.9 version release
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Aug 14, 2023
1 parent f8b205d commit 2a29b92
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8']
python-version: ['3.8', '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ Notable changes are logged here by release. This project uses `Semantic
Versioning <http://semver.org/>`__. The changelog format is inspired by
`keep-a-changelog <https://github.com/olivierlacan/keep-a-changelog>`__.

`Unreleased <https://github.com/smtg-ucl/galore/compare/0.8.0...HEAD>`__
`Unreleased <https://github.com/smtg-ucl/galore/compare/0.9.0...HEAD>`__
-------------------------------------------------------------------------

`[0.9.0] <https://github.com/smtg-ucl/galore/compare/0.8.0...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] <https://github.com/smtg-ucl/galore/compare/0.7.0...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)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
python:
version: 3.5
version: 3.8
pip_install: true
extra_requirements:
- docs
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -40,26 +40,26 @@ 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'
],
keywords=('spectroscopy spectra chemistry physics raman xps haxpes pes'
' 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',
Expand Down

0 comments on commit 2a29b92

Please sign in to comment.