Commit graph

260 commits

Author SHA1 Message Date
Marius Gedminas
0566a7e9ad Update to newer release.mk 2021-04-22 22:51:07 +03:00
Marius Gedminas
7e4e353aac Drop the "or any later version" licence clause
I have lost my trust in the FSF.
2021-04-15 12:42:08 +03:00
Marius Gedminas
ff5a3a3642 Fix coveralls integration, hopefully
See https://github.com/TheKevJames/coveralls-python/issues/252: the
coveralls API requires a service name, which used to be 'github', but a
new release of https://pypi.org/p/coveralls switched the default to
'github-actions'.

Nobody understands the exact difference between the two, but I have 19
repositories that now fail coveralls uploads using the 'github-actions'
service name, and I hope that switching to 'github' will fix them.
2021-01-18 16:45:40 +02:00
Marius Gedminas
49a9af2e99 Set up check-manifest and check-python-versions on CI 2020-12-08 12:34:21 +02:00
Marius Gedminas
6e37208785 Set up isort in CI 2020-12-06 19:18:53 +02:00
Marius Gedminas
73fc2ea49a Set up flake8 in CI 2020-12-06 16:20:27 +02:00
Marius Gedminas
2b5a71eb7b Simplify coveralls integration 2020-12-06 16:19:26 +02:00
Marius Gedminas
0735fc1e24 Merge all coveralls builds into one job 2020-11-30 14:01:59 +02:00
Marius Gedminas
79a69d5d8d Rename the file to match workflow name 2020-11-30 11:38:17 +02:00
Marius Gedminas
999cf233ad
Merge pull request #13 from mgedmin/gha
Fix GitHub Actions badge link
2020-11-30 11:34:45 +02:00
Marius Gedminas
b7d6dee98a Fix GitHub Actions badge link
I've renamed the workflow, so it should be ?query=workflow:build, but
actually there's only one workflow so no need to filter.
2020-11-30 11:13:05 +02:00
Marius Gedminas
b53931a193
Merge pull request #12 from mgedmin/gha
Add GitHub Actions configuration
2020-11-30 11:02:48 +02:00
Marius Gedminas
90be550811 Show the build status of the master branch 2020-11-30 10:58:32 +02:00
Marius Gedminas
63b764ffa4 Make the status badge work 2020-11-30 10:55:54 +02:00
Marius Gedminas
8ae019ad01 I see a lot of "building wheel" instead of using cached wheels 2020-11-30 10:50:52 +02:00
Marius Gedminas
64aee89a5f Replace status badge 2020-11-30 10:46:46 +02:00
Marius Gedminas
6b47dcea01 Enable pip cachig 2020-11-30 10:43:51 +02:00
Marius Gedminas
7f5a7ac638 pypy2 is also Python 2 2020-11-30 10:36:19 +02:00
Marius Gedminas
1f1dcd7aa0 Let's get the if: syntax right 2020-11-30 10:34:12 +02:00
Marius Gedminas
3d5695eeb2 Skip coveralls reporting on 2.7
GitHub support landed in coveralls 2.1.0, but Python 2.7 gets only
coveralls 1.11.1.
2020-11-30 10:31:00 +02:00
Marius Gedminas
83b81e58d8 Python 2.7 has an older coveralls that needs different env vars? 2020-11-30 10:19:43 +02:00
Marius Gedminas
82159abd2c I think using matrix counts as parallel jobs?
This is all documented in
https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-gotcha
2020-11-30 10:16:43 +02:00
Marius Gedminas
17e2957664 Try coveralls.io reportion
I think this should work?  It's documented:
https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-gotcha

Note that there's also an official Coveralls Action in the GitHub
Marketplace, which apparently doesn't suport Python coverage.
2020-11-30 10:12:20 +02:00
Marius Gedminas
7ad7f287c3 Style tweaks 2020-11-30 10:01:27 +02:00
Marius Gedminas
bdb0ac19eb I will not forget to install everything 2020-11-30 09:49:12 +02:00
Marius Gedminas
38c01db04e Enable coverage-python-version 2020-11-30 09:47:16 +02:00
Marius Gedminas
36caa0e6c2 I can spell, honest 2020-11-30 09:40:23 +02:00
Marius Gedminas
3e1dc6afb1 Add GitHub Actions configuration 2020-11-30 09:34:06 +02:00
Marius Gedminas
93569d62ab travis-ci.org -> travis-ci.com 2020-11-13 09:49:21 +02:00
Marius Gedminas
77614861a5
Merge pull request #11 from mgedmin/py39
Add Python 3.9 support
2020-10-28 11:17:18 +02:00
Marius Gedminas
32e4ab2425 Enable pip caching on Travis 2020-10-28 10:41:57 +02:00
Marius Gedminas
fb1919b850 Add Python 3.9 support 2020-10-27 12:17:17 +02:00
Marius Gedminas
6cc0c879ba Cleaned up makefile, added 'make help', newer release.mk 2020-10-11 14:02:38 +03:00
Marius Gedminas
ee89f508f0 Drop support for Python 3.5 2020-10-08 20:12:59 +03:00
Marius Gedminas
0907a34937 Make check-manifest happy 2020-05-03 18:50:24 +03:00
Marius Gedminas
7e91ff2c85 Mention pydeps as an alternative 2019-12-09 09:39:24 +02:00
Marius Gedminas
caa2588a1e Fix GH issue URL 2019-11-21 09:55:57 +02:00
Marius Gedminas
9a4dcbb30e Back to development: 1.5.3 2019-10-31 22:02:45 +02:00
Marius Gedminas
a164e5f137 Preparing release 1.5.2 2019-10-31 22:02:20 +02:00
Marius Gedminas
00bd3a553c Fix accidental module aliasing
When there was no top-level module or package available in sys.path
(like pylab), but there was a different module/package that was a prefix
of the first module (like py), findimports would incorrectly decide that
they were one and the same!

Fixes #10.
2019-10-31 21:55:13 +02:00
Marius Gedminas
236d746c5e Avoid modifying sys.path by accident in the tests
ModuleGraph().path.append('.') was modifying sys.path as a side effect,
and one of our tests apparently relied on this!
2019-10-31 21:53:41 +02:00
Marius Gedminas
69a1c6f707 I'm not ready to push for 100% branch coverage yet 2019-10-31 21:44:05 +02:00
Marius Gedminas
824344ed72 Simplify coverage run command line
The source is already specified in .coveragerc.
2019-10-31 21:41:21 +02:00
Marius Gedminas
1bb9af4e67 Remove deprecated wheel config option from setup.cfg
license_file is deprecated, license_files replaces it, but the default
value (LICEN[CS]E*) already covers our needs.
2019-10-31 21:15:15 +02:00
Marius Gedminas
2c0943bd55 Make the code flake8-clean 2019-10-31 21:09:00 +02:00
Marius Gedminas
caa0e71f2d Install Python 3.8 on Appveyor 2019-10-22 19:03:35 +03:00
Marius Gedminas
a18c5d7985 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
b1444bcbd9 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
2e3868f628 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
c3fd993c65 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