Skip to content

Commit b2f5d9e

Browse files
authored
Remove support for Python 3.8 (#494)
1 parent bdf7d3c commit b2f5d9e

File tree

9 files changed

+15
-18
lines changed

9 files changed

+15
-18
lines changed

.github/workflows/end_to_end.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
13+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1414
os: [ubuntu-latest, windows-latest]
1515
include:
1616
- os: macos-latest
17-
python-version: '3.8'
17+
python-version: '3.9'
1818
- os: macos-latest
1919
python-version: '3.13'
2020
steps:

.github/workflows/minimum.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818
os: [ubuntu-latest, windows-latest]
1919
include:
2020
- os: macos-latest
21-
python-version: '3.8'
21+
python-version: '3.9'
2222
- os: macos-latest
2323
python-version: '3.13'
2424
steps:

.github/workflows/numerical.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818
os: [ubuntu-latest, windows-latest]
1919
include:
2020
- os: macos-latest
21-
python-version: '3.8'
21+
python-version: '3.9'
2222
- os: macos-latest
2323
python-version: '3.13'
2424
steps:

.github/workflows/readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818
os: [ubuntu-latest, macos-latest]
1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/unit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818
os: [ubuntu-latest, windows-latest]
1919
include:
2020
- os: macos-latest
21-
python-version: '3.8'
21+
python-version: '3.9'
2222
- os: macos-latest
2323
python-version: '3.13'
2424
steps:

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Requirements
44

55
**Copulas** has been developed and tested on
6-
[Python 3.8, 3.9, 3.10 and 3.11](https://www.python.org/downloads/)
6+
[Python 3.9, 3.10, 3.11, 3.12 and 3.13](https://www.python.org/downloads/)
77

88
Also, although it is not strictly required, the usage of a [virtualenv](
99
https://virtualenv.pypa.io/en/latest/) is highly recommended in order to avoid

copulas/multivariate/vine.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""VineCopula module."""
22

33
import logging
4-
import sys
54
import warnings
65

76
import numpy as np
@@ -74,10 +73,9 @@ class VineCopula(Multivariate):
7473

7574
@store_args
7675
def __init__(self, vine_type, random_state=None):
77-
if sys.version_info > (3, 8):
78-
warnings.warn(
79-
'Vines have not been fully tested on Python >= 3.8 and might produce wrong results.'
80-
)
76+
warnings.warn(
77+
'Vines have not been fully tested on Python >= 3.8 and might produce wrong results.'
78+
)
8179

8280
self.random_state = validate_random_state(random_state)
8381
self.vine_type = vine_type

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ classifiers = [
88
'License :: Free for non-commercial use',
99
'Natural Language :: English',
1010
'Programming Language :: Python :: 3',
11-
'Programming Language :: Python :: 3.8',
1211
'Programming Language :: Python :: 3.9',
1312
'Programming Language :: Python :: 3.10',
1413
'Programming Language :: Python :: 3.11',
@@ -19,7 +18,7 @@ classifiers = [
1918
keywords = [ 'copulas' ]
2019
dynamic = ["version"]
2120
license = { text = 'BSL-1.1' }
22-
requires-python = '>=3.8,<3.14'
21+
requires-python = '>=3.9,<3.14'
2322
readme = 'README.md'
2423
dependencies = [
2524
"numpy>=1.21.0;python_version<'3.10'",

0 commit comments

Comments
 (0)