Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: '3.13'
python-version: '3.14'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Run end to end tests
run: invoke end-to-end

- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
name: Upload integration codecov report
uses: codecov/codecov-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: '3.13'
python-version: '3.14'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/numerical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: '3.13'
python-version: '3.14'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: '3.13'
python-version: '3.14'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Run unit tests
run: invoke unit

- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
name: Upload unit codecov report
uses: codecov/codecov-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

**Copulas** has been developed and tested on
[Python 3.9, 3.10, 3.11, 3.12 and 3.13](https://www.python.org/downloads/)
[Python 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14](https://www.python.org/downloads/)
Comment thread
gsheni marked this conversation as resolved.
Outdated

Also, although it is not strictly required, the usage of a [virtualenv](
https://virtualenv.pypa.io/en/latest/) is highly recommended in order to avoid
Expand Down
15 changes: 9 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,32 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
keywords = [ 'copulas' ]
dynamic = ["version"]
license = { text = 'BSL-1.1' }
requires-python = '>=3.9,<3.14'
requires-python = '>=3.9,<3.15'
readme = 'README.md'
dependencies = [
"numpy>=1.21.0;python_version<'3.10'",
"numpy>=1.23.3;python_version>='3.10' and python_version<'3.12'",
"numpy>=1.26.0;python_version>='3.12' and python_version<'3.13'",
"numpy>=2.1.0;python_version>='3.13'",
"numpy>=2.1.0;python_version>='3.13' and python_version<'3.14'",
"numpy>=2.3.2;python_version>='3.14'",
"pandas>=1.4.0;python_version<'3.11'",
"pandas>=1.5.0;python_version>='3.11' and python_version<'3.12'",
"pandas>=2.1.1;python_version>='3.12' and python_version<'3.13'",
"pandas>=2.2.3;python_version>='3.13'",
"pandas>=2.2.3;python_version>='3.13' and python_version<'3.14'",
"pandas>=2.3.3;python_version>='3.14'",
"plotly>=5.10.0;python_version<'3.13'",
"plotly>=5.12.0;python_version>='3.13'",
"scipy>=1.7.3;python_version<'3.10'",
"scipy>=1.9.2;python_version>='3.10' and python_version<'3.12'",
"scipy>=1.12.0;python_version>='3.12' and python_version<'3.13'",
"scipy>=1.14.1;python_version>='3.13'",
"scipy>=1.14.1;python_version>='3.13' and python_version<'3.14'",
"scipy>=1.16.1;python_version>='3.14'",
]

[project.urls]
Expand Down Expand Up @@ -176,7 +180,7 @@ preview = true
line-length = 100
indent-width = 4
src = ["copulas"]
target-version = "py312"
target-version = "py314"
exclude = [
"docs",
".git",
Expand Down Expand Up @@ -208,7 +212,6 @@ ignore = [
# pydocstyle
"D107", # Missing docstring in __init__
"D417", # Missing argument descriptions in the docstring, this is a bug from pydocstyle: https://github.com/PyCQA/pydocstyle/issues/449
"PD901",
Comment thread
gsheni marked this conversation as resolved.
"PD101",
]

Expand Down
3 changes: 2 additions & 1 deletion tests/unit/multivariate/test_tree.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import re
import sys
from unittest import TestCase
from unittest.mock import MagicMock, patch
Expand Down Expand Up @@ -497,7 +498,7 @@ def test_identify_eds_not_adjacent(self):
# As they are not adjacent, we can asure calling _identify_eds_ing will raise a ValueError.
assert not first.is_adjacent(second)

error_msg = r'too many values to unpack \(expected 2\)'
error_msg = re.escape('too many values to unpack (expected 2')
with pytest.raises(ValueError, match=error_msg):
Edge._identify_eds_ing(first, second)

Expand Down