-
-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft-06 Support #337
Comments
It's definitely planned yep, just a bit behind. Patches definitely welcome. Branch notes:
|
I've just raised a PR (#370) addressing the currently failing tests. To continue the conversation in the appropriate place, are there particular components of the above checklist that you'd appreciate some help with? Or indeed anything new you have realised that needs work before draft6 support is complete? |
FYI: Draft 7 was recently published. |
Hi, what tasks from #337 (comment) are still undone? |
@quantum13 so the main one is to update the draft-06 branch with @bsmithers' type checker changes. I was hoping/planning to get a release out first just containing those, and then to get to merging them into the draft 6 stuff. Out of curiosity for anyone following this ticket, do y'all have interest specifically in draft 6, or would jumping directly to draft 7/8 be just as acceptable? |
I think python-hyper/uritemplate#36 is still open as well, so we'd need to help out with getting that one merged there. |
As a follower of this ticket: @Julian, I'd be happy to jump to 7/8. |
@adamcharnock thanks. (Want to by the way say to all those following this ticket that I wish these things would get done faster but unfortunately open source gets an exceedingly small fraction of my time these days with all of the other fun things in life... Really am hoping to get out a release with newer draft support within the next 2-3 weeks though.) |
@adamcharnock draft-07 is a pretty small incremental step that is backwards-compatible with draft-06, so it should be relatively fast to add, and near-trivial to support both. draft-08 will be more substantial, so it would be really good to at least get to draft-06 (and past draft-04) rather than wait for the even larger draft-08. |
wrong adam |
My two cents: I think it's a better idea to move to draft-06 first, as this is a more natural step than jumping that version. Of course, some people might get unhappy that it's moving slower to draft-07, but it's a less surprising move, and it copes better with supporting all drafts by the end of the day. |
I would be happy to jump right ahead to 7/8. If there is no impl for draft-06 in python how many people would actually miss it? I mean: I assume the majority of the users probably would just want to upgrade to the latest version. |
@iddan draft-06 has had more implementations in the wild for quiet some time now, in JavaScript, Java, .NET, Go, PHP, and perhaps others. It is important to support interoperability while the drafts are evolving. Plus, I will repeat, again: draft-07 is a small increment on top of draft-06. If you implement draft-07 you already implemented draft-06. Since draft-06 is smaller, just implement that much, release it, then finish draft-07. Please everyone stop making this a more complicated decision than it needs to be. |
OK, still a few more outstanding items here, but making some progress... Anyone who wants an early look is welcome to try out the There likely will be a beta in a few days as soon as some more of the outstanding checklist is checked off, but I believe things should at least function at the minute. |
@Julian it looks like the draft-06 branch got merged in, is there a chance for a beta on PyPI? |
I think you meant to tag @Julian 😉 |
@julesjulian fixed! |
@graingert yeah I should... will have a look at cutting one hopefully this weekend |
@Julian it would be super awesome to get travis to automatically ship every commit with the dev version and commit hash: eg like on rtfd, |
If you send a PR that does that I'm happy to merge it!
…On Thu, Jun 7, 2018 at 8:16 PM, Thomas Grainger ***@***.***> wrote:
@Julian <https://github.com/Julian> it would be super awesome to get
travis to automatically ship every commit as: with the dev version and
commit hash: jsonschema 2.6.1.dev237+g9632422
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#337 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUIXq307he2q1GkiZIicHgP4UBN4Z_-ks5t6cJKgaJpZM4NssKy>
.
|
@graingert I don't think PyPI lets you upload dev releases so not sure it'd work completely as is but will have a look at your PR, thanks! |
I'm pretty sure it does allow dev releases...
…On Mon, 3 Sep 2018, 09:59 Julian Berman, ***@***.***> wrote:
@graingert <https://github.com/graingert> I don't think PyPI lets you
upload dev releases so not sure it'd work completely as is but will have a
look at your PR, thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#337 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZQTNodhPDeVX92qd5mgqKQmUCSub9xks5uXO-KgaJpZM4NssKy>
.
|
|
For now, this needs the pre-release version of jsonschema: * python-jsonschema/jsonschema#337 * https://pypi.org/project/jsonschema/#history
For now, this needs the pre-release version of jsonschema: * python-jsonschema/jsonschema#337 * https://pypi.org/project/jsonschema/#history
For now, this needs the pre-release version of jsonschema: * python-jsonschema/jsonschema#337 * https://pypi.org/project/jsonschema/#history
When importing version 2.6.0 I don't see Draft6Validator. Does that make sense? |
6 support is in the alpha releases only (3.0+)
…On Sun, Sep 23, 2018, 06:39 Iddan Aaronsohn ***@***.***> wrote:
When importing version 2.6.0 I don't see Draft6Validator. Does that make
sense?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#337 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUIXjR27EunIxyGa6BY9FcGIPF3uma7ks5ud2TTgaJpZM4NssKy>
.
|
For now, this needs the pre-release version of jsonschema: * python-jsonschema/jsonschema#337 * https://pypi.org/project/jsonschema/#history
Is it in plan to support draft-06?
in my Project i need to use
propertyNames
to validate object keys agains regex pattern.but
propertyNames
was introduced in draft-06.for now i am using
patternProperties
with"additionalProperties": False
together, but the error is confusing because of "schema does not allow additional properties"The text was updated successfully, but these errors were encountered: