Commit Graph

431 Commits

Author SHA1 Message Date
Marius Gedminas 0f42af5203 Preparing release 0.41 2020-02-25 09:06:50 +02:00
Marius Gedminas 8aa0b32363 Rip out remnants of setup.py test support
It's broken (on Python 2.7) anyway.
2020-01-24 11:22:28 +02:00
Marius Gedminas f6f64bf784 Fix Travis builds
setup.py test is deprecated and broken.  AFAIU it still uses
easy_install, which doesn't pay attention to python_requires of
dependencies, so when a transitive dependency drops Python 2.7 support
with a python_requires, pip can handle that, but easy_install can't.

I did not spend too much time investigating why exactly setup.py test
breaks: life's too short.  It's deprecated and that's reason enough to
stop using it.

I'm going to use pytest instead (because nose is also deprecated, lol).
I'm not going to switch to pytest wholesale because that would break
Windows builds (see #92).
2020-01-23 10:32:29 +02:00
Marius Gedminas c9df78bd89 Existence of pyproject.toml does not imply PEP 517
As the PEP itself says, if pyproject.toml exists but doesn't have the
build-system table or the build-backend key in it, then tools should
fall back to legacy behaviour of running python setup.py.

See https://github.com/mgedmin/check-manifest/issues/110#issuecomment-571175201

See also #105.
2020-01-07 15:42:55 +02:00
Marius Gedminas a36dbda463 Ignore subprocess stderr unless commands fails
Fixes #110.
2019-12-30 11:15:51 +02:00
Marius Gedminas 88a3cbf651 Fix GH issue URL 2019-11-21 09:56:07 +02:00
Jon Dufresne 8aefe070aa Remove deprecated license_file from setup.cfg
Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.

https://wheel.readthedocs.io/en/stable/news.html

The wheel will continue to include LICENSE, it is now included
automatically:

https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
2019-10-30 10:19:52 +02:00
Jon Dufresne 23450495c5 Cleanup Travis configuration
The default distribution is now xenial. It doesn't need to be specified.

The sudo attribute is now deprecated and can be removed.
2019-10-30 10:16:40 +02:00
Marius Gedminas 9ed067b290
Merge pull request #106 from mgedmin/pep517
Support PEP 517
2019-10-29 15:45:23 +02:00
Marius Gedminas f6ab1a0ae3 Add tests 2019-10-29 15:18:03 +02:00
Marius Gedminas 15a5c57810 WIP: support PEP 517
Closes #105.
2019-10-29 15:09:33 +02:00
Marius Gedminas 4695989f66 Install Python 3.8 on Appveyor 2019-10-22 19:03:35 +03:00
Marius Gedminas a3261fe4b1 Travis has 3.8 now
See https://travis-ci.community/t/add-python-3-8-support/5463/5
2019-10-16 10:41:21 +03:00
Marius Gedminas 7f20a1114f Oops vim macros gone wrong 2019-10-15 13:42:52 +03:00
Marius Gedminas e7455534d1 No Python 3.8 on Travis CI yet
Stay tuned to https://travis-ci.community/t/add-python-3-8-support/5463.
2019-10-15 13:29:41 +03:00
Marius Gedminas 8c96a38a1c No Python 3.8 on Appveyor yet
Stay tuned to https://github.com/appveyor/ci/issues/3142.
2019-10-15 13:26:43 +03:00
Marius Gedminas 29f14584c9 Modernize appveyor.yml
1. Make sure the Python I want to use exists
2. Make sure we don't use outdated virtualenv/pip/setuptools
2019-10-15 12:38:07 +03:00
Marius Gedminas 2fdf8f884e Back to development: 0.41 2019-10-15 10:07:20 +03:00
Marius Gedminas 67d1a5a698 Preparing release 0.40 2019-10-15 10:04:08 +03:00
Marius Gedminas 0052584d08 Add Python 3.8 support 2019-10-15 10:00:31 +03:00
Marius Gedminas 4374386c12 Unbreak Python 2.7, as per usual 2019-09-25 15:24:33 +03:00
Marius Gedminas 277233fbfd More output to help diagnose failing tests
I want to see all commands executed and their output, in case of failure.
2019-09-25 15:12:11 +03:00
Marius Gedminas 38a2424bb2
Create FUNDING.yml 2019-08-28 19:04:26 +03:00
Marius Gedminas 33a89c30c9 Back to development: 0.40 2019-06-06 17:55:40 +03:00
Marius Gedminas 2e48d4775e Preparing release 0.39 2019-06-06 17:43:14 +03:00
Marius Gedminas 668e10eae8 Update changelog 2019-06-06 17:42:44 +03:00
Marius Gedminas a5cd2b7423
Merge pull request #102 from tobiasraabe/pre-commit
Add check-manifest as pre-commit-hook
2019-06-06 17:41:06 +03:00
Tobias Raabe 14fe56b35d fixed manifest and version number in readme. 2019-06-06 16:12:05 +02:00
Tobias Raabe 36e982d46f Added pre-commit integration to README.rst: 2019-05-29 23:30:52 +02:00
Tobias Raabe 9b4879de68 Add pre-commit-hooks.yaml. 2019-05-29 23:23:12 +02:00
Marius Gedminas 403d6401b4 Fix bogus '. missing from VCS' error
I've only started seeing this error today, only on Appveyor (but not on
my Windows Jenkins instance), and only on Python 2.7.

Somehow the sdist archive mentions the top-level directory name twice,
once with a slash, and once without.  Possibly my own preprocessors
could've been adding the second entry.  Anyway, strip it.

Again, I've no idea how I never saw this before.  Did Appveyor update
their Python or something?  Maybe a newer setuptools caused this?
2019-05-19 21:54:35 +03:00
Marius Gedminas d0b583d5c0 Make tests pass on a system with no Python 2
We have one test that needs a Python interpreter (any supported Python
interpreter) to be on $PATH.  It doesn't have to be Python 2, and it
doesn't have to be called 'python'.

Fixes #101.
2019-05-19 18:00:16 +03:00
Marius Gedminas 1f2aaf9285 Travis now has pypy and pypy3 on working xenial 2019-05-02 14:48:59 +03:00
Marius Gedminas 7f787e8272 Fix Travis builds 2019-04-23 12:37:33 +03:00
Marius Gedminas bc6e957816 Back to development: 0.39 2019-04-23 12:29:34 +03:00
Marius Gedminas c116a485f6 Preparing release 0.38 2019-04-23 12:18:20 +03:00
Marius Gedminas a7c88e4403 Always require toml
It's a small package with no external depencencies.  It'll be more
convenient for users who have pyproject.toml.  And this way I can go
back to 100% test coverage without figuring out how to test both the
"toml is missing during import time" and "toml is present during import
time" branches in the code.
2019-04-23 12:15:54 +03:00
Marius Gedminas af55309bdb Drop Python 3.4 support 2019-04-23 12:12:01 +03:00
Marius Gedminas 37ddd9e6b9 Update changelog 2019-04-23 12:11:11 +03:00
Marius Gedminas 9c9e57e805 Clean up tox.ini
We're defining test extras in the setup.py, so let's actually use them!
2019-04-23 12:08:46 +03:00
Marius Gedminas bd0d415204
Merge pull request #99 from pgjones/master
Allow for reading configuration from a pyproject.toml file
2019-04-23 12:04:11 +03:00
Philip Jones 0cf29100bd Allow for reading configuration from a pyproject.toml file
PEP 518 has introduced of pyproject.toml and it has been adopted by
other tools as the standard location for tooling configuration. This
allows for the check-manifest configuration to also be loaded from the
pyproject.toml file. Note this requires ``toml`` to be installed,
which is added as an optional extra.
2019-04-19 09:22:35 +01:00
Marius Gedminas ba6d17ff10 Ignore the .github/ directory itself too
See #98.
2019-04-01 15:52:13 +03:00
Marius Gedminas 628b4a4274 tox has parallel mode now 2019-04-01 15:45:51 +03:00
Marius Gedminas 04bb71fcf8 Use [tool:pytest] in setup.cfg
The [pytest] section was deprecated in pytest 3.0 and removed in pytest 4.1.
2019-01-07 15:31:27 +02:00
Marius Gedminas 59dcb93820
Run all Travis CI tests on xenial with sudo
Fixes #96 (no 3.7 builds with git/hg/svn).

sudo: false is going away anyway:
https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures

dist: xenial was recently announced (although I've been using it before
lol??), and the announcement explains why it's only available with
sudo: required: https://blog.travis-ci.com/2018-11-08-xenial-release

Note that xenial builds on Travis do not support "pypy" or "pypy3".  If
I understand https://github.com/travis-ci/travis-ci/issues/9452
correctly, you're now supposed to use "pypy2.7" and "pypy3.5", but
due to a bug you have to use "pypy2.7-5.10.0" for now.
2018-11-13 14:37:46 +02:00
Marius Gedminas 052a815ccd
Merge pull request #91 from jdufresne/trove
Add trove classifiers for general Python 2/3 support
2018-11-13 12:16:55 +02:00
Marius Gedminas bb184bffe2
Merge pull request #86 from GhostofGoes/master
Add ability to load configuration from tox.ini
2018-11-13 12:16:26 +02:00
Christopher Goes 97686df5a8 Add note to changelog 2018-11-12 19:57:45 -07:00
Christopher Goes 24b9c29e67 Merge branch 'master' of github.com:mgedmin/check-manifest 2018-11-12 19:55:57 -07:00