diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/umbra/ui/models.py b/src/umbra/ui/models.py index <HASH>..<HASH> 100644 --- a/src/umbra/ui/models.py +++ b/src/umbra/ui/models.py @@ -435,10 +435,10 @@ class GraphModel(QAbstractItemModel): node = self.getNode(index) if index.column() == 0: - return hasattr(node, "roles") and node.roles.get(r...
Ensure "umbra.ui.models.GraphModel.data" method generates the "QIcon" for "Qt.DecorationRole".
py
diff --git a/src/infi/gevent_utils/json_utils.py b/src/infi/gevent_utils/json_utils.py index <HASH>..<HASH> 100644 --- a/src/infi/gevent_utils/json_utils.py +++ b/src/infi/gevent_utils/json_utils.py @@ -3,7 +3,7 @@ from infi.pyutils.lazy import cached_function import json import time import gevent -from io import St...
HOSTDEV-<I> use StringIO from six instead of checking for python version
py
diff --git a/dockermap/client/cli.py b/dockermap/client/cli.py index <HASH>..<HASH> 100644 --- a/dockermap/client/cli.py +++ b/dockermap/client/cli.py @@ -18,6 +18,7 @@ KWARG_MAP = { 'timeout': 'time', 'ports': 'expose', 'extra_hosts': 'add-host', + 'nocache': 'no-cache', } NONE_TAG = '<none>' CONT...
Added no-cache option to kwarg translation.
py
diff --git a/pyflakes/test/test_undefined_names.py b/pyflakes/test/test_undefined_names.py index <HASH>..<HASH> 100644 --- a/pyflakes/test/test_undefined_names.py +++ b/pyflakes/test/test_undefined_names.py @@ -372,13 +372,20 @@ class Test(harness.Test): class A: T = range(10) - X = {...
Skip dict/set comprehension with Python <I> and <I>
py
diff --git a/pyxmpp/xmppserializer.py b/pyxmpp/xmppserializer.py index <HASH>..<HASH> 100644 --- a/pyxmpp/xmppserializer.py +++ b/pyxmpp/xmppserializer.py @@ -242,4 +242,26 @@ class XMPPSerializer(object): declared_prefixes = self._root_prefixes) return remove_evil_characte...
xmppserializer.serialize() funtion added The new functions can be used to serialize any single ElementTree Element the XMPP way.
py
diff --git a/src/toil/__init__.py b/src/toil/__init__.py index <HASH>..<HASH> 100644 --- a/src/toil/__init__.py +++ b/src/toil/__init__.py @@ -14,6 +14,7 @@ from __future__ import absolute_import +import errno import logging import os import sys @@ -564,6 +565,7 @@ def _monkey_patch_boto(): ...
Fix boto3 credentials for permanent credentials.
py
diff --git a/test/test_config.py b/test/test_config.py index <HASH>..<HASH> 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -215,4 +215,4 @@ def test_abstract_input(abstract_input): def test_init_zoom(cleantopo_br): with mapchete.open(cleantopo_br.dict, zoom=[3, 5]) as mp: - assert mp.confi...
fixed test for python 3
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='msm', - version='0.5.8', + version='0.5.9', packages=['msm'], install_requires=['GitPython', 'typing'], url='https://github.com/MycroftAI/mycr...
Increment version to <I>
py
diff --git a/nanoplot/NanoPlot.py b/nanoplot/NanoPlot.py index <HASH>..<HASH> 100755 --- a/nanoplot/NanoPlot.py +++ b/nanoplot/NanoPlot.py @@ -145,7 +145,7 @@ def getInput(args): elif args.summary: datadf = nanoget.processSummary(args.summary) logging.info("Gathered metrics for plotting") - nanomath.writeStats(d...
fixed spelling mistake of summary, added prefix to nanostat file
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst') setup( name='django-gravatar2', - version='1.1.0', + version='1.1.1', description='Essential Gravatar support for Django. Features helper methods, templatetags and a ...
Fix setup.py; bump to <I>.
py
diff --git a/tests/python/pants_test/pantsd/pantsd_integration_test_base.py b/tests/python/pants_test/pantsd/pantsd_integration_test_base.py index <HASH>..<HASH> 100644 --- a/tests/python/pants_test/pantsd/pantsd_integration_test_base.py +++ b/tests/python/pants_test/pantsd/pantsd_integration_test_base.py @@ -47,7 +47,...
Extend pantsd test timeout (#<I>) This is how long it takes for tests to pass on my laptop
py
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -18,7 +18,7 @@ from ..core.layout import Empty, NdLayout, Layout from ..core.options import Store, Compositor, SkipRendering from ..core.overlay import ...
Fixed bug computing cartesian product of keys (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -191,6 +191,11 @@ def setup_package(): install_reqs = req_file.read().split('\n') # pprint.pprint(install_reqs) + # Disable compiler optimization. We have to do this, as the default -O3 triggers a bug in cl...
Work around clang issue on MacOS.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ Implements a privately verifiable homomorphic authentication scheme from Shacham setup( - name='heartbeat', + name='storj-heartbeat', version=heartbeat.__version__, url='https://github.com/S...
Rename project to alleviate PyPI name conflicts
py
diff --git a/gbdxtools/ipe/interface.py b/gbdxtools/ipe/interface.py index <HASH>..<HASH> 100644 --- a/gbdxtools/ipe/interface.py +++ b/gbdxtools/ipe/interface.py @@ -12,10 +12,14 @@ except ImportError: from urllib.parse import urlparse import rasterio +try: + from rasterio import RasterioIOError +except Imp...
importing RasterioIOError in both <I>.x and <I>x forms
py
diff --git a/epab/cmd/release.py b/epab/cmd/release.py index <HASH>..<HASH> 100644 --- a/epab/cmd/release.py +++ b/epab/cmd/release.py @@ -77,5 +77,7 @@ def release(ctx, new_version): repo_checkout(ctx, 'develop') _clean(ctx) repo_remove_tag(ctx, new_version) - do(ctx, 'pip install -e ...
chg: do not re-ionstall current package if it's epab
py
diff --git a/tcp_check/test_tcp_check.py b/tcp_check/test_tcp_check.py index <HASH>..<HASH> 100644 --- a/tcp_check/test_tcp_check.py +++ b/tcp_check/test_tcp_check.py @@ -8,7 +8,7 @@ import time # project from tests.checks.common import AgentCheckTest -RESULTS_TIMEOUT = 5 +RESULTS_TIMEOUT = 20 CONFIG = { 'i...
[tcp_check] there is a race condition to finish the test + get the service checks, bump up TO. (#<I>) [tcp][ci] bumping the TO some more, still flaking sometimes.
py
diff --git a/keras_text/models/sequence_encoders.py b/keras_text/models/sequence_encoders.py index <HASH>..<HASH> 100644 --- a/keras_text/models/sequence_encoders.py +++ b/keras_text/models/sequence_encoders.py @@ -151,9 +151,9 @@ class StackedRNN(SequenceEncoderBase): class BasicLSTM(StackedRNN): - def __init_...
propagate additional lstm params
py
diff --git a/exa/util/isotopes.py b/exa/util/isotopes.py index <HASH>..<HASH> 100644 --- a/exa/util/isotopes.py +++ b/exa/util/isotopes.py @@ -110,6 +110,10 @@ class Isotope(object): self.symbol = symbol self.color = color + @property + def radius(self): + return self.cov_radius + ...
Adding radius property to isotopes
py
diff --git a/airflow/models/dag.py b/airflow/models/dag.py index <HASH>..<HASH> 100644 --- a/airflow/models/dag.py +++ b/airflow/models/dag.py @@ -978,7 +978,7 @@ class DAG(BaseDag, LoggingMixin): conditions = [] for dag in self.subdags + [self]: conditions.append( - ...
Prevent sequential scan of task instance table (#<I>) The exact dag_id is known so no need to perform a like here which caused a sequential scan.
py
diff --git a/superset/models/core.py b/superset/models/core.py index <HASH>..<HASH> 100755 --- a/superset/models/core.py +++ b/superset/models/core.py @@ -508,7 +508,7 @@ class Database( utils.DatasourceName(table=table, schema=schema) for table in tables ] except Exception as ex:...
Log warning for failure to get table/view names from DB (#<I>)
py
diff --git a/nsim/analyses1/plots.py b/nsim/analyses1/plots.py index <HASH>..<HASH> 100644 --- a/nsim/analyses1/plots.py +++ b/nsim/analyses1/plots.py @@ -36,7 +36,10 @@ def plot(ts, title=None, show=True): for i in range(num_subplots): ax = fig.add_subplot(num_subplots, 1, i+1) ax.pl...
correctly label plot when Timeseries array has 3 axes
py
diff --git a/src/nupic/utils.py b/src/nupic/utils.py index <HASH>..<HASH> 100644 --- a/src/nupic/utils.py +++ b/src/nupic/utils.py @@ -128,3 +128,9 @@ class MovingAverage(object, Serializable): proto.windowSize = self.windowSize proto.slidingWindow = self.slidingWindow proto.total = self.total + + + @cl...
Added getSchema to MovingAverage
py
diff --git a/plaso/dependencies.py b/plaso/dependencies.py index <HASH>..<HASH> 100644 --- a/plaso/dependencies.py +++ b/plaso/dependencies.py @@ -133,10 +133,13 @@ def _CheckPythonModule( # Make sure the module version is a string. module_version = '{0!s}'.format(module_version) + # Remove a version suffix, s...
Changes to strip dependency suffix in check #<I> (#<I>)
py
diff --git a/master/buildbot/worker/latent.py b/master/buildbot/worker/latent.py index <HASH>..<HASH> 100644 --- a/master/buildbot/worker/latent.py +++ b/master/buildbot/worker/latent.py @@ -178,21 +178,12 @@ class AbstractLatentWorker(AbstractWorker): if not self.parent or not self.notify_on_missing: ...
also notify for worker fail to connect after substantiation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,12 +34,6 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='FlowCal', - entry_points = { - 'console_scripts': [ - 'flowcal=FlowCal.excel_ui:run_command_line' - ...
Restored FlowCal entrypoint.
py
diff --git a/eliot/tests/test_message.py b/eliot/tests/test_message.py index <HASH>..<HASH> 100644 --- a/eliot/tests/test_message.py +++ b/eliot/tests/test_message.py @@ -270,8 +270,15 @@ class MessageTests(TestCase): class WrittenMessageTests(TestCase): + """ + Tests for L{WrittenMessage}. + """ d...
Add the most useful test docstrings I can think of
py
diff --git a/endpoints_management/__init__.py b/endpoints_management/__init__.py index <HASH>..<HASH> 100644 --- a/endpoints_management/__init__.py +++ b/endpoints_management/__init__.py @@ -16,7 +16,7 @@ from __future__ import absolute_import from . import auth, config, control, gen -__version__ = '1.6.1' +__vers...
Bump minor version (<I> -> <I>) Rationale: Shut down client thread when idling
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -123,8 +123,8 @@ def get_version_info(): vinfo = _version_helper.generate_git_version_info() except: vinfo = vdummy() - vinfo.version = '1.15.dev4' - vinfo.release = 'False' + vinfo....
Prep. for release (#<I>)
py
diff --git a/treeherder/workers/task.py b/treeherder/workers/task.py index <HASH>..<HASH> 100644 --- a/treeherder/workers/task.py +++ b/treeherder/workers/task.py @@ -25,7 +25,7 @@ class retryable_task(object): # thundering herd type problems. Constant factor chosen so we get # reasona...
Bug <I> - Clarify celery retry call behaviour with 'raise' prefix As recommended by: <URL>
py
diff --git a/bookstore/handlers.py b/bookstore/handlers.py index <HASH>..<HASH> 100644 --- a/bookstore/handlers.py +++ b/bookstore/handlers.py @@ -21,7 +21,15 @@ class BookstoreVersionHandler(APIHandler): @web.authenticated def get(self): - self.finish(json.dumps({"bookstore": True, **self.settings['...
set response keys explicitly, don't unpack self.settings['bookstore']
py
diff --git a/satpy/composites/__init__.py b/satpy/composites/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/composites/__init__.py +++ b/satpy/composites/__init__.py @@ -1388,7 +1388,12 @@ class SandwichCompositor(GenericCompositor): class StaticImageCompositor(GenericCompositor): - """A compositor that lo...
Add a more detailed description to StaticImageCompositor
py
diff --git a/pyemma/msm/estimation/api.py b/pyemma/msm/estimation/api.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/estimation/api.py +++ b/pyemma/msm/estimation/api.py @@ -750,10 +750,11 @@ def transition_matrix(C, reversible=False, mu=None, **kwargs): maximum number of iterations before the method exits ...
[msm.estimation.api]: corrected docstring
py
diff --git a/spyderlib/userconfig.py b/spyderlib/userconfig.py index <HASH>..<HASH> 100644 --- a/spyderlib/userconfig.py +++ b/spyderlib/userconfig.py @@ -163,19 +163,24 @@ class UserConfig(ConfigParser): """ Save config into the associated .ini file """ + # See Issue 1086 and 1242 ...
User Config: Handle user config file write exceptions more gracefully. This commit represent a consolidation of all the many tactics we have implemented to try and avoid IO Errors when writing the user configuration on Windows. Many
py
diff --git a/tohu/v6/derived_generators.py b/tohu/v6/derived_generators.py index <HASH>..<HASH> 100644 --- a/tohu/v6/derived_generators.py +++ b/tohu/v6/derived_generators.py @@ -451,4 +451,5 @@ class Cumsum(DerivedGenerator): def _set_random_state_from(self, other): super()._set_random_state_from(other...
Copy state of internal generator when spawning
py
diff --git a/src/underscore.py b/src/underscore.py index <HASH>..<HASH> 100644 --- a/src/underscore.py +++ b/src/underscore.py @@ -1492,7 +1492,8 @@ class underscore(object): """ Provide static access to underscore class """ for eachMethod in inspect.getmembers(underscore, - ...
Unbound methods are functions in python 3.
py
diff --git a/evergreen/loop.py b/evergreen/loop.py index <HASH>..<HASH> 100644 --- a/evergreen/loop.py +++ b/evergreen/loop.py @@ -433,6 +433,7 @@ class EventLoop(object): def _install_signal_checker(self): self._socketpair = SocketPair() + self._signal_checker = None if hasattr(signal, ...
Fixed AttributeError on Windows.
py
diff --git a/pyphi/compute/big_phi.py b/pyphi/compute/big_phi.py index <HASH>..<HASH> 100644 --- a/pyphi/compute/big_phi.py +++ b/pyphi/compute/big_phi.py @@ -233,7 +233,6 @@ def _big_mip(cache_key, subsystem): result = time_annotated(min_mip, small_phi_time) log.info('Finished calculating big-phi data ...
Remove debug statements that print `BigMip`s
py
diff --git a/plenum/server/replica_validator.py b/plenum/server/replica_validator.py index <HASH>..<HASH> 100644 --- a/plenum/server/replica_validator.py +++ b/plenum/server/replica_validator.py @@ -110,6 +110,9 @@ class ReplicaValidator: if self.replica.viewNo == self.replica.last_ordered_3pc[0]: ...
INDY-<I>: Add comments
py
diff --git a/treeherder/push_health/similar_jobs.py b/treeherder/push_health/similar_jobs.py index <HASH>..<HASH> 100644 --- a/treeherder/push_health/similar_jobs.py +++ b/treeherder/push_health/similar_jobs.py @@ -16,6 +16,8 @@ job_fields = [ def set_matching_passed_jobs(failures, push): + if len(failures) == ...
Fix Push Health when there are no structured log failures (#<I>)
py
diff --git a/visidata/clipboard.py b/visidata/clipboard.py index <HASH>..<HASH> 100644 --- a/visidata/clipboard.py +++ b/visidata/clipboard.py @@ -48,7 +48,7 @@ def syscopyRows(sheet, rows): def syscopyCells(sheet, col, rows): if not rows: fail('no %s selected' % sheet.rowtype) - clipboard().copy("\\n...
[clipboard] \n did not need to be escaped
py
diff --git a/mistletoe/core_tokens.py b/mistletoe/core_tokens.py index <HASH>..<HASH> 100644 --- a/mistletoe/core_tokens.py +++ b/mistletoe/core_tokens.py @@ -15,7 +15,7 @@ def find_core_tokens(string): delimiters = [] matches = [] escaped = False - in_delimiter_run = False + in_delimiter_run = Non...
different markers cannot be in the same delimiter run
py
diff --git a/raiden/ui/runners.py b/raiden/ui/runners.py index <HASH>..<HASH> 100644 --- a/raiden/ui/runners.py +++ b/raiden/ui/runners.py @@ -25,10 +25,11 @@ from raiden.exceptions import ( ) from raiden.log_config import configure_logging from raiden.network.sockfactory import SocketFactory -from raiden.tasks impo...
Spawn greenlet to check deposits
py
diff --git a/benchexec/test_cgroups.py b/benchexec/test_cgroups.py index <HASH>..<HASH> 100644 --- a/benchexec/test_cgroups.py +++ b/benchexec/test_cgroups.py @@ -63,16 +63,16 @@ class TestCheckCgroups(unittest.TestCase): def test_simple(self): try: check_cgroups.main(['--no-thread']) - ...
Mark test as skip if it could not be executed due to missing cgroups.
py
diff --git a/zk_shell/copy.py b/zk_shell/copy.py index <HASH>..<HASH> 100644 --- a/zk_shell/copy.py +++ b/zk_shell/copy.py @@ -20,6 +20,12 @@ def zk_client(host, username, password): client = KazooClient(hosts=host) client.start() + + # TODO: handle more than just digest + # TODO: add_auth() isn't tru...
If a username/password is provided, call add_auth() after creating a Proxy
py
diff --git a/multiqc/modules/pangolin/pangolin.py b/multiqc/modules/pangolin/pangolin.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/pangolin/pangolin.py +++ b/multiqc/modules/pangolin/pangolin.py @@ -87,6 +87,10 @@ class MultiqcModule(BaseMultiqcModule): try: taxon_name = row["taxon...
Pangolin - remove slashes from taxon names to avoid sample name cleaning
py
diff --git a/synapse/sched.py b/synapse/sched.py index <HASH>..<HASH> 100644 --- a/synapse/sched.py +++ b/synapse/sched.py @@ -1,5 +1,6 @@ from __future__ import absolute_import,unicode_literals +import time import threading import synapse.glob as s_glob
import time, <I> was working via common... ungh
py
diff --git a/esptool.py b/esptool.py index <HASH>..<HASH> 100755 --- a/esptool.py +++ b/esptool.py @@ -900,11 +900,11 @@ class ESP32ROM(ESPLoader): def read_mac(self): """ Read MAC from EFUSE region """ - words = [self.read_efuse(1), self.read_efuse(2)] + words = [self.read_efuse(2), self....
Fix read_mac function for the ESP<I> The current read_mac function in esptool is not returning the same MAC address as: ```esp_wifi_get_mac(WIFI_IF_STA, ...)```. It's only returning the last 4 bytes of the MAC address combined with the CRC at the end.
py
diff --git a/werobot/robot.py b/werobot/robot.py index <HASH>..<HASH> 100644 --- a/werobot/robot.py +++ b/werobot/robot.py @@ -114,7 +114,7 @@ class BaseRoBot(object): """ self.add_handler(f, type='click') return f - + def key_click(self, key): """ Shortcut for ...
Bug Fix: Can't handle request for root path
py
diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/__init__.py +++ b/gns3server/controller/__init__.py @@ -242,9 +242,7 @@ class Controller: return self._computes[compute_id] except KeyError: serve...
Allow to use the local node even without --local
py
diff --git a/colab/proxy/noosfero/views.py b/colab/proxy/noosfero/views.py index <HASH>..<HASH> 100644 --- a/colab/proxy/noosfero/views.py +++ b/colab/proxy/noosfero/views.py @@ -7,4 +7,6 @@ from ..utils.views import ColabProxyView class NoosferoProxyView(ColabProxyView): app_label = 'noosfero' diazo_theme_t...
Intercepted Noosfero login url using rewrite
py
diff --git a/tests/test_containers.py b/tests/test_containers.py index <HASH>..<HASH> 100644 --- a/tests/test_containers.py +++ b/tests/test_containers.py @@ -307,6 +307,24 @@ class TestApiInterfaceBase(object): assert 'test' in actual.headers assert calls == ['pre_request', 'pre_dispatch', 'post_disp...
Added test cases for Middleware returning HTTP responses
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,9 @@ setuptools.setup( 'resolwe-runtime-utils~=2.0.1', 'shellescape~=3.4.1', 'Sphinx>=1.5.1, <1.7.0', + # XXX: Temporarily pin urllib to 1.24.x, since requests 2.21.0 + # has ...
Temporarily pin urllib to <I>.x
py
diff --git a/django_mailgun/__init__.py b/django_mailgun/__init__.py index <HASH>..<HASH> 100644 --- a/django_mailgun/__init__.py +++ b/django_mailgun/__init__.py @@ -6,7 +6,10 @@ from django.core.mail.message import sanitize_address try: from cStringIO import StringIO except ImportError: - from StringIO impo...
Add Python 3 compatibility StringIO moved to the `io` module in Python 3.
py
diff --git a/test_settings.py b/test_settings.py index <HASH>..<HASH> 100644 --- a/test_settings.py +++ b/test_settings.py @@ -23,5 +23,7 @@ SERIALIZATION_MODULES = { 'csv': 'export.serializers.csv_serializer' } +EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend' + ROOT_URLCONF = 'object_tools.test...
Added dummy email backend
py
diff --git a/test/intervals.py b/test/intervals.py index <HASH>..<HASH> 100644 --- a/test/intervals.py +++ b/test/intervals.py @@ -29,6 +29,11 @@ try: except NameError: xrange = range +try: + unicode +except NameError: + unicode = str + def load_test_data_ivs(): """Import data from test/data to co...
fix: unicode not defined in python 3
py
diff --git a/retext.py b/retext.py index <HASH>..<HASH> 100755 --- a/retext.py +++ b/retext.py @@ -583,7 +583,7 @@ class ReTextWindow(QMainWindow): else: self.previewBoxes.append(QTextEdit()) self.previewBoxes[-1].setReadOnly(True) - self.editBoxes[-1].contextMenuEvent = self.contextMenuEvent + self.editBo...
Rename contextMenuEvent to editBoxMenuEvent This makes right-click on menus and toolbars working again
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -428,7 +428,7 @@ def candidate_test_is_on_temporary_notimplemented_list(context, expectation_type "expect_column_bootstrapped_ks_test_p_value_to_be_greater_than", ...
expect_column_pair_values_to_be_equal for Spark is now implemented
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,6 @@ tests_require = [ 'isort>=4.2.2', 'mock>=1.3.0', 'pydocstyle>=2.0.0', - 'pytest-cache>=1.0', 'pytest-cov>=1.8.0', 'pytest-pep8>=1.0.6', 'pytest>=2.8.0',
installation: removed pytest-cache dependency
py
diff --git a/cloudmesh/common/Shell.py b/cloudmesh/common/Shell.py index <HASH>..<HASH> 100755 --- a/cloudmesh/common/Shell.py +++ b/cloudmesh/common/Shell.py @@ -25,15 +25,13 @@ import stat from pathlib import Path def NotImplementedInWindows(f): - def arg_catcher(*args): - def new_f(): - if s...
Simplify decorator catching args into one function
py
diff --git a/tests/unit/modules/test_localemod.py b/tests/unit/modules/test_localemod.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_localemod.py +++ b/tests/unit/modules/test_localemod.py @@ -83,6 +83,22 @@ class LocalemodTestCase(TestCase, LoaderModuleMockMixin): assert out['x11_layout'] == 'us...
Add unit test for dbus locale parser matching the results.
py
diff --git a/pprofile.py b/pprofile.py index <HASH>..<HASH> 100755 --- a/pprofile.py +++ b/pprofile.py @@ -148,17 +148,19 @@ class EncodeOrReplaceWriter(object): underlying file rejects them. """ def __init__(self, out): - self._encoding = out.encoding or 'utf-8' + self._encoding = out.enco...
pprofile: utf-8 was a bad choice for default encoding. Default encoding must be the same as python's default, which is ascii.
py
diff --git a/tests/test_bridgepoint/test_generate.py b/tests/test_bridgepoint/test_generate.py index <HASH>..<HASH> 100644 --- a/tests/test_bridgepoint/test_generate.py +++ b/tests/test_bridgepoint/test_generate.py @@ -20,6 +20,7 @@ class TestGenerate(PrebuildFunctionTestCase): self.metamodel.new('SM...
test: ensure that SM_EVT.SMspd_ID is not null. NOTE: this is a bug in ooaofooa (formalisation on a conditional association), and has been fixed in ooaofooa <I>
py
diff --git a/oscrypto/_ffi.py b/oscrypto/_ffi.py index <HASH>..<HASH> 100644 --- a/oscrypto/_ffi.py +++ b/oscrypto/_ffi.py @@ -7,7 +7,7 @@ Exceptions and compatibility shims for consistently using ctypes and cffi from __future__ import unicode_literals, division, absolute_import, print_function import sys -from ._t...
Fix a bug affecting some TLS situations on Windows when using ctypes
py
diff --git a/pysitemap/crawler.py b/pysitemap/crawler.py index <HASH>..<HASH> 100644 --- a/pysitemap/crawler.py +++ b/pysitemap/crawler.py @@ -43,7 +43,7 @@ class Crawler: def crawl(self, echo=False, pool_size=1): self.echo = echo self.regex = re.compile(self.allowed_regex) - if gevent_ins...
Crawler instance has no attribute 'pool'
py
diff --git a/linode/objects/base.py b/linode/objects/base.py index <HASH>..<HASH> 100644 --- a/linode/objects/base.py +++ b/linode/objects/base.py @@ -132,11 +132,13 @@ class Base(object, with_metaclass(FilterableMetaclass)): objs.append(obj) self._set(key, objs) ...
Make relationships work when only ID is returned
py
diff --git a/spice.py b/spice.py index <HASH>..<HASH> 100644 --- a/spice.py +++ b/spice.py @@ -24,7 +24,7 @@ def search(query, medium): elif medium == MANGA: return [Manga(entry) for entry in results.manga.findAll('entry')] else: - return + return None def search_id(id, medium): ...
Change search invalid argument return to None Forgot this.
py
diff --git a/pymc/database/hdf5.py b/pymc/database/hdf5.py index <HASH>..<HASH> 100644 --- a/pymc/database/hdf5.py +++ b/pymc/database/hdf5.py @@ -71,10 +71,24 @@ class TraceObject(base.Trace): slicing : slice object A slice overriding burn and thin assignement. """ + if ch...
Fixed slicing for vlarrays
py
diff --git a/ceam/modules/blood_pressure.py b/ceam/modules/blood_pressure.py index <HASH>..<HASH> 100644 --- a/ceam/modules/blood_pressure.py +++ b/ceam/modules/blood_pressure.py @@ -30,7 +30,7 @@ class BloodPressureModule(SimulationModule): def load_population_columns(self, path_prefix, population_size): ...
A bit of a refactor that I forgot the first time
py
diff --git a/satpy/readers/seviri_l1b_hrit.py b/satpy/readers/seviri_l1b_hrit.py index <HASH>..<HASH> 100644 --- a/satpy/readers/seviri_l1b_hrit.py +++ b/satpy/readers/seviri_l1b_hrit.py @@ -41,6 +41,8 @@ Each image is decomposed into 24 segments (files) for the high-resolution-visibl visible (VIS) and infrared (IR) c...
add note in the doc about bz2 support
py
diff --git a/tests/test_synchronize.py b/tests/test_synchronize.py index <HASH>..<HASH> 100644 --- a/tests/test_synchronize.py +++ b/tests/test_synchronize.py @@ -192,6 +192,9 @@ class TestCondition(): self.check_invariant(cond) p.join() + @pytest.mark.xfail(sys.platform != "win32" and + ...
CLN silence error linked to #<I> to avoid broken master
py
diff --git a/registration/tests/views.py b/registration/tests/views.py index <HASH>..<HASH> 100644 --- a/registration/tests/views.py +++ b/registration/tests/views.py @@ -15,15 +15,12 @@ class RegistrationViewTests(TestCase): Test the registration views. """ - # URL patterns here use the default backend ...
Better docstring explaining what's going on there.
py
diff --git a/jax/api.py b/jax/api.py index <HASH>..<HASH> 100644 --- a/jax/api.py +++ b/jax/api.py @@ -341,7 +341,9 @@ def grad(fun: Callable, argnums: Union[int, Sequence[int]] = 0, Args: fun: Function to be differentiated. Its arguments at positions specified by - ``argnums`` should be arrays, scalars,...
Clarify that `grad` requires arguments to be differentiated to be of inexact type. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + from setuptools import setup import sys
Adds shebang line to setup.py.
py
diff --git a/src/python/dxpy/bindings/dxfile_functions.py b/src/python/dxpy/bindings/dxfile_functions.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/bindings/dxfile_functions.py +++ b/src/python/dxpy/bindings/dxfile_functions.py @@ -184,7 +184,9 @@ def _download_symbolic_link(dxid, md5digest, project, dest_filena...
DEVEX-<I> Limit aria2c connections to <= <I> per server for symlink downloads (#<I>) * Limit aria2c connections to <= <I> per server for symlink downloads
py
diff --git a/backtrader/lineseries.py b/backtrader/lineseries.py index <HASH>..<HASH> 100644 --- a/backtrader/lineseries.py +++ b/backtrader/lineseries.py @@ -154,8 +154,8 @@ class MetaLineSeries(metabase.MetaParams): extralines = dct.pop('extralines', 0) # remove the new plotinfo/plotlines definiti...
lineseries cosmetic changes from dict to {}
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -121,7 +121,7 @@ def nasa_item(): @pytest.fixture def session(): - return get_session() + return get_session(config=dict(s3=dict(access='access', secret='secret'))) @pytest.fi...
include s3 keys in session config.
py
diff --git a/shoebot/core/cairo_canvas.py b/shoebot/core/cairo_canvas.py index <HASH>..<HASH> 100644 --- a/shoebot/core/cairo_canvas.py +++ b/shoebot/core/cairo_canvas.py @@ -149,8 +149,9 @@ class CairoCanvas(Canvas): target_ctx = cairo.Context(cairo.PDFSurface(filename, *self.size_or_default())) ...
Add eps format to snapshot
py
diff --git a/tests/pytests/unit/cloud/clouds/test_openstack.py b/tests/pytests/unit/cloud/clouds/test_openstack.py index <HASH>..<HASH> 100644 --- a/tests/pytests/unit/cloud/clouds/test_openstack.py +++ b/tests/pytests/unit/cloud/clouds/test_openstack.py @@ -1,8 +1,6 @@ import pytest import salt.cloud.clouds.openst...
Remove unneeded comments from test_openstack.py
py
diff --git a/bika/lims/upgrade/to1123.py b/bika/lims/upgrade/to1123.py index <HASH>..<HASH> 100644 --- a/bika/lims/upgrade/to1123.py +++ b/bika/lims/upgrade/to1123.py @@ -3,7 +3,7 @@ from Acquisition import aq_parent from bika.lims.permissions import * from Products.CMFCore import permissions from Products.CMFCore.u...
Fix upgrade <I> to be more defensive about creating new folder
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( include_package_data=True, keywords='broker publisher subscriber reactive frp observable', name='broqer', - packages=find_packages(), + packages=find_packages(include='broqer'), ...
fixed find_packages in setupy.py
py
diff --git a/cereslib/_version.py b/cereslib/_version.py index <HASH>..<HASH> 100644 --- a/cereslib/_version.py +++ b/cereslib/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.1.5" +__version__ = "0.1.6"
[release] Update version number to <I>
py
diff --git a/src/RequestsLibrary/version.py b/src/RequestsLibrary/version.py index <HASH>..<HASH> 100644 --- a/src/RequestsLibrary/version.py +++ b/src/RequestsLibrary/version.py @@ -1 +1 @@ -VERSION = '0.7.0-dev' +VERSION = '0.6.3'
Decreased version to <I> since for the moment I kept it minor
py
diff --git a/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py b/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py index <HASH>..<HASH> 100644 --- a/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py +++ b/virtualchain/lib/blockchain/bitcoin_blockchain/multisig.py @@ -24,6 +24,7 @@ import pyb...
redeem script hex must be a string, not unicode
py
diff --git a/src/saml2/response.py b/src/saml2/response.py index <HASH>..<HASH> 100644 --- a/src/saml2/response.py +++ b/src/saml2/response.py @@ -910,7 +910,8 @@ class AuthnResponse(StatusResponse): else: # This is a saml2int limitation try: assert len(self.response.assertion) =...
fix issue with satosa and encrypted assertions
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,11 +40,11 @@ setup( include_package_data=True, zip_safe=False, install_requires=[ - "senaite.api", - "senaite.core.listing>=1.2.0", - "senaite.core>=1.3.1", - "senaite.impress>=1....
Pinned SENAITE Versions to < <I>
py
diff --git a/dynaphopy/power_spectrum/__init__.py b/dynaphopy/power_spectrum/__init__.py index <HASH>..<HASH> 100644 --- a/dynaphopy/power_spectrum/__init__.py +++ b/dynaphopy/power_spectrum/__init__.py @@ -98,7 +98,7 @@ def get_mem_power_spectra(vq, trajectory, parameters): if not parameters.silent: ...
added safety in MEM power spectrum calculation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,6 +44,8 @@ setup ( maintainer = MyName, maintainer_email = MyEmail, license = "GPL", + url = "http://patool.sourceforge.net/", + download_url="http://sourceforge.net/projects/patool/files/", packa...
Added url and download_url to setup.py
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -440,6 +440,8 @@ def copyDbFrom(config_name = False): source_ssh_port = source_config['port'] ssh_args = ' ' + source_config['user']+'@'+source_config['host'] + if settings['usePty'] == False: + s...
when having noPty we cant verify hostnames from inside docker
py
diff --git a/nodeconductor/iaas/backend/dummy.py b/nodeconductor/iaas/backend/dummy.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/backend/dummy.py +++ b/nodeconductor/iaas/backend/dummy.py @@ -1038,7 +1038,16 @@ class DummyDataSet(object): 'os-extended-volumes:volumes_attached': [{'id': 'f6d76187...
Add network addresses for dummy server - NC-<I>
py
diff --git a/keyboard/_nixkeyboard.py b/keyboard/_nixkeyboard.py index <HASH>..<HASH> 100644 --- a/keyboard/_nixkeyboard.py +++ b/keyboard/_nixkeyboard.py @@ -78,7 +78,7 @@ def build_device(): pressed_modifiers = set() -def listen(callback): +def listen(queue): build_device() build_tables() @@ -101,11 ...
Change nixkeyboard to queues
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -110,7 +110,7 @@ copyright = ( # built documents. # verinfo = metpy.__version__ -parsed_version = re.search(r'(?P<full>(?P<base>\d+\.\d+)\.\d+\w*)', verinfo).groupdict() +parsed_version = re.search(r'(?P<ful...
support versions like x.y in docs/conf.py
py
diff --git a/bigquery/query_builder.py b/bigquery/query_builder.py index <HASH>..<HASH> 100644 --- a/bigquery/query_builder.py +++ b/bigquery/query_builder.py @@ -86,7 +86,7 @@ def _render_select(selections): for options_dict in options: name = original_name alias = options_dict.get('...
Make the SELECT alias 'AS' to lower case
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ from distutils.core import setup # To upload: # python setup.py sdist upload -setup(name='mongolab-azure', +setup(name='azure', version='0.7.1', description='Windows Azure client APIs', ...
changed module name back to 'azure'
py
diff --git a/txaws/testing/route53.py b/txaws/testing/route53.py index <HASH>..<HASH> 100644 --- a/txaws/testing/route53.py +++ b/txaws/testing/route53.py @@ -74,11 +74,11 @@ def _process_change(rrsets, change): key = (change.name, change.type) existing = rrsets.get(key, pvector()) if change.action == u"...
Fix the memory implementation of change_resource_record_sets
py
diff --git a/salt/modules/virt.py b/salt/modules/virt.py index <HASH>..<HASH> 100644 --- a/salt/modules/virt.py +++ b/salt/modules/virt.py @@ -1843,7 +1843,7 @@ def list_snapshots(vm=None): return ret -def snapshot(vm, name=None): +def snapshot(vm, name=None, suffix=None): ''' Create a snapshot of a ...
Add suffix support (mostly for the virt state)
py
diff --git a/sen/docker_backend.py b/sen/docker_backend.py index <HASH>..<HASH> 100644 --- a/sen/docker_backend.py +++ b/sen/docker_backend.py @@ -607,7 +607,12 @@ class DockerContainer(DockerObject): s = s[:26] if s == "0001-01-01T00:00:00Z": return DINOSAUR_TIME - ...
improve datetime parsing make it less error-prone, b/c apparently docker is able to return really wild values: ValueError: unconverted data remains: Z
py
diff --git a/tools/c7n_azure/c7n_azure/dependency_manager.py b/tools/c7n_azure/c7n_azure/dependency_manager.py index <HASH>..<HASH> 100644 --- a/tools/c7n_azure/c7n_azure/dependency_manager.py +++ b/tools/c7n_azure/c7n_azure/dependency_manager.py @@ -49,7 +49,7 @@ class DependencyManager(object): if sum(pn...
azure - dep manager - ensure package list remains the same (#<I>)
py
diff --git a/client/protocols/grading.py b/client/protocols/grading.py index <HASH>..<HASH> 100644 --- a/client/protocols/grading.py +++ b/client/protocols/grading.py @@ -59,9 +59,7 @@ class GradingProtocol(models.Protocol): analytics[test.name] = results else: print('It l...
Fix printing bug in grading.py
py
diff --git a/fritzconnection/core/fritzconnection.py b/fritzconnection/core/fritzconnection.py index <HASH>..<HASH> 100644 --- a/fritzconnection/core/fritzconnection.py +++ b/fritzconnection/core/fritzconnection.py @@ -207,9 +207,15 @@ class Soaper: Extracts all known parameters of the given action from the ...
method reconnect and raise ActionError added.
py