Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #838: handle incorrectly passed empty tag regex as default | Ronny Pfannschmidt | 2023-04-27 | 1 | -0/+7 |
| | |||||
* | chore: test cleanup - drop wd.version | Ronny Pfannschmidt | 2023-04-10 | 1 | -1/+1 |
| | | | | always use the explicit get_version method | ||||
* | switch command for run to avoid pytohn 3.7 windows bug | Ronny Pfannschmidt | 2023-03-29 | 1 | -1/+1 |
| | |||||
* | remove the utils module | Ronny Pfannschmidt | 2023-03-29 | 1 | -2/+2 |
| | | | | | move command utils to _run_cmd move data_from_mime to integration | ||||
* | breaking: purge do/do_ex | Ronny Pfannschmidt | 2023-03-29 | 1 | -7/+2 |
| | |||||
* | refactor: command running - migrate more code to it | Ronny Pfannschmidt | 2023-03-11 | 1 | -2/+2 |
| | |||||
* | refactor: unify command running apis | Ronny Pfannschmidt | 2023-03-11 | 1 | -6/+7 |
| | | | | | | | introduces the _run_cmd private module which is used across the board starts to remove use of the do/do_ex which predate | ||||
* | pre-commit updates | Ronny Pfannschmidt | 2023-02-12 | 1 | -1/+0 |
| | |||||
* | private configruation module | Ronny Pfannschmidt | 2023-01-31 | 1 | -1/+1 |
| | |||||
* | drop the deprecated version_from_scm helper | Ronny Pfannschmidt | 2023-01-18 | 1 | -5/+0 |
| | |||||
* | Bump minimal python to 3.7 | Ronny Pfannschmidt | 2022-05-29 | 1 | -0/+2 |
| | |||||
* | complete mypy transformation | Ronny Pfannschmidt | 2022-05-29 | 1 | -41/+55 |
| | |||||
* | tests: also check named fallback clearing | Henry Schreiner | 2022-02-15 | 1 | -0/+14 |
| | |||||
* | tests: add regression test for SETUPTOOLS_SCM_PRETEND_VERSION | Henry Schreiner | 2022-02-14 | 1 | -0/+13 |
| | |||||
* | fix #669: restore old get_version signature | Ronny Pfannschmidt | 2022-01-18 | 1 | -3/+6 |
| | |||||
* | numerous type fixes and initial guess no dev handling | Ronny Pfannschmidt | 2022-01-13 | 1 | -21/+32 |
| | |||||
* | apply reorder-python-imports | Ronny Pfannschmidt | 2021-08-07 | 1 | -1/+3 |
| | |||||
* | Flake8 | Sylvain MARIE | 2021-06-18 | 1 | -2/+3 |
| | |||||
* | Added a `normalize` boolean flag and a `NonNormalizedVersion` class. Using ↵ | Sylvain MARIE | 2021-06-18 | 1 | -12/+18 |
| | | | | `normalize=False` is equivalent to setting `version_cls=NonNormalizedVersion`. Updated tests, added readme and changelog | ||||
* | Merge branch 'main' of https://github.com/pypa/setuptools_scm into ↵ | Sylvain MARIE | 2021-06-18 | 1 | -0/+12 |
|\ | | | | | | | | | | | | | | | feature/custom_version_cls Conflicts: src/setuptools_scm/version.py testing/test_version.py | ||||
| * | Fix #557 | Kevin Kirsche | 2021-04-14 | 1 | -0/+12 |
| | | | | | | | | | | | | This pull request updates the tuple parser to use `packaging.version`'s parser to retrieve the release tuple. This then checks for the dev and local attributes, including those if applicable. | ||||
* | | First step towards #524 | Sylvain MARIE | 2021-06-17 | 1 | -0/+14 |
|/ | |||||
* | fix #337: if relative_to is given as folder instead of file consider it directly | Ronny Pfannschmidt | 2020-12-11 | 1 | -4/+8 |
| | |||||
* | Add version_tuple to write_to contents | Bruno Oliveira | 2020-08-22 | 1 | -2/+6 |
| | | | | Fix #469 | ||||
* | Allow getting the version from the parent directory suffix. | Antony Lee | 2020-05-01 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | Add a `parentdir_prefix_version` config parameter which allows lets setuptools_scm get a version string from the name of the parent directory: if `parentdir_prefix_version = "foo-"` and the parent directory is named `foo-v12.34`, then the version is 12.34. This is only active if the parameter is set (it defaults to unset, i.e. the feature is opt-in), if getting the version from the SCM failed, *and* there's no metadata already present. However, this has higher priority than `fallback_version` (which remains the last-resort fallback). This feature is intended to support the tarballs that GitHub automatically creates for all releases, which have no metadata but follow the correct naming scheme for the feature to work. This feature is directly inspired from versioneer's `parentdir_prefix` setting. | ||||
* | update pre-commit setup to modern practices and ensure flake8 is in line as ↵ | Ronny Pfannschmidt | 2019-11-25 | 1 | -1/+0 |
| | | | | well (#369) | ||||
* | Don't pass entrypoing name around anymore and allow passing fallback_root to ↵ | Ionel Cristian Mărieș | 2019-05-10 | 1 | -1/+2 |
| | | | | get_version. | ||||
* | Allow setting a fallback version in case everything else fails. | Antony Lee | 2019-03-03 | 1 | -0/+13 |
| | |||||
* | fix #297 - correct the invocation in version_from_scm | Ronny Pfannschmidt | 2018-08-08 | 1 | -0/+5 |
| | |||||
* | Merge pull request #276 from punkadiddle/master | Ronny Pfannschmidt | 2018-07-17 | 1 | -2/+2 |
|\ | | | | | configurable version number extraction from tag strings | ||||
| * | working draft using configuration instance class | punkadiddle | 2018-07-09 | 1 | -2/+2 |
| | | |||||
* | | Add some pretned tests | Jonathan Piron | 2018-07-02 | 1 | -4/+6 |
|/ | |||||
* | breaking change - no longer accept plain strings from parse | Ronny Pfannschmidt | 2018-05-21 | 1 | -7/+3 |
| | | | | its deprecated since 1.x | ||||
* | inflict black on the codebase :) | Ronny Pfannschmidt | 2018-05-13 | 1 | -25/+29 |
| | |||||
* | acceptance test and changelog for issue #167 | Ronny Pfannschmidt | 2017-04-08 | 1 | -0/+3 |
| | |||||
* | fix tests for windows paths | Ronny Pfannschmidt | 2017-02-08 | 1 | -6/+6 |
| | |||||
* | troughly pass all versions trough parsed versions | Ronny Pfannschmidt | 2016-10-05 | 1 | -1/+3 |
| | |||||
* | introduce parse_scm_fallback concept and fix parse hooks | Ronny Pfannschmidt | 2015-12-07 | 1 | -2/+2 |
| | | | | | before parse hooks would just break if the scm they would use was not availiable now after parse, setuptools-scm runs the fallbacks | ||||
* | coding and documentation style cleanups | Ronny Pfannschmidt | 2015-12-07 | 1 | -1/+1 |
| | |||||
* | introduce scm parser overriding fixes #70 and #71 | Ronny Pfannschmidt | 2015-12-06 | 1 | -0/+6 |
| | |||||
* | support enforcing version numbers via the env | Ronny Pfannschmidt | 2015-12-01 | 1 | -0/+6 |
| | |||||
* | remove forgotten tests | Ronny Pfannschmidt | 2015-11-28 | 1 | -34/+0 |
| | | | | due to git missuse the file cahnge was not added in the previous commit | ||||
* | finish extracting mercurial tests into own file | Ronny Pfannschmidt | 2015-11-28 | 1 | -94/+3 |
| | |||||
* | simplify data from mime test | Ronny Pfannschmidt | 2015-11-28 | 1 | -4/+3 |
| | |||||
* | move hg archival test | Ronny Pfannschmidt | 2015-11-28 | 1 | -25/+0 |
| | |||||
* | Now that /tmp is no longer hard-coded, supply a more interesting root. | Jason R. Coombs | 2015-11-14 | 1 | -2/+2 |
| | |||||
* | Extend the extraction of the root assertion so that it's re-used by all ↵ | Jason R. Coombs | 2015-11-14 | 1 | -12/+14 |
| | | | | test_root functions | ||||
* | It seems the cache parameter is unused and needs not be supplied | Jason R. Coombs | 2015-11-14 | 1 | -1/+1 |
| | |||||
* | Add relative_to parameter to get_version. Fixes #44 and fixes #45. | Jason R. Coombs | 2015-11-12 | 1 | -0/+5 |
| | |||||
* | Extract assert_root_tmp fixture | Jason R. Coombs | 2015-11-12 | 1 | -1/+5 |
| |