summaryrefslogtreecommitdiff
path: root/testing/test_basic_api.py
Commit message (Collapse)AuthorAgeFilesLines
* fix #838: handle incorrectly passed empty tag regex as defaultRonny Pfannschmidt2023-04-271-0/+7
|
* chore: test cleanup - drop wd.versionRonny Pfannschmidt2023-04-101-1/+1
| | | | always use the explicit get_version method
* switch command for run to avoid pytohn 3.7 windows bugRonny Pfannschmidt2023-03-291-1/+1
|
* remove the utils moduleRonny Pfannschmidt2023-03-291-2/+2
| | | | | move command utils to _run_cmd move data_from_mime to integration
* breaking: purge do/do_exRonny Pfannschmidt2023-03-291-7/+2
|
* refactor: command running - migrate more code to itRonny Pfannschmidt2023-03-111-2/+2
|
* refactor: unify command running apisRonny Pfannschmidt2023-03-111-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 updatesRonny Pfannschmidt2023-02-121-1/+0
|
* private configruation moduleRonny Pfannschmidt2023-01-311-1/+1
|
* drop the deprecated version_from_scm helperRonny Pfannschmidt2023-01-181-5/+0
|
* Bump minimal python to 3.7Ronny Pfannschmidt2022-05-291-0/+2
|
* complete mypy transformationRonny Pfannschmidt2022-05-291-41/+55
|
* tests: also check named fallback clearingHenry Schreiner2022-02-151-0/+14
|
* tests: add regression test for SETUPTOOLS_SCM_PRETEND_VERSIONHenry Schreiner2022-02-141-0/+13
|
* fix #669: restore old get_version signatureRonny Pfannschmidt2022-01-181-3/+6
|
* numerous type fixes and initial guess no dev handlingRonny Pfannschmidt2022-01-131-21/+32
|
* apply reorder-python-importsRonny Pfannschmidt2021-08-071-1/+3
|
* Flake8Sylvain MARIE2021-06-181-2/+3
|
* Added a `normalize` boolean flag and a `NonNormalizedVersion` class. Using ↵Sylvain MARIE2021-06-181-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 MARIE2021-06-181-0/+12
|\ | | | | | | | | | | | | | | feature/custom_version_cls  Conflicts:  src/setuptools_scm/version.py  testing/test_version.py
| * Fix #557Kevin Kirsche2021-04-141-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 #524Sylvain MARIE2021-06-171-0/+14
|/
* fix #337: if relative_to is given as folder instead of file consider it directlyRonny Pfannschmidt2020-12-111-4/+8
|
* Add version_tuple to write_to contentsBruno Oliveira2020-08-221-2/+6
| | | | Fix #469
* Allow getting the version from the parent directory suffix.Antony Lee2020-05-011-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 Pfannschmidt2019-11-251-1/+0
| | | | well (#369)
* Don't pass entrypoing name around anymore and allow passing fallback_root to ↵Ionel Cristian Mărieș2019-05-101-1/+2
| | | | get_version.
* Allow setting a fallback version in case everything else fails.Antony Lee2019-03-031-0/+13
|
* fix #297 - correct the invocation in version_from_scmRonny Pfannschmidt2018-08-081-0/+5
|
* Merge pull request #276 from punkadiddle/masterRonny Pfannschmidt2018-07-171-2/+2
|\ | | | | configurable version number extraction from tag strings
| * working draft using configuration instance classpunkadiddle2018-07-091-2/+2
| |
* | Add some pretned testsJonathan Piron2018-07-021-4/+6
|/
* breaking change - no longer accept plain strings from parseRonny Pfannschmidt2018-05-211-7/+3
| | | | its deprecated since 1.x
* inflict black on the codebase :)Ronny Pfannschmidt2018-05-131-25/+29
|
* acceptance test and changelog for issue #167Ronny Pfannschmidt2017-04-081-0/+3
|
* fix tests for windows pathsRonny Pfannschmidt2017-02-081-6/+6
|
* troughly pass all versions trough parsed versionsRonny Pfannschmidt2016-10-051-1/+3
|
* introduce parse_scm_fallback concept and fix parse hooksRonny Pfannschmidt2015-12-071-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 cleanupsRonny Pfannschmidt2015-12-071-1/+1
|
* introduce scm parser overriding fixes #70 and #71Ronny Pfannschmidt2015-12-061-0/+6
|
* support enforcing version numbers via the envRonny Pfannschmidt2015-12-011-0/+6
|
* remove forgotten testsRonny Pfannschmidt2015-11-281-34/+0
| | | | due to git missuse the file cahnge was not added in the previous commit
* finish extracting mercurial tests into own fileRonny Pfannschmidt2015-11-281-94/+3
|
* simplify data from mime testRonny Pfannschmidt2015-11-281-4/+3
|
* move hg archival testRonny Pfannschmidt2015-11-281-25/+0
|
* Now that /tmp is no longer hard-coded, supply a more interesting root.Jason R. Coombs2015-11-141-2/+2
|
* Extend the extraction of the root assertion so that it's re-used by all ↵Jason R. Coombs2015-11-141-12/+14
| | | | test_root functions
* It seems the cache parameter is unused and needs not be suppliedJason R. Coombs2015-11-141-1/+1
|
* Add relative_to parameter to get_version. Fixes #44 and fixes #45.Jason R. Coombs2015-11-121-0/+5
|
* Extract assert_root_tmp fixtureJason R. Coombs2015-11-121-1/+5
|