We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88280d0 + f156f42 commit 3d0106dCopy full SHA for 3d0106d
spectrafit/__init__.py
@@ -3,6 +3,25 @@
3
!!! info "About Versioning"
4
5
SpectraFit uses [Semantic Versioning](https://semver.org/).
6
+
7
+!!! warning "About Python Versions"
8
9
+ Currently, SpectraFit only supports Python 3.8 and above. Soon, Python 3.8
10
+ will be deprecated in favor of Python 3.9 and above, see also
11
+ [Release Schedule](https://devguide.python.org/versions/#end-of-life-branches).
12
"""
13
14
+import sys
15
+import warnings
16
17
18
+if sys.version_info[:2] == (3, 8):
19
+ warnings.warn(
20
+ "Support for Python 3.8 is approaching its end-of-life. "
21
+ "Please consider upgrading to Python 3.9 or newer. "
22
+ "For more details, see: "
23
+ "https://devguide.python.org/versions/#end-of-life-branches.",
24
+ DeprecationWarning,
25
+ )
26
27
__version__ = "1.0.4"
0 commit comments