Skip to content

Commit

Permalink
Merge pull request #1608 from Anselmoo/Anselmoo/issue1607
Browse files Browse the repository at this point in the history
build: 🔒 Warning for the end of support for `Python 3.8` is approaching
  • Loading branch information
Anselmoo authored Sep 24, 2024
2 parents 88280d0 + f156f42 commit 3d0106d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions spectrafit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
!!! info "About Versioning"
SpectraFit uses [Semantic Versioning](https://semver.org/).
!!! warning "About Python Versions"
Currently, SpectraFit only supports Python 3.8 and above. Soon, Python 3.8
will be deprecated in favor of Python 3.9 and above, see also
[Release Schedule](https://devguide.python.org/versions/#end-of-life-branches).
"""

import sys
import warnings


if sys.version_info[:2] == (3, 8):
warnings.warn(
"Support for Python 3.8 is approaching its end-of-life. "
"Please consider upgrading to Python 3.9 or newer. "
"For more details, see: "
"https://devguide.python.org/versions/#end-of-life-branches.",
DeprecationWarning,
)

__version__ = "1.0.4"

0 comments on commit 3d0106d

Please sign in to comment.