Ran Benita
3cb3cd1a08
testing: add `.*` to `norecursedirs`
...
Setting `norecursedirs` overrides the default, so we end up scanning
dot-directories and such which slows down collection unnecessarily
(150ms on my working directory).
2023-08-20 12:16:38 +03:00
Hugo van Kemenade
6baf9f2d31
Update docs and code after dropping EOL 3.7
2023-07-04 18:55:08 +03:00
Bruno Oliveira
27165cf8db
Use build-and-inspect-python-package action ( #10722 )
...
This uses https://github.com/hynek/build-and-inspect-python-package to ensure our package is correct, both during testing and deploy,
2023-02-12 21:37:40 -03:00
Ronny Pfannschmidt
0fdacb6db5
deprecate hook configuration via marks/attributes
...
fixes #4562
2022-09-20 16:22:26 +02:00
Ran Benita
56862c03cb
pyproject.toml: remove `wheel` from `build-system.requires`
...
It's not required -- see
https://github.com/pypa/packaging.python.org/pull/1050
2022-08-15 19:41:57 +03:00
Hugo van Kemenade
1fd3601caa
Drop support for EOL Python 3.6
2021-12-30 12:37:18 +02:00
Hasan Ramezani
0b7c3d1145
Remove Python 3.6 related warning from filterwarnings.
2021-12-28 17:09:27 +01:00
Ronny Pfannschmidt
0892c77bc6
fixes #8133 : mitigate regendoc issues wrt PRETEND_VERSION
...
this issues is less likely to hit due to the recent regendoc release
which includes a wheel
* migrate to setuptools_scm 6.3.2
* use SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST
2021-10-02 20:22:18 +02:00
Florian Bruhin
f1570dc038
Ignore various warnings from Python 3.10
...
https://github.com/benjaminp/six/issues/341
https://github.com/benjaminp/six/pull/352
https://github.com/pypa/setuptools/pull/2517
2021-05-04 17:24:50 +02:00
Bruno Oliveira
913cffa45f
Add warnings filter for disutils deprecation
...
Deprecated in 3.10, scheduled for removal in 3.12
2021-03-27 11:13:16 -03:00
Ran Benita
361f9e20c3
testing: don't ignore "Module already imported so cannot be rewritten" warning
...
The test suite passes without it being ignored. The absence of this
warning cost me some head-scratching time, so enable it again.
2020-11-07 18:14:21 +02:00
Ran Benita
070f8e0f9d
testing: silence deprecation warning from older pyparsing releases
...
This causes some tests to fail when using these older versions.
2020-11-05 16:08:54 +02:00
Hugo van Kemenade
a642650e17
Drop support for EOL Python 3.5
2020-10-19 10:02:36 +03:00
Anthony Sottile
f295b0267d
py36+: update the target version of black to py36
2020-10-03 08:17:22 -07:00
Sorin Sbarnea
b031a7cecf
Smoke tests for assorted plugins ( #7721 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2020-09-19 15:56:52 -03:00
Anthony Sottile
d5a49100cf
Try this maybe?
2020-07-31 21:44:44 -07:00
Bruno Oliveira
4f0793a462
Require setuptools >=42
2020-07-31 18:17:12 -03:00
Bruno Oliveira
09265eb7c7
Configure setuptools_scm using pyproject.toml
2020-07-31 15:46:02 -03:00
Bruno Oliveira
c17d50829f
Add pyproject.toml support ( #7247 )
2020-06-08 10:03:10 -03:00
Daniel Hahler
2df4f63149
Add config for black (target-version)
2020-03-07 23:47:55 +01:00
Bruno Oliveira
c6ed69a666
Replace 'removal' by 'breaking' changelog category
...
As discussed, sometimes we will need to introduce changes
which are not necessarily removals but might break existing
suites
2019-12-06 08:50:35 -03:00
Daniel Hahler
d3ab56f531
docs: move changelog to docs/en and allow sphinx directives
...
Now `tox -e docs` will also include the draft changelog for the
next version (locally only).
`CHANGELOG.rst` now only points to the changelog on READTHEDOCS so
sphinx diretives can be used.
Followup to https://github.com/pytest-dev/pytest/pull/6272
2019-11-28 21:23:58 -03:00
Bruno Oliveira
beb457c75e
Add new 'improvement' changelog category
...
This creates a separate section from 'features' for small changes which
don't usually require user intervention, such as:
* Human readable session duration
* New junitxml fields
* Improved colors in terminal
* etc.
The idea is to better match user expectations about new actual
features in the "Features" section of the changelog.
2019-08-10 09:33:51 -03:00
Bruno Oliveira
9be069f899
Use isolated_build option in tox.ini
...
As per the excellent article by gaborbernat:
https://www.bernat.tech/pep-517-518/
2019-02-08 15:50:33 -02:00
Ronny Pfannschmidt
4f4c91caf5
fix #4177 - pin setuptools>=40.0
2018-10-17 20:08:07 +02:00
Ronny Pfannschmidt
d4351ac5a2
modernize packaging for setuptools>30.3
2018-10-14 21:44:32 +02:00
Bruno Oliveira
495a55725b
Separate deprecations and removals in the CHANGELOG
2018-09-13 14:02:01 -03:00
Bruno Oliveira
79b4ca92d8
Use "pytest" on the CHANGELOG
2018-07-27 09:21:18 -03:00
Ronny Pfannschmidt
af5d41fdfd
add build-system section to pyproject.toml
...
this makes the file valid and prepares for https://github.com/pypa/pip/issues/5416 and https://github.com/pypa/pip/pull/5512
2018-06-19 10:41:04 +02:00
Bruno Oliveira
c58b67c540
Configure towncrier to use src directory
2018-06-05 01:10:36 +00:00
Bruno Oliveira
6de19ab7ba
Show "trivial" category in CHANGELOG
...
I think it might sense to display in the CHANGELOG internal or
trivial changes because they might trip users between releases.
For example, a note about an internal refactoring (like
moving a class between modules) is useful for a user
that has been using the internal API. Of course
we are not breaking anything because it was an internal API, but no
reason not to save time for users who did use it.
2017-06-23 12:33:50 -03:00
Ronny Pfannschmidt
b74c626026
switch changelog management to towncrier
2017-05-30 15:54:15 +02:00