Skip to content

Commit

Permalink
Ensured hatch does not include irrelevant files in the distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
umarbutler committed Dec 17, 2024
1 parent d4ed011 commit 109ca94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## Changelog 🔄
All notable changes to `semchunk` will be documented here. This project adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.2.2] - 2024-12-18
### Fixed
- Ensured `hatch` does not include irrelevant files in the distribution.

## [2.2.1] - 2024-12-17
### Changed
- Started benchmarking [`semantic-text-splitter`](https://pypi.org/project/semantic-text-splitter/) in parallel to ensure a fair comparison, courtesy of [@benbrandt](https://github.com/benbrandt) ([#17](https://github.com/umarbutler/semchunk/pull/12)).
Expand Down Expand Up @@ -83,6 +87,7 @@ All notable changes to `semchunk` will be documented here. This project adheres
### Added
- Added the `chunk()` function, which splits text into semantically meaningful chunks of a specified size as determined by a provided token counter.

[2.2.2]: https://github.com/umarbutler/semchunk/compare/v2.2.1...v2.2.2
[2.2.1]: https://github.com/umarbutler/semchunk/compare/v2.2.0...v2.2.1
[2.2.0]: https://github.com/umarbutler/semchunk/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/umarbutler/semchunk/compare/v2.0.0...v2.1.0
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "semchunk"
version = "2.2.1"
version = "2.2.2"
authors = [
{name="Umar Butler", email="[email protected]"},
]
Expand Down Expand Up @@ -53,3 +53,6 @@ Homepage = "https://github.com/umarbutler/semchunk"
Documentation = "https://github.com/umarbutler/semchunk/blob/main/README.md"
Issues = "https://github.com/umarbutler/semchunk/issues"
Source = "https://github.com/umarbutler/semchunk"

[tool.hatch.build.targets.sdist]
only-include = ['src/semchunk/__init__.py', 'src/semchunk/py.typed', 'src/semchunk/semchunk.py', 'pyproject.toml', 'README.md', 'LICENCE', 'CHANGELOG.md', 'tests/bench.py', 'tests/test_semchunk.py', '.github/workflows/ci.yml']

0 comments on commit 109ca94

Please sign in to comment.