Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions .github/workflows/dependency_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
python-version-file: 'pyproject.toml'
- name: Install dependencies
run: |
make upgradepip
python -m pip install .[dev]
make check-deps OUTPUT_FILEPATH=latest_requirements.txt
make fix-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Build
run: |
sudo apt-get install pandoc
python -m pip install --upgrade pip
make upgradepip
pip install -e .[dev]
make docs
- name: Deploy
Expand Down
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,11 +10,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
python-version: '3.10'
- os: macos-latest
python-version: '3.14'
steps:
Expand All @@ -25,7 +25,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke .[test]
- name: Run end to end tests
run: invoke end-to-end
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version-file: 'pyproject.toml'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke .[dev]
- name: Run lint checks
run: invoke lint
6 changes: 3 additions & 3 deletions .github/workflows/minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
python-version: '3.10'
- os: macos-latest
python-version: '3.14'
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke .[test]
- name: Test with minimum versions
run: invoke minimum
6 changes: 3 additions & 3 deletions .github/workflows/numerical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
python-version: '3.10'
- os: macos-latest
python-version: '3.14'
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke .[test]
- name: Run numerical tests
run: invoke numerical
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install requests==2.31.0
python -m pip install bandit==1.9.2
python -m pip install .[test]
Expand Down
4 changes: 2 additions & 2 deletions .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', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
Expand All @@ -24,7 +24,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke tomli rundoc .
- name: Run the README.md
run: invoke readme
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install .[dev]

- name: Create wheel
Expand Down
4 changes: 2 additions & 2 deletions .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', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -23,7 +23,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke tomli jupyter .[tutorials]
- name: invoke tutorials
run: invoke tutorials
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.9'
python-version: '3.10'
- os: macos-latest
python-version: '3.14'
steps:
Expand All @@ -29,7 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make upgradepip
python -m pip install invoke .[test]
- name: Run unit tests
run: invoke unit
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, 3.13 and 3.14](https://www.python.org/downloads/)
[Python 3.10, 3.11, 3.12, 3.13 and 3.14](https://www.python.org/downloads/)

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
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ check-deps: # Dependency targets
$(eval allow_list='numpy=|pandas=|scipy=|plotly=')
pip freeze | grep -v "Copulas.git" | grep -E $(allow_list) | sort > $(OUTPUT_FILEPATH)

.PHONY: upgradepip
upgradepip:
python -m pip install "pip @ https://files.pythonhosted.org/packages/3f/06/3e4420302363fbb71be3c7f35ce042f54bfca330e3e66b3a2e3c4cca579f/pip-26.2.2-py3-none-any.whl#sha256=fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70"
python -m pip install --upgrade pip

.PHONY: check-release
check-release: check-clean check-candidate check-main check-history ## Check if the release can be made
@echo "A new release can be made"
Expand Down
13 changes: 5 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ classifiers = [
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
Expand All @@ -19,11 +18,10 @@ keywords = [ 'copulas' ]
dynamic = ["version"]
license = 'BUSL-1.1'
license-files = ['LICENSE']
requires-python = '>=3.9,<3.15'
requires-python = '>=3.10,<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.23.3;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' and python_version<'3.14'",
"numpy>=2.3.2;python_version>='3.14'",
Expand All @@ -32,10 +30,9 @@ dependencies = [
"pandas>=2.1.1,<3;python_version>='3.12' and python_version<'3.13'",
"pandas>=2.2.3,<3;python_version>='3.13' and python_version<'3.14'",
"pandas>=2.3.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'",
"plotly>=5.10.0,<7;python_version<'3.13'",
"plotly>=5.12.0,<7;python_version>='3.13'",
Comment on lines +33 to +34

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow up issue #540

"scipy>=1.9.2;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' and python_version<'3.14'",
"scipy>=1.16.1;python_version>='3.14'",
Expand Down
Loading