summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Move CI to Github Actions (#2293)Bernát Gábor2021-12-281-1/+0
|
* Bump pre-commit, fix errors (#1586)Bernát Gábor2020-05-201-1/+1
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* use setup.cfg (#1187)Bernát Gábor2019-03-121-57/+1
|
* reqs: bump pytest to "< 5" (#1170)Daniel Hahler2019-02-211-1/+1
| | | It was pinned to "< 4" in 1641dc2 without any specific reason.
* document usage of poetry (#1164)Bernát Gábor2019-02-131-1/+2
| | | | | | | | | * 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
* parallel invocation of tox environments #439 (#1102)Bernát Gábor2019-01-111-0/+1
| | | | | This solution is ``subprocess`` based. We're already heavily using subprocesses, so I consider this implementation safe. Resolves #439.
* Improve accuracy of _alwayscopy_not_supported() (#1133)Jon Dufresne2019-01-101-1/+0
| | | | | | 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.
* Improve README (#1114)Oliver Bestwalter2019-01-021-1/+2
|
* update author and mail after talking to Holger and Bernat (#1112)Oliver Bestwalter2019-01-011-2/+3
| | | As discussed :)
* use distro package to determine linux distributionOliver Bestwalter2018-12-291-0/+1
|
* fix doc buildBernat Gabor2018-10-071-0/+1
|
* Move all documentation files into docs to correctly trigger rtd-bot.Bernat Gabor2018-10-071-114/+66
|
* Move PyPi checks to twineBernat Gabor2018-10-051-3/+0
|
* move doc to docs in order to accommodate rtd-botBernat Gabor2018-10-051-0/+1
|
* Defend against parallel package builds via a file lockBernat Gabor2018-10-041-0/+1
|
* CI - better coverage report, pypy on Azure, add codeclimate (#1031)Bernát Gábor2018-10-031-1/+1
| | | | | | | | | | | | | 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).
* Added Python 3.7 to trove classifiersMarkus Holtermann2018-09-201-1/+1
| | | Without this classifier, recent pip versions reject the installation of tox.
* https-ify some linksAnthony Sottile2018-09-191-2/+2
|
* use setuptools-scm at build time, instead of install timeBernat Gabor2018-09-121-2/+15
|
* PEP-517 source distribution support (#954)Bernát Gábor2018-09-111-1/+6
| | | | create a ``.package`` virtual environment to perform build operations inside Resolves #573 and #820.
* Ability to specify package requirements for the tox run #783 (#936)Bernát Gábor2018-08-091-1/+1
| | | | | | | | | | | | | | 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.
* Fix PyPi description does not render #879Bernat Gabor2018-07-091-1/+11
| | | | | | | | | 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 (#872)Bernát Gábor2018-07-041-5/+6
| | | | | | | | | | | | | | | | * 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
* Move to an automated release flow (#871)Bernát Gábor2018-07-041-1/+0
| | | | | | | | 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 (#860)Gábor Bernát2018-06-291-1/+7
| | | | | | | | | | | * 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
* Documentation improvements (#859)Gábor Bernát2018-06-261-1/+1
| | | | | | | | | | | | | | | | | - 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)
* [#826] switch to source layout (#827)Gábor Bernát2018-06-111-2/+2
| | | | | | * move to src layout * fix coverage * PR feedback
* update to latest black (#833)Gábor Bernát2018-05-291-1/+5
| | | :+1: more checks and formats
* enforce and automate import ordering (#817)Gábor Bernát2018-05-141-1/+1
| | | | | | | | * add import ordering config and hook * sort imports * check doc links at releases only
* add automatic code format enforcer - black (#813)Gábor Bernát2018-05-131-46/+45
| | | | | | | | * 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
* Spring cleaning (#788)Oliver Bestwalter2018-04-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* add tox framework classifierOliver Bestwalter2018-04-281-0/+1
|
* Hint for possible signal upon InvocationError (#766)ederag2018-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Fix #755 by reverting the ``cmdline`` import to the old location and ↵Florian Schulze2018-01-301-1/+1
| | | | changing the entry point instead. (#756)
* Upgrade pre-commit to 1.4.4 (#731)Anthony Sottile2018-01-081-1/+1
| | | This fixes a travis-ci tty output issue outlined in https://github.com/pre-commit/pre-commit/pull/676
* Upgrade pre-commit: better python detection on windows (#722)Anthony Sottile2018-01-031-1/+1
|
* FIX: console script invokation fails, add tests to catch itBernat Gabor2017-12-181-1/+2
|
* move all DEV dependencies to setup.py, optimize CIBernat Gabor2017-12-081-0/+11
| | | | | | | - 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 (#689)Gábor Bernát2017-12-011-29/+16
| | | * drop Python 2.6 and 3.3 support
* Remove unneeded reading from absolute paths (#665)Anthony Sottile2017-10-291-4/+2
|
* tox no longer uses `python setup.py test` (#664)Anthony Sottile2017-10-281-17/+0
|
* Upgrade pre-commit hooks (#662)Anthony Sottile2017-10-271-11/+11
| | | | | * Upgrade pre-commit hooks * Add a temporary exclusion for E741 * Fix indentation in setup.py
* Remove usage of py.builtin (#617)Anthony Sottile2017-09-101-1/+1
|
* [#614] add towncrier to manage changelog additions (#615)Gábor Bernát2017-09-091-32/+14
| | | | | | | | | | | | * [#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
* [STYLE] Move to flake8, add bugbear, and also check doc and setup.py files ↵Gábor Bernát2017-09-071-4/+6
| | | | | | | | | | | | | | | | (#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 (#583)Gábor Bernát2017-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge branch '474-start-using-setuptools-scm'Oliver Bestwalter2017-04-101-1/+2
|\ | | | | | | | | | | | | # Conflicts: # CHANGELOG # setup.py # tox/__init__.py
| * start using setuptools_scmOliver Bestwalter2017-03-121-1/+2
| | | | | | | | | | | | | | | | 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
* | (changelog) use #p to link to pull requests without associate issue.Oliver Bestwalter2017-03-271-3/+4
| |
* | (changelog) enhance with links to mentioned issuesOliver Bestwalter2017-03-271-11/+21
| |