[med-svn] [Git][med-team/pyqi][master] 4 commits: Also allow python3.11 as supported option
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sat Jan 14 15:25:25 GMT 2023
Andreas Tille pushed to branch master at Debian Med / pyqi
Commits:
a52a8ec4 by Andreas Tille at 2023-01-14T16:20:49+01:00
Also allow python3.11 as supported option
- - - - -
0fff0a58 by Andreas Tille at 2023-01-14T16:21:08+01:00
routine-update: Standards-Version: 4.6.2
- - - - -
26de7c44 by Andreas Tille at 2023-01-14T16:21:19+01:00
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
Changes-By: lintian-brush
- - - - -
bd010266 by Andreas Tille at 2023-01-14T16:24:22+01:00
Upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/patches/2to3.patch
- debian/upstream/metadata
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+pyqi (0.3.2+dfsg-9) unstable; urgency=medium
+
+ * Also allow python3.11 as supported option
+ Closes: #1028842
+ * Standards-Version: 4.6.2 (routine-update)
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+
+ -- Andreas Tille <tille at debian.org> Sat, 14 Jan 2023 16:21:28 +0100
+
pyqi (0.3.2+dfsg-8) unstable; urgency=medium
* Team Upload.
=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (= 13),
python3-setuptools,
sphinx-common,
libjs-sphinxdoc
-Standards-Version: 4.5.1
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/med-team/pyqi
Vcs-Git: https://salsa.debian.org/med-team/pyqi.git
Homepage: https://pypi.python.org/pypi/pyqi/
=====================================
debian/patches/2to3.patch
=====================================
@@ -5,7 +5,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
--- a/doc/conf.py
+++ b/doc/conf.py
-@@ -40,8 +40,8 @@
+@@ -40,8 +40,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
@@ -16,7 +16,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
-@@ -181,8 +181,8 @@
+@@ -181,8 +181,8 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
@@ -27,7 +27,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
]
# The name of an image file (relative to this directory) to place at the top of
-@@ -211,8 +211,8 @@
+@@ -211,8 +211,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
@@ -38,7 +38,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
]
# If true, show URL addresses after external links.
-@@ -225,8 +225,8 @@
+@@ -225,8 +225,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
@@ -51,7 +51,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
--- a/doc/tutorials/defining_new_commands.rst
+++ b/doc/tutorials/defining_new_commands.rst
-@@ -20,7 +20,7 @@
+@@ -20,7 +20,7 @@ To create our sequence collection summar
If you run this command locally, substituting your own name where applicable, you'll have a new file called ``sequence_collection_summarizer.py``, which will look roughly like the following::
@@ -60,7 +60,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
from __future__ import division
__credits__ = ["Greg Caporaso"]
-@@ -117,7 +117,7 @@
+@@ -117,7 +117,7 @@ A complete example Command
The following illustrates a complete python file defining a new pyqi ``Command``::
@@ -69,7 +69,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
from __future__ import division
__credits__ = ["Greg Caporaso"]
-@@ -180,11 +180,11 @@
+@@ -180,11 +180,11 @@ At this stage you have defined a new com
>>> r
{'max_length': 12, 'min_length': 6, 'num_seqs': 2}
# Alternatively, you can access each value independently, as with any dictionary.
@@ -86,7 +86,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
# For example, we can call the command again passing the
--- a/doc/tutorials/defining_new_interfaces.rst
+++ b/doc/tutorials/defining_new_interfaces.rst
-@@ -24,7 +24,7 @@
+@@ -24,7 +24,7 @@ To create your interface, you'll need to
The resulting file will look something like this::
@@ -95,7 +95,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
from __future__ import division
__credits__ = ["Greg Caporaso"]
-@@ -281,7 +281,7 @@
+@@ -281,7 +281,7 @@ Complete OptparseInterface configuration
At this stage we've fully configured our interface. The final interface configuration file should look like this::
@@ -130,7 +130,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
#-----------------------------------------------------------------------------
# Copyright (c) 2013, The BiPy Development Team.
-@@ -61,12 +61,12 @@
+@@ -61,12 +61,12 @@ class CodeHeaderGenerator(Command):
credits = [head['author']]
if kwargs['credits'] is not None:
credits.extend(kwargs['credits'])
@@ -187,7 +187,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
from operator import attrgetter
from pyqi.core.command import (Command, CommandIn, CommandOut,
ParameterCollection)
-@@ -137,7 +137,7 @@
+@@ -137,7 +137,7 @@ class MakeOptparse(CodeHeaderGenerator):
# construct inputs based off of CommandIns
cmdin_formatted = []
@@ -196,7 +196,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
key=attrgetter('Name')):
if cmdin.Required:
default_block = ''
-@@ -162,7 +162,7 @@
+@@ -162,7 +162,7 @@ class MakeOptparse(CodeHeaderGenerator):
cmdin_formatted.append(input_format % fmt)
cmdout_formatted = []
@@ -215,7 +215,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
#-----------------------------------------------------------------------------
# Copyright (c) 2013, The BiPy Development Team.
-@@ -74,7 +74,7 @@
+@@ -74,7 +74,7 @@ class MakeRelease(Command):
def _bump_version(self, version):
try:
@@ -266,7 +266,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
__credits__ = ["Greg Caporaso", "Daniel McDonald", "Doug Wendel",
"Jai Ram Rideout"]
-@@ -162,7 +162,7 @@
+@@ -162,7 +162,7 @@ class Command(object):
self_str = str(self.__class__)
# check required parameters
@@ -275,7 +275,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
if p.Required and p.Name not in kwargs:
err_msg = 'Missing required CommandIn %s in %s' % (p.Name,
self_str)
-@@ -187,7 +187,7 @@
+@@ -187,7 +187,7 @@ class Command(object):
"""Validate the result from a ``Command.run``"""
self_str = str(self.__class__)
@@ -284,7 +284,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
if p.Name not in result:
err_msg = "CommandOut %s not in %s" % (p.Name, self_str)
self._logger.fatal(err_msg)
-@@ -200,7 +200,7 @@
+@@ -200,7 +200,7 @@ class Command(object):
def _set_defaults(self, kwargs):
"""Set defaults for optional parameters"""
@@ -341,7 +341,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
#-----------------------------------------------------------------------------
# Copyright (c) 2013, The BiPy Development Team.
-@@ -18,11 +18,10 @@
+@@ -18,11 +18,10 @@ import sys
from pyqi.util import is_py2
if is_py2():
@@ -354,7 +354,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
from copy import copy
from glob import glob
from os.path import abspath, exists, isdir, isfile, split
-@@ -125,7 +124,7 @@
+@@ -125,7 +124,7 @@ class HTMLInputOption(InterfaceInputOpti
if self.Choices is None:
raise IncompetentDeveloperError(
"must supply a list of Choices for type '%s'" % self.type, self)
@@ -363,7 +363,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
raise IncompetentDeveloperError(
"choices must be a list of strings ('%s' supplied)"
% str(type(self.Choices)).split("'")[1], self)
-@@ -513,7 +512,7 @@
+@@ -513,7 +512,7 @@ def get_http_handler(module):
def start_server(port, module):
"""Start a server for the HTMLInterface on the specified port"""
interface_server = HTTPServer(("", port), get_http_handler(module))
@@ -437,7 +437,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
"""Manage IPython.parallel clusters in the notebook.
-@@ -73,7 +73,7 @@
+@@ -73,7 +73,7 @@ class ClusterManager(LoggingConfigurable
def update_profiles(self):
"""List all profiles in the ipython_dir and cwd.
"""
@@ -446,7 +446,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
for profile in list_profiles_in(path):
pd = self.get_profile_dir(profile, path)
if profile not in self.profiles:
-@@ -94,7 +94,7 @@
+@@ -94,7 +94,7 @@ class ClusterManager(LoggingConfigurable
def check_profile(self, profile):
if profile not in self.profiles:
@@ -455,7 +455,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
def profile_info(self, profile):
self.check_profile(profile)
-@@ -112,7 +112,7 @@
+@@ -112,7 +112,7 @@ class ClusterManager(LoggingConfigurable
self.check_profile(profile)
data = self.profiles[profile]
if data['status'] == 'running':
@@ -464,7 +464,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
cl, esl, default_n = self.build_launchers(data['profile_dir'])
n = n if n is not None else default_n
-@@ -154,7 +154,7 @@
+@@ -154,7 +154,7 @@ class ClusterManager(LoggingConfigurable
self.check_profile(profile)
data = self.profiles[profile]
if data['status'] == 'stopped':
@@ -473,7 +473,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
data = self.profiles[profile]
cl = data['controller_launcher']
esl = data['engine_set_launcher']
-@@ -172,7 +172,7 @@
+@@ -172,7 +172,7 @@ class ClusterManager(LoggingConfigurable
return result
def stop_all_clusters(self):
@@ -490,7 +490,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
from pyqi.core.interface import Interface, InterfaceOption
from testing import FilterSamples, FilterObservations
-@@ -7,6 +7,7 @@
+@@ -7,6 +7,7 @@ from types import NoneType
from pyqi.core.factory import general_factory
from biom.table import Table as BIOMTable
from biom.parse import parse_biom_table
@@ -498,7 +498,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
class Functional(Interface):
-@@ -67,11 +68,11 @@
+@@ -67,11 +68,11 @@ t3 = parse_biom_table(
open('/Users/mcdonadt/ResearchWork/software/biom-format/examples/rich_sparse_otu_table.biom'))
res = g(f("asdasdasd", seqs_per_sample=3), seqs_per_observation=1)
@@ -665,7 +665,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
#-----------------------------------------------------------------------------
# Copyright (c) 2013, The BiPy Development Team.
-@@ -88,7 +88,7 @@
+@@ -88,7 +88,7 @@ def old_to_new_command(driver_name, proj
Use like this (put in the script you want to deprecate):
@@ -746,7 +746,7 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
#-----------------------------------------------------------------------------
# Copyright (c) 2013, The BiPy Development Team.
-@@ -32,8 +32,8 @@
+@@ -32,8 +32,9 @@ classes = """
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: User Interfaces
Programming Language :: Python
@@ -754,17 +754,18 @@ Last-Update: Wed, 11 Sep 2019 11:43:51 +0200
- Programming Language :: Python :: 3.3
+ Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
++ Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Operating System :: OS Independent
Operating System :: POSIX
-@@ -43,8 +43,8 @@
+@@ -43,8 +44,8 @@ classifiers = [s.strip() for s in classe
# Verify Python version
ver = '.'.join(map(str, [sys.version_info.major, sys.version_info.minor]))
-if ver not in ['2.7', '3.3']:
- sys.stderr.write("Only Python 2.7 and 3.3 are supported.")
-+if ver not in ['3.9', '3.10']:
-+ sys.stderr.write("Only Python 3.9 and 3.10 are supported.")
++if ver not in ['3.9', '3.10', '3.11']:
++ sys.stderr.write("Only Python 3.9, 3.10 and 3.11 are supported.")
sys.exit(1)
long_description = """pyqi (canonically pronounced pie chee) is a Python framework designed to support wrapping general commands in multiple types of interfaces, including at the command line, HTML, and API levels."""
=====================================
debian/upstream/metadata
=====================================
@@ -1,4 +1,4 @@
-Bug-Database: https://github.com/bipy/pyqi/issues
-Bug-Submit: https://github.com/bipy/pyqi/issues/new
+Bug-Database: https://github.com/biocore/pyqi/issues
+Bug-Submit: https://github.com/biocore/pyqi/issues/new
Repository: https://github.com/bipy/pyqi.git
-Repository-Browse: https://github.com/bipy/pyqi
+Repository-Browse: https://github.com/biocore/pyqi
View it on GitLab: https://salsa.debian.org/med-team/pyqi/-/compare/a8aac2921b024dbf96478fbd629931c8f0a627de...bd0102664d3019bb14988f4c4b3bd87b850ebdbc
--
View it on GitLab: https://salsa.debian.org/med-team/pyqi/-/compare/a8aac2921b024dbf96478fbd629931c8f0a627de...bd0102664d3019bb14988f4c4b3bd87b850ebdbc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230114/d7276972/attachment-0001.htm>
More information about the debian-med-commit
mailing list