Skip to content
Draft
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
35 changes: 10 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ orbs:

defaults: &defaults
docker:
- image: cimg/python:3.10.0
- image: cimg/python:3.11.7
working_directory: ~/project

prepare_tox: &prepare_tox
Expand Down Expand Up @@ -42,31 +42,18 @@ jobs:
# Test matrix
# ------------------------

test_feature_engine_py39:
test_feature_engine_py311:
docker:
- image: cimg/python:3.9.0
working_directory: ~/project
steps:
- checkout:
path: ~/project
- *prepare_tox
- run:
name: Run tests (Python 3.9)
command: |
tox -e py39

test_feature_engine_py310:
docker:
- image: cimg/python:3.10.0
- image: cimg/python:3.11.7
working_directory: ~/project
steps:
- checkout:
path: ~/project
- *prepare_tox
- run:
name: Run tests (Python 3.10)
name: Run tests (Python 3.11)
command: |
tox -e py310
tox -e py311

test_feature_engine_py311_sklearn150:
docker:
Expand Down Expand Up @@ -166,7 +153,7 @@ jobs:

test_style:
docker:
- image: cimg/python:3.10.0
- image: cimg/python:3.11.7
working_directory: ~/project
steps:
- checkout:
Expand All @@ -179,7 +166,7 @@ jobs:

test_docs:
docker:
- image: cimg/python:3.10.0
- image: cimg/python:3.11.7
working_directory: ~/project
steps:
- checkout:
Expand All @@ -192,7 +179,7 @@ jobs:

test_type:
docker:
- image: cimg/python:3.10.0
- image: cimg/python:3.11.7
working_directory: ~/project
steps:
- checkout:
Expand Down Expand Up @@ -277,8 +264,7 @@ workflows:

test-all:
jobs:
- test_feature_engine_py39
- test_feature_engine_py310
- test_feature_engine_py311
- test_feature_engine_py311_sklearn150
- test_feature_engine_py311_sklearn160
- test_feature_engine_py311_sklearn170
Expand All @@ -298,8 +284,7 @@ workflows:

- package_and_upload_to_pypi:
requires:
- test_feature_engine_py39
- test_feature_engine_py310
- test_feature_engine_py311
- test_feature_engine_py311_sklearn150
- test_feature_engine_py311_sklearn160
- test_feature_engine_py311_sklearn170
Expand Down
4 changes: 2 additions & 2 deletions .github/workflow/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.9'
PYTHON: '3.11'
steps:
- uses: checkout@v3
with:
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
python-version: "3.11"
- name: Generate Report
run: |
pip install coverage
Expand Down
2 changes: 1 addition & 1 deletion docs/contribute/contribute_code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ If the tests pass, the code is in optimal condition :)

**A few things to note:**

Tox runs our tests in Python versions 3.6, 3.7, 3.8 and 3.9. However, it will only be able to
Tox runs our tests in Python versions 3.11, 3.12, 3.13 and 3.14. However, it will only be able to
run the tests in the version you have installed locally. All others will fail. This is OK.
As long as the tests in the Python version you have installed pass, you are good to go.

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ The following characteristics make feature-engine unique:
Installation
------------

Feature-engine is a Python 3 package and works well with 3.9 or later.
Feature-engine is a Python 3 package and works well with 3.11 or later.

The simplest way to install feature-engine is from PyPI with pip:

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data and then modify the data. They work just like any scikit-learn transformer.
Installation
------------

Feature-engine is a Python 3 package and works well with 3.9 or later. You can install
Feature-engine is a Python 3 package and works well with 3.11 or later. You can install
feature-engine with `pip`:

.. code-block:: bash
Expand Down
1 change: 1 addition & 0 deletions docs/whats_new/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Find out what's new in each new version release.
.. toctree::
:maxdepth: 2

unreleased
v_190
v_180
v_170
Expand Down
9 changes: 9 additions & 0 deletions docs/whats_new/unreleased.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Unreleased
==========

Compatibility
-------------

- The minimum supported Python version is now 3.11. Python 3.9 and 3.10 are no
longer supported. Upgrade Python before installing this release. Existing
Feature-engine releases retain their original Python requirements.
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = {text = "BSD 3 clause"}
authors = [
{ name = "Soledad Galli", email = "solegalli@protonmail.com" }
]
requires-python = ">=3.9.0"
requires-python = ">=3.11"
dependencies = [
"numpy>=1.18.2",
"pandas>=2.2.0",
Expand All @@ -20,8 +20,6 @@ dependencies = [

classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down
9 changes: 2 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
envlist =
py39
py310
py311
py311-sklearn150
py311-sklearn160
py311-sklearn170
Expand Down Expand Up @@ -32,11 +31,7 @@ commands =
# Python versions
# -------------------------

[testenv:py39]
deps =
.[tests]

[testenv:py310]
[testenv:py311]
deps =
.[tests]

Expand Down