Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | breaking: unify version.distance to int | Ronny Pfannschmidt | 2023-04-03 | 1 | -22/+23 |
| | | | | the difference between distance=0 and distance=None was hiding issues | ||||
* | remove the utils module | Ronny Pfannschmidt | 2023-03-29 | 1 | -1/+1 |
| | | | | | move command utils to _run_cmd move data_from_mime to integration | ||||
* | private configruation module | Ronny Pfannschmidt | 2023-01-31 | 1 | -2/+2 |
| | |||||
* | Bump minimal python to 3.7 | Ronny Pfannschmidt | 2022-05-29 | 1 | -0/+2 |
| | |||||
* | complete mypy transformation | Ronny Pfannschmidt | 2022-05-29 | 1 | -10/+15 |
| | |||||
* | numerous type fixes and initial guess no dev handling | Ronny Pfannschmidt | 2022-01-13 | 1 | -12/+15 |
| | |||||
* | apply reorder-python-imports | Ronny Pfannschmidt | 2021-08-07 | 1 | -8/+8 |
| | |||||
* | fix: drop more Python 2 manually | Henry Schreiner | 2021-03-16 | 1 | -3/+0 |
| | |||||
* | testing: use and test SOURCE_DATE_EPOCH handling | Rasmus Villemoes | 2020-10-14 | 1 | -11/+5 |
| | | | | | | | | | | | | | Now that SOURCE_DATE_EPOCH is honoured, we can avoid the need to monkeypatch the time attribute with a MockTime object, while at the same time testing handling of SOURCE_DATE_EPOCH being set in the environment. Most tests will actually benefit from knowing exactly what to expect, so set SOURCE_DATE_EPOCH globally. There's an existing test in test_git.py which currently manually produces the yyyymmdd string to compare to - extend that test a bit to do it both with and without SOURCE_DATE_EPOCH being set, so that we keep at least one "today's date" test. | ||||
* | no-local-version scheme and improved documentation | con-f-use | 2020-02-07 | 1 | -0/+3 |
| | |||||
* | update pre-commit setup to modern practices and ensure flake8 is in line as ↵ | Ronny Pfannschmidt | 2019-11-25 | 1 | -1/+0 |
| | | | | well (#369) | ||||
* | fix unintended missing parameters | Ronny Pfannschmidt | 2018-10-27 | 1 | -5/+9 |
| | |||||
* | Merge pull request #276 from punkadiddle/master | Ronny Pfannschmidt | 2018-07-17 | 1 | -5/+5 |
|\ | | | | | configurable version number extraction from tag strings | ||||
| * | working draft using configuration instance class | punkadiddle | 2018-07-09 | 1 | -5/+5 |
| | | |||||
* | | Add some pretned tests | Jonathan Piron | 2018-07-02 | 1 | -3/+6 |
|/ | |||||
* | fix #266 and add a unittest for the tag_to_version | Ronny Pfannschmidt | 2018-05-22 | 1 | -1/+19 |
| | |||||
* | inflict black on the codebase :) | Ronny Pfannschmidt | 2018-05-13 | 1 | -35/+39 |
| | |||||
* | resuffle version formatting, remove distance knowlege from guessing of the ↵ | Ronny Pfannschmidt | 2018-04-09 | 1 | -6/+6 |
| | | | | next version | ||||
* | Simply use samefile to compare if two paths refer to the same path. Ref #174. | Jason R. Coombs | 2017-12-25 | 1 | -58/+0 |
| | |||||
* | test_functions: test WinError() gets last error message | Cosimo Lupo | 2017-06-20 | 1 | -0/+7 |
| | |||||
* | test_functions: add test for get_windows_long_path_name | Cosimo Lupo | 2017-06-20 | 1 | -0/+54 |
| | |||||
* | Update test to reflect canonical syntax. Ref #126. | Jason R. Coombs | 2016-10-26 | 1 | -1/+1 |
| | |||||
* | Add test capturing failure. Ref #126. | Jason R. Coombs | 2016-10-26 | 1 | -0/+1 |
| | |||||
* | fix flake8 transgressions | Ronny Pfannschmidt | 2016-10-20 | 1 | -1/+2 |
| | |||||
* | fix #81 - fail more nice if git/hg is not availiable | Ronny Pfannschmidt | 2016-10-20 | 1 | -1/+7 |
| | |||||
* | fix #107 - dont use node if it is none | Ronny Pfannschmidt | 2016-10-12 | 1 | -8/+8 |
| | |||||
* | fix issue #103 - reorder version dumping | Ronny Pfannschmidt | 2016-10-05 | 1 | -1/+1 |
| | |||||
* | properly write version file even if in pretend mode | Antoine Beaupré | 2016-10-05 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | before this, SETUPTOOLS_SCM_PRETEND_VERSION make setuptools_scm fail to write the `write_to` file correctly. this was apparently to avoid issues with archives, which we believe is not a problem anymore. this *is*, however, a problem for other tools like Debian packaging: there, we use the pretend mechanism to import the version number from the Debian packaging system (from `debian/changelog`, usually). this works at setup time: setuptools_scm has the proper environment and detects the version. but if the software was written to depend on the `write_to` file, it will fail to find that version at runtime because `setup.py` will not have written the `write_to` file properly at build time. this patch simply makes sure that the version is written even if the provided version number is a string, which is usually the case for pretend version numbers. a fixed test case is also provided. Closes: #101 | ||||
* | Updated test in 990c5bd to use built in pytest fixture. | Te-jé Rodgers | 2015-07-21 | 1 | -12/+3 |
| | |||||
* | Last commit failed flake8 (crappy editor). Resolved. | Te-jé Rodgers | 2015-07-21 | 1 | -3/+3 |
| | |||||
* | Added test for 95ad537a8e595700a4d1964c4b1c2d8ce8aeb38c | Te-jé Rodgers | 2015-07-21 | 1 | -0/+18 |
| | |||||
* | make version construction pluggable | Ronny Pfannschmidt | 2015-02-21 | 1 | -21/+33 |
| | | | | | | fixes #17 fixes #19 fixes #16 | ||||
* | pluggable versioning schemes | Ronny Pfannschmidt | 2015-02-21 | 1 | -5/+10 |
| | |||||
* | create a package, return to self-use, split module | Ronny Pfannschmidt | 2015-02-17 | 1 | -0/+32 |