Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
5487b030
Commit
5487b030
authored
14 years ago
by
Scott Kitterman
Browse files
Options
Downloads
Patches
Plain Diff
In pyversions, do not silently ignore Python 3 versions
parent
2c46a2df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+2
-1
2 additions, 1 deletion
debian/changelog
debian/pyversions.py
+3
-2
3 additions, 2 deletions
debian/pyversions.py
with
5 additions
and
3 deletions
debian/changelog
+
2
−
1
View file @
5487b030
...
...
@@ -2,8 +2,9 @@ python-defaults (2.6.5-13) UNRELEASED; urgency=low
* Python policy changes for X-Python-Version and X-Python3-Version
- Minimum changes for Squeeze
* In pyversions, do not silently ignore Python 3 versions
-- Scott Kitterman <scott@kitterman.com> Tue, 10 Aug 2010 22:2
2:49
-0400
-- Scott Kitterman <scott@kitterman.com> Tue, 10 Aug 2010 22:2
7:20
-0400
python-defaults (2.6.5-12) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
debian/pyversions.py
+
3
−
2
View file @
5487b030
...
...
@@ -56,8 +56,9 @@ def parse_versions(vstring, add_exact=False):
raise
ValueError
(
'
error parsing Python-Version attribute
'
)
op
,
v
=
m
.
group
(
1
),
m
.
group
(
2
)
vmaj
,
vmin
=
v
.
split
(
'
.
'
)
if
int
(
vmaj
)
>
2
:
continue
# Don't silently ignore Python 3 versions for Squeeze.
#if int(vmaj) > 2:
# continue
if
op
in
(
None
,
'
=
'
):
exact_versions
.
add
(
v
)
else
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment