| 1 |
Changelog |
| 2 |
========= |
| 3 |
|
| 4 |
|
| 5 |
0.52 (unreleased) |
| 6 |
----------------- |
| 7 |
|
| 8 |
- Drop Python 3.8 and 3.9 support. |
| 9 |
|
| 10 |
|
| 11 |
0.51 (2025-10-15) |
| 12 |
----------------- |
| 13 |
|
| 14 |
- Add Python 3.14 support. |
| 15 |
- Drop Python 3.7 support. |
| 16 |
|
| 17 |
|
| 18 |
0.50 (2024-10-09) |
| 19 |
----------------- |
| 20 |
|
| 21 |
- Add Python 3.12 and 3.13 support. |
| 22 |
|
| 23 |
|
| 24 |
0.49 (2022-12-05) |
| 25 |
----------------- |
| 26 |
|
| 27 |
- Add Python 3.11 support. |
| 28 |
|
| 29 |
- Drop Python 3.6 support. |
| 30 |
|
| 31 |
- Exclude more common dev/test files. |
| 32 |
|
| 33 |
|
| 34 |
0.48 (2022-03-13) |
| 35 |
----------------- |
| 36 |
|
| 37 |
- Add Python 3.10 support. |
| 38 |
|
| 39 |
- Switch to tomli instead of toml, after hearing about PEP-680. tomli will be |
| 40 |
included in the Python 3.11 standard library as tomllib, while toml is |
| 41 |
apparently unmaintained. |
| 42 |
|
| 43 |
- Fix submodule support when ``.gitmodules`` exists in a subdirectory |
| 44 |
(`#153 <https://github.com/mgedmin/check-manifest/issues/153>`_). |
| 45 |
Note that this reverts a fix for `#124 |
| 46 |
<https://github.com/mgedmin/check-manifest/issues/124>`_: git versions before |
| 47 |
2.11 are no longer supported. |
| 48 |
|
| 49 |
|
| 50 |
0.47 (2021-09-22) |
| 51 |
----------------- |
| 52 |
|
| 53 |
- Fix ``setuptools_scm`` workaround for packages with dashes in the name |
| 54 |
(`#145 <https://github.com/mgedmin/check-manifest/issues/145>`_). |
| 55 |
|
| 56 |
|
| 57 |
0.46 (2021-01-04) |
| 58 |
----------------- |
| 59 |
|
| 60 |
- The `pre-commit <https://pre-commit.com>`__ hook now always uses Python 3. |
| 61 |
|
| 62 |
|
| 63 |
0.45 (2020-10-31) |
| 64 |
----------------- |
| 65 |
|
| 66 |
- Add Python 3.9 support. |
| 67 |
|
| 68 |
- Drop Python 3.5 support. |
| 69 |
|
| 70 |
- Switch from ``pep517`` to `python-build <https://pypi.org/p/build>`__ ( |
| 71 |
`#128 <https://github.com/mgedmin/check-manifest/pull/128>`__). |
| 72 |
|
| 73 |
- Add ``--no-build-isolation`` option so check-manifest can succeed building |
| 74 |
pep517-based distributions without an internet connection. With |
| 75 |
``--no-build-isolation``, you must preinstall the ``build-system.requires`` |
| 76 |
beforehand. (`#128 <https://github.com/mgedmin/check-manifest/pull/128>`__). |
| 77 |
|
| 78 |
|
| 79 |
0.44 (2020-10-03) |
| 80 |
----------------- |
| 81 |
|
| 82 |
- Try to avoid passing ``--recurse-submodules`` to ``git ls`` if the project |
| 83 |
doesn't use git submodules (i.e. doesn't have a ``.gitsubmodules`` file). |
| 84 |
This should make check-manifest work again with older git versions, as long |
| 85 |
as you don't use submodules (`#124 |
| 86 |
<https://github.com/mgedmin/check-manifest/issues/124>`__). |
| 87 |
|
| 88 |
|
| 89 |
0.43 (2020-09-21) |
| 90 |
----------------- |
| 91 |
|
| 92 |
- Fix collecting files versioned by ``git`` when a project has submodules and |
| 93 |
``GIT_INDEX_FILE`` is set. This bug was triggered when ``check-manifest`` |
| 94 |
was run as part of a git hook ( |
| 95 |
`#122 <https://github.com/mgedmin/check-manifest/issues/122>`__, |
| 96 |
`#123 <https://github.com/mgedmin/check-manifest/pull/123>`__). |
| 97 |
|
| 98 |
Note: check-manifest 0.43 requires ``git`` version 2.11 or later. |
| 99 |
|
| 100 |
|
| 101 |
0.42 (2020-05-03) |
| 102 |
----------------- |
| 103 |
|
| 104 |
- Added ``-q``/``--quiet`` command line argument. This will reduce the verbosity |
| 105 |
of informational output, e.g. for use in a CI pipeline. |
| 106 |
|
| 107 |
- Rewrote the ignore logic to be more compatible with setuptools. This might |
| 108 |
have introduced some regressions, so please file bugs! One side effect of |
| 109 |
this is that ``--ignore`` (or the ``ignore`` setting in the config file) |
| 110 |
is now handled the same way as ``global-exclude`` in a ``MANIFEST.in``, which |
| 111 |
means: |
| 112 |
|
| 113 |
- it's matched anywhere in the file tree |
| 114 |
- it's ignored if it matches a directory |
| 115 |
|
| 116 |
You can ignore directories only by ignoring every file inside it. You |
| 117 |
can use ``--ignore=dir/**`` to do that. |
| 118 |
|
| 119 |
This decision is not cast in stone: I may in the future change the |
| 120 |
handling of ``--ignore`` to match files and directories, because there's no |
| 121 |
reason it has to be setuptools-compatible. |
| 122 |
|
| 123 |
- Drop Python 2.7 support. |
| 124 |
|
| 125 |
|
| 126 |
0.41 (2020-02-25) |
| 127 |
----------------- |
| 128 |
|
| 129 |
- Support `PEP 517`_, i.e. packages using pyproject.toml instead of a setup.py |
| 130 |
(`#105 <https://github.com/mgedmin/check-manifest/issues/105>`_). |
| 131 |
|
| 132 |
.. _PEP 517: https://www.python.org/dev/peps/pep-0517/ |
| 133 |
|
| 134 |
- Ignore subcommand stderr unless the subcommand fails. This avoids treating |
| 135 |
warning messages as filenames. (`#110 |
| 136 |
<https://github.com/mgedmin/check-manifest/issues/110>`_.) |
| 137 |
|
| 138 |
|
| 139 |
0.40 (2019-10-15) |
| 140 |
----------------- |
| 141 |
|
| 142 |
- Add Python 3.8 support. |
| 143 |
|
| 144 |
|
| 145 |
0.39 (2019-06-06) |
| 146 |
----------------- |
| 147 |
|
| 148 |
- You can now use check-manifest as a `pre-commit <https://pre-commit.com>`_ |
| 149 |
hook (`#100 <https://github.com/mgedmin/check-manifest/issues/100>`__). |
| 150 |
|
| 151 |
|
| 152 |
0.38 (2019-04-23) |
| 153 |
----------------- |
| 154 |
|
| 155 |
- Add Python 3.7 support. |
| 156 |
|
| 157 |
- Drop Python 3.4 support. |
| 158 |
|
| 159 |
- Added GitHub templates to default ignore patterns. |
| 160 |
|
| 161 |
- Added reading check-manifest config out of ``tox.ini`` or ``pyproject.toml``. |
| 162 |
|
| 163 |
|
| 164 |
0.37 (2018-04-12) |
| 165 |
----------------- |
| 166 |
|
| 167 |
- Drop Python 3.3 support. |
| 168 |
|
| 169 |
- Support packages using ``setuptools_scm`` |
| 170 |
(`#68 <https://github.com/mgedmin/check-manifest/issues/68>`__). |
| 171 |
|
| 172 |
Note that ``setuptools_scm`` usually makes MANIFEST.in files obsolete. |
| 173 |
Having one is helpful only if you intend to build an sdist and then use that |
| 174 |
sdist to perform further builds, instead of building from a source checkout. |
| 175 |
|
| 176 |
|
| 177 |
0.36 (2017-11-21) |
| 178 |
----------------- |
| 179 |
|
| 180 |
- Handle empty VCS repositories more gracefully |
| 181 |
(`#84 <https://github.com/mgedmin/check-manifest/issues/84>`__). |
| 182 |
|
| 183 |
|
| 184 |
0.35 (2017-01-30) |
| 185 |
----------------- |
| 186 |
|
| 187 |
- Python 3.6 support. |
| 188 |
|
| 189 |
|
| 190 |
0.34 (2016-09-14) |
| 191 |
----------------- |
| 192 |
|
| 193 |
- Fix WindowsError due to presence of read-only files |
| 194 |
(`#74 <https://github.com/mgedmin/check-manifest/issues/74>`__). |
| 195 |
|
| 196 |
|
| 197 |
0.33 (2016-08-29) |
| 198 |
----------------- |
| 199 |
|
| 200 |
- Fix WindowsError due to git submodules in subdirectories |
| 201 |
(`#73 <https://github.com/mgedmin/check-manifest/pull/73>`__). |
| 202 |
Contributed by Loren Gordon. |
| 203 |
|
| 204 |
|
| 205 |
0.32 (2016-08-16) |
| 206 |
----------------- |
| 207 |
|
| 208 |
* New config/command line option to ignore bad ideas (ignore-bad-ideas) |
| 209 |
(`issue #67 <https://github.com/mgedmin/check-manifest/issues/67>`__). |
| 210 |
Contributed by Brecht Machiels. |
| 211 |
|
| 212 |
* Files named ``.hgsigs`` are ignored by default. Contributed by Jakub Wilk. |
| 213 |
|
| 214 |
|
| 215 |
0.31 (2016-01-28) |
| 216 |
----------------- |
| 217 |
|
| 218 |
- Drop Python 3.2 support. |
| 219 |
|
| 220 |
- Ignore commented-out lines in MANIFEST.in |
| 221 |
(`issue #66 <https://github.com/mgedmin/check-manifest/issues/66>`__). |
| 222 |
|
| 223 |
|
| 224 |
0.30 (2015-12-10) |
| 225 |
----------------- |
| 226 |
|
| 227 |
* Support git submodules |
| 228 |
(`issue #61 <https://github.com/mgedmin/check-manifest/issues/61>`__). |
| 229 |
|
| 230 |
* Revert the zc.buildout support hack from 0.26 because it causes breakage |
| 231 |
(`issue #56 <https://github.com/mgedmin/check-manifest/issues/56>`__). |
| 232 |
|
| 233 |
* Improve non-ASCII filename handling with Bazaar on Windows. |
| 234 |
|
| 235 |
|
| 236 |
0.29 (2015-11-21) |
| 237 |
----------------- |
| 238 |
|
| 239 |
* Fix --python with just a command name, to be found in path (`issue #57 |
| 240 |
<https://github.com/mgedmin/check-manifest/issues/57>`__). |
| 241 |
|
| 242 |
|
| 243 |
0.28 (2015-11-11) |
| 244 |
----------------- |
| 245 |
|
| 246 |
* Fix detection of git repositories when .git is a file and not a directory (`#53 |
| 247 |
<https://github.com/mgedmin/check-manifest/pull/53>`__). One situation |
| 248 |
where this occurs is when the project is checked out as a git submodule. |
| 249 |
|
| 250 |
* Apply ignore patterns in subdirectories too (`#54 |
| 251 |
<https://github.com/mgedmin/check-manifest/issues/54>`__). |
| 252 |
|
| 253 |
|
| 254 |
0.27 (2015-11-02) |
| 255 |
----------------- |
| 256 |
|
| 257 |
* Fix utter breakage on Windows, introduced in 0.26 (`issue #52 |
| 258 |
<https://github.com/mgedmin/check-manifest/issues/52>`__). |
| 259 |
(The bug -- clearing the environment unnecessarily -- could probably |
| 260 |
also cause locale-related problems on other OSes.) |
| 261 |
|
| 262 |
|
| 263 |
0.26 (2015-10-30) |
| 264 |
----------------- |
| 265 |
|
| 266 |
* Do not complain about missing ``.gitattributes`` file (`PR #50 |
| 267 |
<https://github.com/mgedmin/check-manifest/pull/50>`__). |
| 268 |
|
| 269 |
* Normalize unicode representation and case of filenames. (`issue #47 |
| 270 |
<https://github.com/mgedmin/check-manifest/issues/47>`__). |
| 271 |
|
| 272 |
* Support installation via zc.buildout better (`issue #35 |
| 273 |
<https://github.com/mgedmin/check-manifest/issues/35>`__). |
| 274 |
|
| 275 |
* Drop Python 2.6 support because one of our test dependencies (mock) dropped |
| 276 |
it. This also means we no longer use environment markers. |
| 277 |
|
| 278 |
|
| 279 |
0.25 (2015-05-27) |
| 280 |
----------------- |
| 281 |
|
| 282 |
* Stop dynamic computation of install_requires in setup.py: this doesn't work |
| 283 |
well in the presence of the pip 7 wheel cache. Use PEP-426 environment |
| 284 |
markers instead (this means we now require setuptools >= 0.7, and pip >= 6.0, |
| 285 |
and wheel >= 0.24). |
| 286 |
|
| 287 |
|
| 288 |
0.24 (2015-03-26) |
| 289 |
----------------- |
| 290 |
|
| 291 |
* Make sure ``setup.py`` not being added to the VCS doesn't cause |
| 292 |
hard-to-understand errors (`issue #46 |
| 293 |
<https://github.com/mgedmin/check-manifest/issues/46>`__). |
| 294 |
|
| 295 |
|
| 296 |
0.23 (2015-02-12) |
| 297 |
----------------- |
| 298 |
|
| 299 |
* More reliable svn status parsing; now handles svn externals (`issue #45 |
| 300 |
<https://github.com/mgedmin/check-manifest/issues/45>`__). |
| 301 |
|
| 302 |
* The test suite now skips tests for version control systems that aren't |
| 303 |
installed (`issue #42 |
| 304 |
<https://github.com/mgedmin/check-manifest/issues/42>`__). |
| 305 |
|
| 306 |
|
| 307 |
0.22 (2014-12-23) |
| 308 |
----------------- |
| 309 |
|
| 310 |
* More terse output by default; use the new ``-v`` (``--verbose``) flag |
| 311 |
to see all the details. |
| 312 |
|
| 313 |
* Warn the user if MANIFEST.in is missing (`issue #31 |
| 314 |
<https://github.com/mgedmin/check-manifest/issues/31>`__). |
| 315 |
|
| 316 |
* Fix IOError when files listed under version control are missing (`issue #32 |
| 317 |
<https://github.com/mgedmin/check-manifest/issues/32>`__). |
| 318 |
|
| 319 |
* Improved wording of the match/do not match messages (`issue #34 |
| 320 |
<https://github.com/mgedmin/check-manifest/issues/34>`__). |
| 321 |
|
| 322 |
* Handle a relative --python path (`issue #36 |
| 323 |
<https://github.com/mgedmin/check-manifest/issues/36>`__). |
| 324 |
|
| 325 |
* Warn about leading and trailing slashes in MANIFEST.in (`issue #37 |
| 326 |
<https://github.com/mgedmin/check-manifest/issues/37>`__). |
| 327 |
|
| 328 |
* Ignore .travis.yml by default (`issue #39 |
| 329 |
<https://github.com/mgedmin/check-manifest/issues/39>`__). |
| 330 |
|
| 331 |
* Suggest a rule for Makefile found deeper in the source tree. |
| 332 |
|
| 333 |
|
| 334 |
0.21 (2014-06-13) |
| 335 |
----------------- |
| 336 |
|
| 337 |
* Don't drop setup.cfg when copying version-controlled files into a clean |
| 338 |
temporary directory (`issue #29 |
| 339 |
<https://github.com/mgedmin/check-manifest/issues/29>`__). |
| 340 |
|
| 341 |
|
| 342 |
0.20 (2014-05-14) |
| 343 |
----------------- |
| 344 |
|
| 345 |
* Restore warning about files included in the sdist but not added to the |
| 346 |
version control system (`issue #27 |
| 347 |
<https://github.com/mgedmin/check-manifest/issues/27>`__). |
| 348 |
|
| 349 |
* Fix ``check-manifest relative/pathname`` (`issue #28 |
| 350 |
<https://github.com/mgedmin/check-manifest/issues/28>`__). |
| 351 |
|
| 352 |
|
| 353 |
0.19 (2014-02-09) |
| 354 |
----------------- |
| 355 |
|
| 356 |
* More correct MANIFEST.in parsing for exclusion rules. |
| 357 |
* Some effort was expended towards Windows compatibility. |
| 358 |
* Handles non-ASCII filenames, as long as they're valid in your locale |
| 359 |
(`issue #23 <https://github.com/mgedmin/check-manifest/issues/23>`__, |
| 360 |
`#25 <https://github.com/mgedmin/check-manifest/issues/23>`__). |
| 361 |
|
| 362 |
|
| 363 |
0.18 (2014-01-30) |
| 364 |
----------------- |
| 365 |
|
| 366 |
* Friendlier error message when an external command cannot be found |
| 367 |
(`issue #21 <https://github.com/mgedmin/check-manifest/issues/21>`__). |
| 368 |
* Add suggestion pattern for `.coveragerc`. |
| 369 |
* Python 2.6 support |
| 370 |
(`issue #22 <https://github.com/mgedmin/check-manifest/issues/22>`__). |
| 371 |
|
| 372 |
|
| 373 |
0.17 (2013-10-10) |
| 374 |
----------------- |
| 375 |
|
| 376 |
* Read the existing MANIFEST.in file for files to ignore |
| 377 |
(`issue #19 <https://github.com/mgedmin/check-manifest/issues/19>`__). |
| 378 |
|
| 379 |
|
| 380 |
0.16 (2013-10-01) |
| 381 |
----------------- |
| 382 |
|
| 383 |
* Fix Subversion status parsing in the presence of svn usernames longer than 12 |
| 384 |
characters (`issue #18 <https://github.com/mgedmin/check-manifest/issues/18>`__). |
| 385 |
|
| 386 |
|
| 387 |
0.15 (2013-09-20) |
| 388 |
----------------- |
| 389 |
|
| 390 |
* Normalize the paths of all files, avoiding some duplicate misses of |
| 391 |
directories. (`issue #16 <https://github.com/mgedmin/check-manifest/issues/16>`__). |
| 392 |
[maurits] |
| 393 |
|
| 394 |
|
| 395 |
0.14 (2013-08-28) |
| 396 |
----------------- |
| 397 |
|
| 398 |
* Supports packages that do not live in the root of a version control |
| 399 |
repository (`issue #15 <https://github.com/mgedmin/check-manifest/issues/15>`__). |
| 400 |
|
| 401 |
* More reliable svn support: detect files that have been added but not |
| 402 |
committed (or committed but not updated). |
| 403 |
|
| 404 |
* Licence changed from GPL (v2 or later) to MIT |
| 405 |
(`issue #12 <https://github.com/mgedmin/check-manifest/issues/12>`__). |
| 406 |
|
| 407 |
|
| 408 |
0.13 (2013-07-31) |
| 409 |
----------------- |
| 410 |
|
| 411 |
* New command line option: --ignore |
| 412 |
(`issue #11 <https://github.com/mgedmin/check-manifest/issues/11>`__). |
| 413 |
Contributed by Steven Myint. |
| 414 |
|
| 415 |
* New command line option: -p, --python. Defaults to the Python you used to |
| 416 |
run check-manifest. Fixes issues with packages that require Python 3 to run |
| 417 |
setup.py (`issue #13 <https://github.com/mgedmin/check-manifest/issues/13>`__). |
| 418 |
|
| 419 |
|
| 420 |
0.12 (2013-05-15) |
| 421 |
----------------- |
| 422 |
|
| 423 |
* Add suggestion pattern for `Makefile`. |
| 424 |
|
| 425 |
* More generic suggestion patterns, should cover almost anything. |
| 426 |
|
| 427 |
* zest.releaser_ integration: skip check-release for non-Python packages |
| 428 |
(`issue #9 <https://github.com/mgedmin/check-manifest/issues/9>`__). |
| 429 |
|
| 430 |
|
| 431 |
0.11 (2013-03-20) |
| 432 |
----------------- |
| 433 |
|
| 434 |
* Make sure ``MANIFEST.in`` is not ignored even if it hasn't been added to the |
| 435 |
VCS yet (`issue #7 <https://github.com/mgedmin/check-manifest/issues/7>`__). |
| 436 |
|
| 437 |
|
| 438 |
0.10 (2013-03-17) |
| 439 |
----------------- |
| 440 |
|
| 441 |
* ``check-manifest --version`` now prints the version number. |
| 442 |
|
| 443 |
* Don't apologize for not adding rules for directories (especially after adding |
| 444 |
rules that include files inside that directory). |
| 445 |
|
| 446 |
* Python 3 support contributed by Steven Myint. |
| 447 |
|
| 448 |
* Default ignore patterns can be configured in ``setup.cfg`` |
| 449 |
(`issue #3 <https://github.com/mgedmin/check-manifest/issues/3>`_). |
| 450 |
|
| 451 |
|
| 452 |
0.9 (2013-03-06) |
| 453 |
---------------- |
| 454 |
|
| 455 |
* Add suggestion pattern for `.travis.yml`. |
| 456 |
|
| 457 |
* When check-manifest -u (or -c) doesn't know how to write a rule matching a |
| 458 |
particular file, it now apologizes explicitly. |
| 459 |
|
| 460 |
* Copy the source tree to a temporary directory before running python setup.py |
| 461 |
sdist to avoid side effects from setuptools plugins or stale |
| 462 |
\*.egg-info/SOURCES.txt files |
| 463 |
(`issue #1 <https://github.com/mgedmin/check-manifest/issues/1>`_). |
| 464 |
|
| 465 |
* Warn if `*.egg-info` or `*.mo` is actually checked into the VCS. |
| 466 |
|
| 467 |
* Don't complain if `*.mo` files are present in the sdist but not in the VCS |
| 468 |
(`issue #2 <https://github.com/mgedmin/check-manifest/issues/2>`_). |
| 469 |
|
| 470 |
|
| 471 |
0.8 (2013-03-06) |
| 472 |
---------------- |
| 473 |
|
| 474 |
* Entry point for zest.releaser_. If you install both zest.releaser and |
| 475 |
check-manifest, you will be asked if you want to check your manifest during |
| 476 |
``fullrelease``. |
| 477 |
|
| 478 |
.. _zest.releaser: https://pypi.python.org/pypi/zest.releaser |
| 479 |
|
| 480 |
|
| 481 |
0.7 (2013-03-05) |
| 482 |
---------------- |
| 483 |
|
| 484 |
* First release available from the Python Package Index. |
| 485 |
|
| 486 |
* Moved from https://gist.github.com/4277075 |
| 487 |
to https://github.com/mgedmin/check-manifest |
| 488 |
|
| 489 |
* Added README.rst, CHANGES.rst, setup.py, tox.ini (but no real tests yet), |
| 490 |
MANIFEST.in, and a Makefile. |
| 491 |
|
| 492 |
* Fixed a bug in error reporting (when setup.py failed, the user would get |
| 493 |
`TypeError: descriptor '__init__' requires an 'exceptions.Exception' object |
| 494 |
but received a 'str'`). |