| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| |
|
| |
It was pinned to "< 4" in 1641dc2 without any specific reason.
|
| |
|
|
|
|
|
|
|
| |
* document usage of poetry
1. we also add an integration test to check compatibility
2. sdistonly calls need a target to build
* set build folder to build
|
| |
|
|
|
| |
This solution is ``subprocess`` based. We're already heavily using subprocesses, so I consider this implementation safe.
Resolves #439.
|
| |
|
|
|
|
| |
Previously, this function checked against a whitelist of OSes that were
known to be a problem. This did include Fedora, which also fails this
test. Rather than chasing endless edge cases, test for this feature
programmatically.
|
| | |
|
| |
|
| |
As discussed :)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This now is done. It's a major rewrite and was significantly more troublesome than expected. After all the effort put in, failed to convince either codecov or coveralls to function correctly. So where two does not work, let's use the third option: codeclimate (https://codeclimate.com/github/tox-dev/tox/builds).
This one finally gives up on trying to be too smart (e.g. forcing users to merge reports locally during the build), but work correctly what it does offer:
- great documentation,
- Github App,
- great chrome extension to annotate PRs inline,
- Github comment support.
Does not have branch coverage for now but I don't think we used that much often that feature. With this, we also moved off Travis completely as now ``pypy`` tests are also done on Azure Pipelines.
PS. NOTE: we no longer really on a service to report/display code coverage. The CI itself collects all coverage reports, merges them and then displays them as a final step. Codeclimate is just an additional UI to this data, and the coverage gets uploaded to that service too; however, it's also available as part of the CI build log (both full coverage and diff coverage).
|
| |
|
| |
Without this classifier, recent pip versions reject the installation of tox.
|
| | |
|
| | |
|
| |
|
|
| |
create a ``.package`` virtual environment to perform build operations inside
Resolves #573 and #820.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done via the ``tox.ini`` (``tox`` section under key ``requires`` - PEP-508
style). Can be used to specify both plugin requirements or build
dependencies until we'll have PEP-517 support.
Using ``pkg_resources.Requirement``. Note tox will refuse to run if
cannot satisfy dependencies. It's the users responsibility to ensure
dependencies are satisfied. ``pkg_resources`` is part of setuptools so
added setuptools as dependency.
Realized pkg_resources contain everything we used from packaging,
dropped packaging as a dependency.
|
| |
|
|
|
|
|
|
|
| |
Added a test to check for this via tox env `package-description`.
Using collective.checkdocs and `python setup.py checkdocs`. Note we
could use restview too, however that requires a compilation step so
decided against it. Users can use on an ad-hoc level the command
`restview --pypi-strict --long-description` to visualize locally PyPi
description.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Parralelize and randomize test runs by default
By running tests in parallel we can singificantly speed up our CI and
local tests. We also randomize the order of the tests to make sure we
don't have any latent dependencies in between tests.
* Do not use the projects test file for test_env_spec
* Version and help commands should have their own directory
* Fix test_env_variables_added_to_pcall fails if PYTHONPATH is set
* Calling the console script helps should have its own tox env too
|
| |
|
|
|
|
|
|
| |
With the release of 3.1 looming around and handled by myself decided there's no better time to automate than now.
This involves:
- move from a devpi wheel/sdist creation to a Travis PyPi release trigger
- have a tox target to automatically create release branches (we can then create a PR from this) (use Python instead of bash)
- have a tox target to send the release notifications (use Python instead of bash).
|
| |
|
|
|
|
|
|
|
|
|
| |
* Replace the PEP-386 parser for the more general PEP-440
This means we drop the vendore and not really tested _verlib.py
(PEP-386) in favour of a more battle-tested PEP-440 implementation
of the packaging library (new install requires dependency).
Slight refactor of the functions affected to make them more readable.
Don't break plugins using _getresolvedeps but raise warning of will be removed
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- print link to where documentation is generated
- remove old documentation css
- configure alabaster to display Github stars/Travis CI, and fork me badge
- allow the documentation to span up to 1280 pixels, instead of 800 (this allows many code examples to be much more readable, or changelog entries)
- remove large spaces in between changelog entries for a more compact view
- version strings are italic and bold for a cleaner delimitation inside the changelog
- sections in a version changelog has a smaller top margin for a more compact view
- automatically render news at top of the documentation under DRAFT section, this allows testing the news fragment before release
- remove double header for changelog
- use the ``:user:`` extlinks for changelog entries to link to contributors
Github profile
- improve changelog entry for issue #858
- add a config file for readthedocs
see example output at https://tox-gaborbernat.readthedocs.io/en/doc-impr (or deep dive http://tox-gaborbernat.readthedocs.io/en/doc-impr/changelog.html)
|
| |
|
|
|
|
| |
* move to src layout
* fix coverage
* PR feedback
|
| |
|
| |
:+1: more checks and formats
|
| |
|
|
|
|
|
|
| |
* add import ordering config and hook
* sort imports
* check doc links at releases only
|
| |
|
|
|
|
|
|
| |
* add automatic code format enforcer - black
* convert % to format
* fix double quotes in one line
* some more % to format changes
* use stable release of black
* allow unicode in description
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closes #797
closes #798
closes #799
closes #800
closes #801
closes #754
Also (no extra issues for that):
removed all experimental markers from docstrings (most of them have been there for a few years already). If they turn out wrong/bad, we just have to deprecate them and remove them in a major release
hookimpl is instantiated twice - mark one of them as deprecated and get rid of it later
moved hookimpl to __init__.py - having a hookimpl object in the hookspecs module is unnecessary and confusing. Access to hookimpl should happen as module attribute of tox (clearer where it comes from) - also kept a deprecated reference there for compatibilty.
removed some redundant rst references in hookspecs. If they are initialized once in any namespace they are defined globally (I don't like it either but that is how it works in restructuredText and ignoring that and defining the same things several times is confusing)
move _dummy object to only class where it is needed and name it like the constant that it is
use six for py2/3 compatibility where noticed it and where it is cheap to do
remove dead code
move exception related code into its own module rather than having it hang around in a class looking like a module in __init__.py
there is no need to have an intermediate run_main - that is used everywhere only under the name tox.cmdline rename function and use it directly, just like client code is using it
add a fixture for working in a clean tmpdir
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Display exitcode upon InvocationError.
Issue #290.
Co-authored-by: Daniel Hahler <git@thequod.de>
* hint for exitcode > 128
* add changelog fragment
* use keyword argument instead of try/except
* add documentation
* hints on the potential signal raised + better tests
* pep8 naming: exitcode => exit_code
* rename test_InvocationError => test_invocation_error
* exit code + signal name
* terser note
* remove blank line
* add changelog fragment
* remove "python" from expected_command_arg (fix appveyor)
|
| |
|
|
| |
changing the entry point instead. (#756)
|
| |
|
| |
This fixes a travis-ci tty output issue outlined in https://github.com/pre-commit/pre-commit/pull/676
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
- move fix lint to Travis (faster)
- make sure all coverage data stays in tox work directory
- remove codecov token on AppVeyor (need to pass TOXENV, and other
env variables)
|
| |
|
| |
* drop Python 2.6 and 3.3 support
|
| | |
|
| | |
|
| |
|
|
|
| |
* Upgrade pre-commit hooks
* Add a temporary exclusion for E741
* Fix indentation in setup.py
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* [#614] add towncrier to manage changelog additions
* remove obsolete changelog transformation
not needed anymore now we have towncrier.
* do not limit towncrie version numbering
* cleanup style of setup.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#581)
* [STYLE] Move to flake8, add bugbear, and also check doc and setup.py files
- removed some errors from global list and made it locally ignored
- pin point versions for linters so that release of new versions do
not break CI tests that were successful previously
* fix tuple instead of string arg
see: https://ci.appveyor.com/project/RonnyPfannschmidt/tox/build/1.0.346/job/b6wmkvut8k8k6tpt
* fix import on Windows
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* move documentation from txt to rst files
* remove announce data as this is already present now in changelog
* [DOCS] General fixes
- move to tox sphinx-build command from pytest, so the documentation
can be explored afterwards, and threat warnings as errors, so they are
not ignored
- fix links that no longer exist or redirect permenantly
- make literals code blocks with appropiate syntax highlighting
- remove generated commented lines from conf.py
- add SSL_CERT_FILE env variable sphinxs tls_cacerts so that it will
work behind corporate proxies
* [DOCS] add external links for Github issues, pull requests and users in changelog
* [DOCS] consolidate documentation information to match various platforms
and avoid redundancy
* [DOCS] still show links to legacy release changelogs
|
| |\
| |
| |
| |
| |
| |
| | |
# Conflicts:
# CHANGELOG
# setup.py
# tox/__init__.py
|
| | |
| |
| |
| |
| |
| |
| |
| | |
setuptools_scm removes the need to maintain versions numbers in the source code. This commit removes all code that was needed due to manually handling version numbers.
* remove _getdoctarget.py which was a helper to fetch the version for sphinx
* remove SITETARGET using that script as it is very likely obsolete asI can't find any usage or references to this
* fetch version from pkg_resources instead
|
| | | |
|
| | | |
|