Comments (7)
No problem. Thanks for your contribution anyway. If you observe anything else, don't hesitate and open a issue.
from python-semver.
Thanks for the reply @tomschr!
I'm already a big fan of your package 😉! I use it in https://github.com/dfetch-org/dfetch.
In my case a sub-sub dev-dependency started using poetry-semver
unfortunately 😢. This caused pylint to start complaining which brought me to this issue. prospector --> requirements-detector --> poetry-semver
I've opened an issue in the requirements-detector repository to replace poetry-semver
with semver
(landscapeio/requirements-detector#40) maybe I can create a new fan 😉.
from python-semver.
Thanks Ben/@spoorcc! Oh, that's really nice, thank you!
Ahh yes, naming things can be really tricky. I'm sorry for your issues. I thought about renaming the package, but wasn't sure if that wouldn't cause more problems than it solved.
Thanks for opening the new issue. 👍 Hope they can migrate it to this project. 😉
All the best and if you have further ideas, comments, bug fixes etc. let us know.
from python-semver.
Thanks @slayer321 for your report and welcome! 👋
I'm not sure if I understand your issue. The current master branch contains the development version of this project (currently 2.0.0-dev.3).
The class VersionInfo
was the old name; it has been renamed to Version
. Regardless of the name change, there is still an alias VersionInfo available.
Here is a small session that use both:
$ PYTHONPATH=src python3 -c "import semver; print(semver.VersionInfo.parse('1.2.3-pre.2+build.4'))"
1.2.3-pre.2+build.4
$ PYTHONPATH=src python3 -c "import semver; print(semver.Version.parse('1.2.3-pre.2+build.4'))"
1.2.3-pre.2+build.4
Can you elaborate? 🙂 Are you still using the old version 2? That change will be introduced in semver v3.
from python-semver.
yes, I check I'm still using semver 2 .. Will close this issue
from python-semver.
For whomever it may be useful, I ran into a similar issue, but this was due to a package bringing in poetry-semver
. This is also called semver
and had me scratching my head for a while before figuring out.
from python-semver.
For whomever it may be useful, I ran into a similar issue, but this was due to a package bringing in
poetry-semver
. This is also calledsemver
and had me scratching my head for a while before figuring out.
Thanks for the comment @spoorcc! We have the similar issue #259. Unfortunately, the name "semver" is very common. I'm not sure how to solve this as PyPI allows libraries of the same name.
Regarding the python-semver: the GitHub project is archived. It seems, it was done as the project isn't maintained anymore. The last commit was 3 years ago. Maybe a good opportunity to migrate to this project? 😉
from python-semver.
Related Issues (20)
- v2.0.0 HOT 1
- Improve pyproject.toml HOT 1
- Bumping alphanumeric identifiers HOT 12
- Remove support for Python 3.6? HOT 2
- Use hatchling build backend HOT 9
- Update Towncrier config in pyproject.toml HOT 1
- Consistent Title Case in Changelog Headings HOT 1
- remove HOT 1
- Feature request: support `pyproject.toml` version strings HOT 3
- Semver breaks on additional installation of conan and artifactory HOT 6
- Parse PEP440 versions HOT 3
- Problem building the package HOT 4
- Module "semver" does not explicitly export attribute "Version" HOT 4
- Support version bump while perserving build metadata HOT 5
- failing tests in docs and _pytest.pathlib.ImportPathMismatchError HOT 5
- Update "5.4. Combining Pydantic and semver" documentation to Pydantic v2.0 HOT 1
- Replace method not compatible with SubClasses HOT 2
- code in "Combining Pydantic and semver" doc contains bug on serialization to json. HOT 1
- ValueError: 7.06.17705.0 is not valid SemVer string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-semver.