summaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)Author
2020-07-31Configure setuptools_scm using pyproject.tomlBruno Oliveira
2020-06-04Run setup-py-upgrade and setup-cfg-fmtAnthony Sottile
- also ran `pre-commit autoupdate` - https://github.com/asottile/setup-py-upgrade - https://github.com/asottile/setup-cfg-fmt
2020-06-017291: Replace py.iniconfig with iniconfigKeri Volans
2020-05-26Improve our own wcwidth implementation and remove dependency on wcwidth packageRan Benita
`TerminalWriter`, imported recently from `py`, contains its own incomplete wcwidth (`char_with`/`get_line_width`) implementation. The `TerminalReporter` also needs this, but uses the external `wcwidth` package. This commit brings the `TerminalWriter` implementation up-to-par with `wcwidth`, moves to implementation to a new file `_pytest._io.wcwidth` which is used everywhere, and removes the dependency. The differences compared to the `wcwidth` package are: - Normalizes the string before counting. - Uses Python's `unicodedata` instead of vendored Unicode tables. This means the data corresponds to the Python's version Unicode version instead of the `wcwidth`'s package version. - Apply some optimizations.
2020-03-21Upgrade mypy 0.761 -> 0.770Ran Benita
https://mypy-lang.blogspot.com/2020/03/mypy-0770-released.html
2020-01-14tox: add mypy toxenvDaniel Hahler
This is different from what pre-commit (in "linting") runs in that it uses stubs from (test) dependencies. It would make sense to run this on CI additionally (since there is no "pre-commit --skip mypy", and a separate config is not worth it). But currently it triggers a false positive though anyway (https://github.com/erikrose/more-itertools/pull/374).
2019-11-07Use atomicrewrites only on WindowsDaniel Hahler
Fixes https://github.com/pytest-dev/pytest/issues/6147
2019-10-06ci: test oldest supported attrsDaniel Hahler
2019-08-09Validate xunit2 files against the schemaBruno Oliveira
Fix #5095
2019-07-04Replace importlib_metadata with importlib.metadata on Python 3.8+Miro Hrončok
Fixes https://github.com/pytest-dev/pytest/issues/5537
2019-06-03manual: remove dependence on sixAnthony Sottile
2019-06-03pre-commit run fix-encoding-pragma --all-filesAnthony Sottile
2019-06-02Drop Python 2.7 and 3.4 supportBruno Oliveira
* Update setup.py requires and classifiers * Drop Python 2.7 and 3.4 from CI * Update docs dropping 2.7 and 3.4 support * Fix mock imports and remove tests related to pypi's mock module * Add py27 and 34 support docs to the sidebar * Remove usage of six from tmpdir * Remove six.PY* code blocks * Remove sys.version_info related code * Cleanup compat * Remove obsolete safe_str * Remove obsolete __unicode__ methods * Remove compat.PY35 and compat.PY36: not really needed anymore * Remove unused UNICODE_TYPES * Remove Jython specific code * Remove some Python 2 references from docs Related to #5275
2019-05-28Merge master into featuresDaniel Hahler
2019-05-27Switch to importlib-metadataAnthony Sottile
2019-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2019-05-09Merge remote-tracking branch 'upstream/master' into merge-master-into-featuresBruno Oliveira
2019-05-09Pin pluggy to <1.0Bruno Oliveira
Make sure we don't update to pluggy 1.0 automatically, as there are planned breaking changes in the 1.0 release.
2019-05-08Require pluggy>=0.11Sitaktif
Pluggy 0.10.0 introduced a new dependency `importlib-metadata` but that package cannot be imported when installed as an egg and that is causing problems for users relying on `setup.py` to install packages present in `test_require`. This change was quickly reverted in pluggy 0.11.0. See https://github.com/pytest-dev/pluggy/issues/205
2019-04-05use wcwidthDaniel Hahler
2019-03-05Merge branch 'master' into merge-master-into-featuresDaniel Hahler
Conflicts: appveyor.yml setup.py
2019-03-03tox/setup.py: remove _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 hackDaniel Hahler
2019-03-01Run isortDaniel Hahler
2019-02-27Fix test_argcomplete: use python -m pytestDaniel Hahler
Previously it was not run with a) xdist ("-c"), and b) "python -m pytest" ("…/pytest.py", not executable).
2019-02-25Merge pull request #4727 from nicoddemus/early-load-4718Bruno Oliveira
Change -p so it is possible to early load setuptools plugins
2019-02-24-p option now can be used to early-load plugins by entry-point nameBruno Oliveira
Fixes #4718
2019-02-24Require funcsigs>=1.0 on Python 2.7Bruno Oliveira
Fix #4815
2019-02-12Constrain more_itertools for Python 2.7 compatibilitySam Brightman
Fixes #4772, #4770.
2018-11-18setup.py: add "testing" extra requirementDaniel Hahler
Use this in tox to stream-line base testing requirements. Closes https://github.com/pytest-dev/pytest/issues/4410.
2018-10-25Apply reorder-python-imports to all filesAnthony Sottile
2018-10-17fix #4177 - pin setuptools>=40.0Ronny Pfannschmidt
2018-10-15move most setuptools parameters over to setup.cfgRonny Pfannschmidt
2018-10-14modernize packaging for setuptools>30.3Ronny Pfannschmidt
2018-08-30Move code to get width of current line to a functionBruno Oliveira
2018-08-30try to be backwards compatwim glenn
2018-08-30improve line width estimatewim glenn
2018-08-28Use https; save a redirectSteve Piercy
2018-08-01fix #3757 by pinning to pathlib2 that supports __fspath__Ronny Pfannschmidt
2018-07-29Warn when implementations exist for pytest_namespace hookBruno Oliveira
This hook has been deprecated and will be removed in the future. Fix #2639
2018-07-29Merge remote-tracking branch 'upstream/master' into merge-master-into-featuresBruno Oliveira
2018-07-28Pin pluggy to <0.8Bruno Oliveira
2018-06-26merge from master to featuresRonny Pfannschmidt
2018-06-22whops, its supported starting with python 3.6, not python 3.5Ronny Pfannschmidt
2018-06-22use pathlib2 up to python3.4 - damn the stdlibRonny Pfannschmidt
2018-06-22port cache plugin internals to pathlibRonny Pfannschmidt
warning logging got broken by detanglement from config
2018-06-15Merge pull request #3535 from RonnyPfannschmidt/config-splitAnthony Sottile
begin to turn config into package
2018-06-07Remove setup.py test now that it's brokenAnthony Sottile
2018-06-05turn config into packageRonny Pfannschmidt
this prepares the splitting
2018-05-26switch to src layoutRonny Pfannschmidt
2018-05-23run blackRonny Pfannschmidt