Skip to content
Open
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
68 changes: 4 additions & 64 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.12.1
working_directory: ~/project

prepare_tox: &prepare_tox
Expand Down Expand Up @@ -42,58 +42,6 @@ jobs:
# Test matrix
# ------------------------

test_feature_engine_py39:
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
working_directory: ~/project
steps:
- checkout:
path: ~/project
- *prepare_tox
- run:
name: Run tests (Python 3.10)
command: |
tox -e py310

test_feature_engine_py311_sklearn150:
docker:
- image: cimg/python:3.11.7
working_directory: ~/project
steps:
- checkout:
path: ~/project
- *prepare_tox
- run:
name: Run tests (Python 3.11, scikit-learn 1.5)
command: |
tox -e py311-sklearn150

test_feature_engine_py311_sklearn160:
docker:
- image: cimg/python:3.11.7
working_directory: ~/project
steps:
- checkout:
path: ~/project
- *prepare_tox
- run:
name: Run tests (Python 3.11, scikit-learn 1.6)
command: |
tox -e py311-sklearn160

test_feature_engine_py311_sklearn170:
docker:
- image: cimg/python:3.11.7
Expand Down Expand Up @@ -166,7 +114,7 @@ jobs:

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

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

test_type:
docker:
- image: cimg/python:3.10.0
- image: cimg/python:3.12.1
working_directory: ~/project
steps:
- checkout:
Expand Down Expand Up @@ -277,10 +225,6 @@ workflows:

test-all:
jobs:
- test_feature_engine_py39
- test_feature_engine_py310
- test_feature_engine_py311_sklearn150
- test_feature_engine_py311_sklearn160
- test_feature_engine_py311_sklearn170
- test_feature_engine_py312_pandas230
- test_feature_engine_py312_pandas300
Expand All @@ -298,10 +242,6 @@ workflows:

- package_and_upload_to_pypi:
requires:
- test_feature_engine_py39
- test_feature_engine_py310
- test_feature_engine_py311_sklearn150
- test_feature_engine_py311_sklearn160
- test_feature_engine_py311_sklearn170
- test_feature_engine_py312_pandas230
- test_feature_engine_py312_pandas300
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Feature-engine documentation is built using [Sphinx](https://www.sphinx-doc.org)

To build the documentation make sure you have the dependencies installed: from the root directory:
```
pip install -r docs/requirements.txt
pip install -e ".[docs]"
```

Now you can build the docs using:
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 @@ -395,7 +395,7 @@ To do this, first make sure you have all the documentation dependencies installe
set up the environment as we described previously, they should be installed. Alternatively,
from the windows cmd or mac terminal, run::

$ pip install -r docs/requirements.txt
$ pip install -e ".[docs]"

Make sure you are within the feature_engine module when you run the previous command.

Expand Down
2 changes: 1 addition & 1 deletion docs/contribute/contribute_docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dependencies. If you set up the development environment as we described in the
Alternatively, first activate your environment. Then navigate to the root folder of
feature-engine. And now install the requirements for the documentation::

$ pip install -r docs/requirements.txt
$ pip install -e ".[docs]"

To build the documentation (and test if it is working properly) run::

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
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ license = {text = "BSD 3 clause"}
authors = [
{ name = "Soledad Galli", email = "solegalli@protonmail.com" }
]
requires-python = ">=3.9.0"
requires-python = ">=3.11.0"
dependencies = [
"numpy>=1.18.2",
"pandas>=2.2.0",
"scikit-learn>=1.4.0",
"scikit-learn>=1.7.0",
"scipy>=1.4.1",
"narwhals>=2.0.0",
]

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 All @@ -39,10 +37,13 @@ docs = [
"pydata_sphinx_theme>=0.7.2",
"sphinx_autodoc_typehints>=1.11.1,<=1.21.3",
"numpydoc>=0.9.2",
"pandas>=2.2.0",
]

tests = [
"pytest>=5.4.1",
"pandas>=2.2.0",
"polars>=1.0.0",

# repo maintenance tooling
"black>=21.5b1",
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

22 changes: 0 additions & 22 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
[tox]
envlist =
py39
py310
py311-sklearn150
py311-sklearn160
py311-sklearn170
py312-pandas230
py312-pandas300
Expand Down Expand Up @@ -32,14 +28,6 @@ commands =
# Python versions
# -------------------------

[testenv:py39]
deps =
.[tests]

[testenv:py310]
deps =
.[tests]

[testenv:py313]
deps =
.[tests]
Expand All @@ -53,16 +41,6 @@ deps =
# scikit-learn matrix
# -------------------------

[testenv:py311-sklearn150]
deps =
.[tests]
scikit-learn==1.5.1

[testenv:py311-sklearn160]
deps =
.[tests]
scikit-learn==1.6.1

[testenv:py311-sklearn170]
deps =
.[tests]
Expand Down