Skip to content

Commit

Permalink
Replace setuptools with hatchling
Browse files Browse the repository at this point in the history
  • Loading branch information
zeehio committed Sep 8, 2023
1 parent 7988ded commit f8bf88e
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox tox-gh-actions
python -m pip install --upgrade build pip tox tox-gh-actions wheel
- name: Test with tox
run: tox
- name: Upload coverage.xml
Expand Down
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
parmap (unreleased)

[Maintenance]

* Schedule CI every 3 months, to verify everything is in order even when there is no activity in the project
* Test python versions 3.8-3.11
* Remove conda-recipe from this repo, since it's been on conda-forge for a while now
* Replace setuptools with hatchling

-- Sergio Oller <[email protected]> Fri, 08 Sep 2023 06:46:02 +0200

parmap (1.6.0)
* Drop support for unsupported python versions (3.6)
* Let pm_pbar be a dictionary (besides a bool) with additional tqdm
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

46 changes: 44 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,48 @@
[project]
name = "parmap"
version = "1.6.0"
authors = [
{ name="Sergio Oller", email="[email protected]" },
]
description = "map and starmap implementations passing additional arguments and parallelizing if possible"
license = "Apache-2.0"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[project.urls]
"Homepage" = "https://github.com/zeehio/parmap"
"Bug Tracker" = "https://github.com/zeehio/parmap/issues"

[project.optional-dependencies]
progress_bar = ["tqdm>=4.8.4"]

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build]
ignore-vcs = true
include = [
"parmap",
"*.txt",
"README.rst",
"ChangeLog",
"docs/*.rst",
"docs/conf.py",
"docs/Makefile",
"docs/make.bat",
]

[tool.tox]
legacy_tox_ini = """
Expand Down
31 changes: 0 additions & 31 deletions setup.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions setup.py

This file was deleted.

0 comments on commit f8bf88e

Please sign in to comment.