Comments (6)
Good question - the versions are parsed by semver, so it may be outside our
control. I'll check later when I'm back home.
On Wed, 27 Apr 2016, 04:39 HomemBravo, [email protected] wrote:
First of all, thank you very much for the previous fix 👍
We I tried with my own project packages there was another error that I
would like to share:ValueError at /package_monitor/reload/
Invalid leading zero in minor: '0.04.17'The version is related to Unicode==0.04.17
Is it something related to semantic? If so, warn me if I am on the right
repo.Kind regards,
Andre Carpinteiro
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#10
from django-package-monitor.
@HomemBravo I've taken a look - and yes, it is semantic-version
that is raising the error. However, I couldn't install or find the package Unicode
to test with. Is this a real package?
from django-package-monitor.
@hugorodgerbrown
Terrible sorry for the confusion:
https://pypi.python.org/pypi/Unidecode
from django-package-monitor.
The line that blows up is in the semantic_version project, here -
https://github.com/rbarrois/python-semanticversion/blob/master/semantic_version/base.py#L205
if _has_leading_zero(minor):
raise ValueError("Invalid leading zero in minor: %r" % version_string)
So it looks like this is explicitly forbidden - which means it's
unlikely to be amended.
The workaround within this project is to handle unparseable versions.
from django-package-monitor.
@HomemBravo I am closing this issue, and have opened a new issue (#11) around better handling of errors.
from django-package-monitor.
@HomemBravo this has been fixed (see #12 ) and uploaded to PyPI as v0.3.5
from django-package-monitor.
Related Issues (14)
- Apps aren't loaded yet HOT 3
- TypeError in models.py HOT 4
- KeyError: 'HTTP_REFERER' HOT 3
- IndexError in models.py HOT 1
- Update requirements to use official version python-semanticversion (2.5.0) HOT 2
- django-package-monitor HOT 3
- Handle semantic_version.parse errors HOT 5
- Suggestion: configurable warnings about unwanted licences
- Ensure compatible with Django 1.9/1.10 HOT 1
- DB field length overflow problem HOT 1
- Strip comments from requirement lines HOT 2
- Update project to use poetry / poetry-template
- Update failure if PyPI json failure
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 django-package-monitor.