- 22 Oct, 2019 1 commit
-
-
Thomas Goirand authored
-
- 23 Sep, 2019 3 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
Tagging 2.8.2
-
- 13 Sep, 2019 1 commit
-
-
Thomas Goirand authored
-
- 06 Sep, 2019 2 commits
-
-
Raphaël Barrois authored
-
Raphaël Barrois authored
This (deprecated) property failed when used on a `Spec` item based on a single-term range (e.g. `==0.1.2` `<2.0.0`). Closes #82.
-
- 30 Aug, 2019 1 commit
-
-
Dan Kolbman authored
Signed-off-by:Raphaël Barrois <raphael.barrois@polytechnique.org>
-
- 29 Aug, 2019 6 commits
-
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
This attribute wasn't meant to be removed.
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
- 28 Aug, 2019 9 commits
-
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
Streamline the release process.
-
Raphaël Barrois authored
Always include every dev/doc/test related files.
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
- 27 Aug, 2019 1 commit
-
-
Raphaël Barrois authored
Write clear, explicit rules for the `SimpleSpec` syntax.
-
- 26 Aug, 2019 8 commits
-
-
Raphaël Barrois authored
Their comparison semantics were ill-defined, and mostly an implementation detail for the old, 'native' specs.
-
Raphaël Barrois authored
- Use proper theme in development - Use ReadTheDocs version numbers in titles
-
Raphaël Barrois authored
This will be used in `sort(..., key=lambda v: v.precedence_key)`. Remove previous comparison/ordering implementation. The current implementation relies on a 4-tuple: - major, minor, patch (as integers) - natural order matches precedence rules - a tuple of identifiers for the prerelease component. The identifiers for the prerelease components are based on: - A `NumericIdentifier` class, that compares number using their natural order, and always compares lower than non-numeric identifiers - A `AlphaIdentifier` class for non-numeric identifiers; it compares versions using ASCII ordering. - A `MaxIdentifier` class, that compares higher to any other identifier; used to ensure that a non-prerelease version is greater than any of its prereleases.
-
Raphaël Barrois authored
Using `make update` is closer to common patterns than `make install-deps`; it is also suitable to update the local development environment.
-
Raphaël Barrois authored
-
Raphaël Barrois authored
The internal features from those classes will be removed in future versions: - The `Spec` class is incompatible with the support of multiple syntaxes - The `SpecItem` class was an implementation detail, but doesn't support complex `Range` combinations.
-
Raphaël Barrois authored
The code follows closely the specification available at https://docs.npmjs.com/misc/semver.html. Despite similarities, the matching logic is fully separate from the `native` code, since both might evolve at their own scales.
-
Raphaël Barrois authored
Instead of choosing the comparison on each `.match()` call, the expression is converted to a combination of `Range()` expressions (simple comparison to a semver-compliant `Version`). `Range()` objects can be combined with `And` and `Or` through the `AnyOf` and `AllOf` clauses (sticking to Python's naming scheme). Some specific flags have been provided to those range, allowing users to subtly alter the matching behaviour - thus accomodating different versioning schemes: - `<0.1.2` won't match `0.1.2-rc1`, unless the prerelease_policy flag is set to either `always` or `same-patch` - `<0.1.2` will match `0.1.1-rc1`, unless the `prerelease_policy` flag is set to `same-patch` - `==0.1.2` will always match `0.1.2+build44`, unless the `build_policy` is set to `strict`. The `Spec` item has been updated, alongside `SpecItem`. Those objects keep the original expression as attributes, but don't use them for comparisons.
-
- 24 Aug, 2019 8 commits
-
-
Raphaël Barrois authored
-
Raphaël Barrois authored
According to the stated goal of "intuitive" behaviour, we want: ``Version('0.1.1-a1') not in Spec('<0.1.1')``. Tests, code and docs have been fixed. -
Raphaël Barrois authored
This simplifies computing neighbouring versions.
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
-
Raphaël Barrois authored
This provides more helpful error messages when a test fails.
-
Raphaël Barrois authored
-