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
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.10", "3.11", "3.12"]
python_version: ["3.11", "3.12"]
hlink_extras: ["dev", "dev,lightgbm,xgboost"]
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=3.10
ARG PYTHON_VERSION=3.11
FROM python:${PYTHON_VERSION}-bookworm
ARG HLINK_EXTRAS=dev

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ Wellington, J., R. Harper, and K.J. Thompson. 2022. "hlink." https://github.com/

hlink requires

- Python 3.10, 3.11, or 3.12
- Python 3.11 or 3.12
- Java 8 or greater for integration with PySpark

You can install the newest version of the Python package directly from PyPI with pip:
```
pip install hlink
```

We do our best to make hlink compatible with Python 3.10-3.12. If you have a
We do our best to make hlink compatible with Python 3.11-3.12. If you have a
problem using hlink on one of these versions of Python, please open an issue
through GitHub. Versions of Python older than 3.10 are not supported.
through GitHub. Versions of Python older than 3.11 are not supported.

Note that PySpark 3.5 does not yet officially support Python 3.12. If you
encounter PySpark-related import errors while running hlink on Python 3.12, try
Expand All @@ -35,9 +35,9 @@ encounter PySpark-related import errors while running hlink on Python 3.12, try
should fix some import errors in PySpark. We install setuptools in our
development and test dependencies so that our tests work on Python 3.12.

- Downgrading Python to 3.10 or 3.11. PySpark officially supports these
versions of Python. So you should have better chances getting PySpark to work
well on Python 3.10 or 3.11.
- Downgrading Python to 3.11. PySpark officially supports this
version of Python. So you should have better chances getting PySpark to work
well on Python 3.11.

### Additional Machine Learning Algorithms

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ name = "hlink"
version = "4.2.2"
description = "Fast supervised pyspark record linkage software"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
license = "MPL-2.0-no-copyleft-exception"
license-files = ["LICENSE.txt"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
Expand All @@ -21,7 +20,7 @@ dependencies = [
"ipython>=8.3.0",
"Jinja2>=3.1.0",
"numpy>=1.22.0",
"pandas>=1.4.0",
"pandas>=1.4.0,<3",
"pyspark~=3.5.0",
"scikit-learn>=1.1.0",
"toml>=0.10.0",
Expand All @@ -46,7 +45,7 @@ dev = [
]
docs = ["sphinx", "recommonmark"]
lightgbm = ["synapseml>=1.0"]
xgboost = ["xgboost>=2.0", "pyarrow>=4.0"]
xgboost = ["xgboost>=2.0,<3.3", "pyarrow>=4.0"]

[project.scripts]
hlink = "hlink.scripts.main:cli"
Expand Down
7 changes: 6 additions & 1 deletion sphinx-docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog

The format of this changelog is based on [Keep A Changelog][keep-a-changelog].
Hlink adheres to semantic versioning as much as possible.

## Unreleased

### Changed

* Dropped support for Python 3.10 because it has reached end-of-life.

## v4.2.2 (2026-01-20)

Expand Down
2 changes: 1 addition & 1 deletion sphinx-docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Make sure that you have each of these installed on your system before running hlink.

- Python 3.10, 3.11, or 3.12
- Python 3.11 or 3.12
- Java 8 or greater, used for integration with [Apache Spark](https://spark.apache.org) via the pyspark
package

Expand Down
Loading