Skip to content

Fix Python 2.6 support (or desupport it) #271

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

Closed
bhearsum opened this issue Jan 19, 2016 · 5 comments
Closed

Fix Python 2.6 support (or desupport it) #271

bhearsum opened this issue Jan 19, 2016 · 5 comments

Comments

@bhearsum
Copy link

Currently, Python 2.6 is claimed to be supported, but due to the dependency on functools32 (for lru_cache), it is not. functools32 does not support Python 2.6, so jsonschema doesn't either by extension.

@Julian
Copy link
Member

Julian commented Jan 19, 2016

Py26 support has been dropped already in aa2cd27.

On previous releases, it works perfectly fine and jsonschema did support it. As you can see in that commit, caching was via repoze.lru.

@Julian Julian closed this as completed Jan 19, 2016
@bhearsum
Copy link
Author

Ah, mea culpa! Should https://pypi.python.org/pypi/jsonschema/2.5.1 be updated to reflect this as well?

@Julian
Copy link
Member

Julian commented Jan 20, 2016

No worries! 2.5.1 was the last release to support 2.6 -- have you seen
issues with it?
On Jan 20, 2016 8:37 AM, "Ben Hearsum" [email protected] wrote:

Ah, mea culpa! Should https://pypi.python.org/pypi/jsonschema/2.5.1 be
updated to reflect this as well?


Reply to this email directly or view it on GitHub
#271 (comment).

@bhearsum
Copy link
Author

I thought I had...but this is probably PEBKAC. I installed jsonschema into a vendor lib with Python 2.7, but then ran the app with Python 2.6, so it probably chose the wrong version. Sorry for the noise!

@Julian
Copy link
Member

Julian commented Jan 20, 2016

Got it, no worries, glad it worked in the end. Cheers.

Julian added a commit that referenced this issue Jul 26, 2019
c09f995c Spell checkin'.
93b5387c Merge pull request #271 from Zac-HD/hypothesis-tests
fddd43bd booleans are not equal to numbers
d8a820aa Nested anyOf test
0c0fdc12 Add hypothesis-jsonschema to README
59181b43 updated 'output' subschema
664aa98a Optionally allow an output property.
4bd56e35 Merge pull request #270 from ahx/patch-1
8be471df Add json_schemer to list to implementors
9cbad896 Merge remote-tracking branch 'gregsdennis/defs'
12a62baf Show a more helpful message when someone forgets to update both remotes locations.
f43e07fe added new remote to appropriate files
1ce104fb un-add draft2019-04
2a68cdd5 updated some references to previous drafts; created new name remote for $defs
19803ceb Merge pull request #3 from json-schema-org/defs
a6e836c6 Merge pull request #2 from json-schema-org/master
65e3480c Rename definitions to $defs in the 2019-06 draft.
366f15bd added initial set of tests (with expected output) for draft/2019-04
147da3d2 Merge pull request #1 from json-schema-org/master

git-subtree-dir: json
git-subtree-split: c09f995c94d6f0e004e7be32d6de74e331ecbfa0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants