diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/wal_e/retries.py b/wal_e/retries.py index <HASH>..<HASH> 100644 --- a/wal_e/retries.py +++ b/wal_e/retries.py @@ -3,6 +3,8 @@ import logging import sys import traceback +import gevent + import wal_e.log_help as log_help logger = log_help.WalELogger(__name__, level=logging.INFO) @@ -54,6 +56,9 @@ de...
retries: avoid accidental livelocks Putting in an extra yield doesn't seem like it could hurt, but the alternative sure could. This was a defect of the pre-refactored version, too.
py
diff --git a/goless/backends.py b/goless/backends.py index <HASH>..<HASH> 100644 --- a/goless/backends.py +++ b/goless/backends.py @@ -1,5 +1,6 @@ import os + class Backend(object): def start(self, func, *args, **kwargs): """Starts a tasklet/greenlet.""" @@ -90,16 +91,18 @@ def _make_gevent(): re...
GOLESS_BACKEND no longer compares against None, uses empty string. Minor formal cleanup.
py
diff --git a/tests/end_to_end/test_validation_end_to_end.py b/tests/end_to_end/test_validation_end_to_end.py index <HASH>..<HASH> 100644 --- a/tests/end_to_end/test_validation_end_to_end.py +++ b/tests/end_to_end/test_validation_end_to_end.py @@ -93,13 +93,13 @@ def test_end_to_end(tempdir): p = 15 ...
address some issues, up the sample size
py
diff --git a/sos/archive.py b/sos/archive.py index <HASH>..<HASH> 100644 --- a/sos/archive.py +++ b/sos/archive.py @@ -421,7 +421,7 @@ class FileCacheArchive(Archive): (source, link_name, dest)) source_dir = os.path.dirname(link_name) - host_path_name = os.path.normpath(os.path...
[archive] canonicalise paths for link follow up Ensure that the canonical path is used when processing link follow up actions: the actual link path may contain one or more levels of symbolic links, leading to broken links if the link target path is assumed to be relative to the containing directory.
py
diff --git a/examples/perft/perft.py b/examples/perft/perft.py index <HASH>..<HASH> 100755 --- a/examples/perft/perft.py +++ b/examples/perft/perft.py @@ -18,8 +18,10 @@ import sys def perft(depth, board): - if board.is_variant_win() or board.is_variant_draw() or board.is_variant_loss(): + if depth < 1: ...
Fix perft with regard to variant end
py
diff --git a/tests/test_service.py b/tests/test_service.py index <HASH>..<HASH> 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -129,7 +129,6 @@ class TestService: etesync.sync() # Reset the db - prev_db = etesync._database etesync._init_db(TEST_DB) assert ...
Tests: fix broken tests that relied on undefined behaviour.
py
diff --git a/synapse/lib/ingest.py b/synapse/lib/ingest.py index <HASH>..<HASH> 100644 --- a/synapse/lib/ingest.py +++ b/synapse/lib/ingest.py @@ -221,7 +221,6 @@ class Ingest(EventBus): raise Exception('Ingest Info Not Found: %s' % (path,)) for data in self._openDataSorc(path,info): - ...
and another comment/cruft line
py
diff --git a/serenata_toolbox/chamber_of_deputies/speeches_dataset.py b/serenata_toolbox/chamber_of_deputies/speeches_dataset.py index <HASH>..<HASH> 100644 --- a/serenata_toolbox/chamber_of_deputies/speeches_dataset.py +++ b/serenata_toolbox/chamber_of_deputies/speeches_dataset.py @@ -35,7 +35,7 @@ class SpeechesDatas...
Remove double underscore from `__parse_speeches` method and calls
py
diff --git a/salt/returners/mysql.py b/salt/returners/mysql.py index <HASH>..<HASH> 100644 --- a/salt/returners/mysql.py +++ b/salt/returners/mysql.py @@ -246,6 +246,11 @@ def returner(ret): ''' Return data to a mysql server ''' + # if a minion is returning a standalone job, get a jobid + if ret['j...
Add jid=req handling for mysql returner. It should also store the return jid into the jid list table.
py
diff --git a/fabric/group.py b/fabric/group.py index <HASH>..<HASH> 100644 --- a/fabric/group.py +++ b/fabric/group.py @@ -2,7 +2,7 @@ from invoke.vendor.six.moves.queue import Queue from invoke.util import ExceptionHandlingThread -from fabric import Connection +from fabric import Connection, Result class Gro...
Implement GroupResult.(succeeded/failed)
py
diff --git a/harpoon/actions.py b/harpoon/actions.py index <HASH>..<HASH> 100644 --- a/harpoon/actions.py +++ b/harpoon/actions.py @@ -80,8 +80,13 @@ def pull_arbitrary(collector, image, **kwargs): authentication = collector.configuration.get("authentication", NotSpecified) for index, (image, image_index) i...
Work out tag from image name when pulling all external
py
diff --git a/test_pal.py b/test_pal.py index <HASH>..<HASH> 100644 --- a/test_pal.py +++ b/test_pal.py @@ -350,7 +350,7 @@ class TestPAL(unittest.TestCase) : self.assertRaises( ValueError, pal.caldj, 1970, 13, 1 ) self.assertRaises( ValueError, pal.caldj, 1970, 1, 32 ) - def test_caf2r(self): + ...
fixed name of method test_daf2r
py
diff --git a/core/setup.py b/core/setup.py index <HASH>..<HASH> 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ setup(name='eo-learn-core', author_email='info@sinergise.com', license='MIT', packages=find_packages(), - package_data={'eolearn': ['eolearn/core/report_templates']}...
Really include the report template in setup.py
py
diff --git a/cassiopeia/type/dto/common.py b/cassiopeia/type/dto/common.py index <HASH>..<HASH> 100755 --- a/cassiopeia/type/dto/common.py +++ b/cassiopeia/type/dto/common.py @@ -1,6 +1,10 @@ import json class CassiopeiaDto(object): + def __init__(self, dictionary): + for k,v in dictionary.items(): +...
made a tiny modification to add a default __init__ for CassiopeiaDto. this is (and should be) overwritten in everything inside of cassio but it lets you do some black magic to make everything mutable
py
diff --git a/charmhelpers/fetch/ubuntu.py b/charmhelpers/fetch/ubuntu.py index <HASH>..<HASH> 100644 --- a/charmhelpers/fetch/ubuntu.py +++ b/charmhelpers/fetch/ubuntu.py @@ -454,6 +454,9 @@ def _add_apt_repository(spec): :param spec: the parameter to pass to add_apt_repository """ + if '{series}' in spe...
Add {series} support to _add_apt_repository (#<I>) Allows sources to include a `{series}` placeholder that will be populated automatically with the correct Ubuntu series. Closes #<I>
py
diff --git a/vendor/visualmetrics.py b/vendor/visualmetrics.py index <HASH>..<HASH> 100755 --- a/vendor/visualmetrics.py +++ b/vendor/visualmetrics.py @@ -549,9 +549,9 @@ def find_render_start(directory, orange_file, gray_file): right_margin = 10 bottom_margin = 25 if ...
merging upstream fixes (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ versioneer.VCS = "git" versioneer.versionfile_source = "src/wormhole/_version.py" versioneer.versionfile_build = "wormhole/_version.py" versioneer.tag_prefix = "" -versioneer.parentdir_prefix = "wormhole-sync" ...
setup.py: finish renaming
py
diff --git a/superset/migrations/versions/3317e9248280_add_creation_method_to_reports_model.py b/superset/migrations/versions/3317e9248280_add_creation_method_to_reports_model.py index <HASH>..<HASH> 100644 --- a/superset/migrations/versions/3317e9248280_add_creation_method_to_reports_model.py +++ b/superset/migrations...
oops (#<I>)
py
diff --git a/ceph_deploy/conf/cephdeploy.py b/ceph_deploy/conf/cephdeploy.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/conf/cephdeploy.py +++ b/ceph_deploy/conf/cephdeploy.py @@ -73,6 +73,11 @@ def create_stub(_path=None): class Conf(SafeConfigParser): + """ + Subclasses from SafeConfigParser to give a f...
update docstring for conf class
py
diff --git a/tests/unit/phases/MultiPhaseTest.py b/tests/unit/phases/MultiPhaseTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/phases/MultiPhaseTest.py +++ b/tests/unit/phases/MultiPhaseTest.py @@ -195,6 +195,7 @@ class MultiPhaseTest: def test_multiphase_invalid_occupancy(self): m = op.phases.Mult...
Add helper comment for one of the tests, for future reference
py
diff --git a/tinymce/widgets.py b/tinymce/widgets.py index <HASH>..<HASH> 100644 --- a/tinymce/widgets.py +++ b/tinymce/widgets.py @@ -123,7 +123,7 @@ class AdminTinyMCE(TinyMCE, admin_widgets.AdminTextareaWidget): def get_language_config(content_language=None): language = get_language() - language = parse_l...
BugFix: Change default language to meet standards
py
diff --git a/cyther/test.py b/cyther/test.py index <HASH>..<HASH> 100644 --- a/cyther/test.py +++ b/cyther/test.py @@ -41,7 +41,7 @@ def test_utilities(): test_dict_file() test_extract() #test_find() - #display_configure() + display_configure() display_direct() display_resources() pr...
Re-enabled testing of 'configuration'
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,9 +48,9 @@ copyright = u'2012, Doug Hellmann' # built documents. # # The short X.Y version. -version = '0.1' +version = '0.2' # The full version, including alpha/beta/rc tags...
fix version # in doc build script
py
diff --git a/wallace/models.py b/wallace/models.py index <HASH>..<HASH> 100644 --- a/wallace/models.py +++ b/wallace/models.py @@ -551,7 +551,10 @@ class Node(Base): .filter_by(destination_id=self.id, status="received", failed=False).all() info_ids = [t.info_id for t in transmissions] - r...
received_infos only does a query if transmissions have been received
py
diff --git a/cc_core/commons/schemas/engines/execution.py b/cc_core/commons/schemas/engines/execution.py index <HASH>..<HASH> 100644 --- a/cc_core/commons/schemas/engines/execution.py +++ b/cc_core/commons/schemas/engines/execution.py @@ -19,7 +19,7 @@ ccagency_schema = { 'outdir': {'type': 'string'}, ...
fixed type in ccagency schema
py
diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py index <HASH>..<HASH> 100644 --- a/salt/cloud/__init__.py +++ b/salt/cloud/__init__.py @@ -1388,11 +1388,14 @@ class Cloud(object): if main_cloud_config is None: main_cloud_config = {} + mapped_providers = self.map_providers_para...
Check all providers, not just the current one
py
diff --git a/pysparkling/partition.py b/pysparkling/partition.py index <HASH>..<HASH> 100644 --- a/pysparkling/partition.py +++ b/pysparkling/partition.py @@ -8,9 +8,11 @@ log = logging.getLogger(__name__) class Partition(object): def __init__(self, x, idx=None): self.index = idx - self._x = list(...
Partition: own data, but lazily load it
py
diff --git a/oceansdb/etopo.py b/oceansdb/etopo.py index <HASH>..<HASH> 100644 --- a/oceansdb/etopo.py +++ b/oceansdb/etopo.py @@ -70,7 +70,7 @@ class ETOPO_var_nc(object): self.load_dims() def keys(self): - return ['depth'] + return ['elevation'] def load_dims(self): self....
Renaming depth->elevation at ETOPO(). ETOPO gives elevations, so bellow sea level is < 0. Elevation makes that explicit.
py
diff --git a/skorch/tests/test_net.py b/skorch/tests/test_net.py index <HASH>..<HASH> 100644 --- a/skorch/tests/test_net.py +++ b/skorch/tests/test_net.py @@ -2608,7 +2608,7 @@ class TestNeuralNet: rv = np.random.random((20, 5)) net.forward_iter = lambda *args, **kwargs: (torch.as_tensor(rv) for _ in ...
Reviewer comment: fix typo in comment
py
diff --git a/exrex.py b/exrex.py index <HASH>..<HASH> 100644 --- a/exrex.py +++ b/exrex.py @@ -80,7 +80,6 @@ def _gen(d, limit=20, count=False): strings *= len(subs) ret = comb(ret, subs) elif i[0] == 'max_repeat': - # TODO limit range max chars = filter(No...
[mod] count mods, comments removed
py
diff --git a/bogo/new_bogo_engine.py b/bogo/new_bogo_engine.py index <HASH>..<HASH> 100644 --- a/bogo/new_bogo_engine.py +++ b/bogo/new_bogo_engine.py @@ -45,7 +45,7 @@ def process_key(string, key, raw_key_sequence=[], config=None): def default_return(): return string + key - if config == None: + ...
PEP8 in new_bogo_engine.py and more test cases
py
diff --git a/astral/astral.py b/astral/astral.py index <HASH>..<HASH> 100644 --- a/astral/astral.py +++ b/astral/astral.py @@ -96,7 +96,7 @@ except ImportError: __all__ = ['Location','AstralGeocoder','GoogleGeocoder','Astral','AstralError'] -__version__ = "0.7.3" +__version__ = "0.7.4" __author__ = "Simon Ke...
Bumped version number to <I>
py
diff --git a/scrape/scrape.py b/scrape/scrape.py index <HASH>..<HASH> 100755 --- a/scrape/scrape.py +++ b/scrape/scrape.py @@ -67,6 +67,7 @@ BASEDIR = "awacs" IGNORED_SERVICE_ALIASES = { "Amazon Kinesis Analytics V2": "kinesisanalytics", "Amazon Pinpoint Email Service": "ses", + "AWS IoT Greengrass V2": "...
Fix scrape script breakage - Map "AWS IoT Greengrass V2" to "greengrass" - Reduce max connections to prevent server busy captcha prompt
py
diff --git a/ansible_runner/interface.py b/ansible_runner/interface.py index <HASH>..<HASH> 100644 --- a/ansible_runner/interface.py +++ b/ansible_runner/interface.py @@ -140,7 +140,7 @@ def run(**kwargs): :param ident: The run identifier for this invocation of Runner. Will be used to create and name ...
Correct docstring A string isn't valid.
py
diff --git a/awkward/array/jagged.py b/awkward/array/jagged.py index <HASH>..<HASH> 100644 --- a/awkward/array/jagged.py +++ b/awkward/array/jagged.py @@ -92,7 +92,7 @@ class JaggedArray(awkward.array.base.AwkwardArrayWithContent): changes[-1] = len(parents) changes[1:-1] = tmp - length = par...
Also patch zero-length parents, although may never get used
py
diff --git a/leancloud/app_router.py b/leancloud/app_router.py index <HASH>..<HASH> 100644 --- a/leancloud/app_router.py +++ b/leancloud/app_router.py @@ -15,10 +15,11 @@ from leancloud import utils class AppRouter(object): def __init__(self, app_id, region): + self.app_id = app_id + self.region =...
fix: don't refresh app router on US region
py
diff --git a/requests_oauthlib/oauth1_session.py b/requests_oauthlib/oauth1_session.py index <HASH>..<HASH> 100644 --- a/requests_oauthlib/oauth1_session.py +++ b/requests_oauthlib/oauth1_session.py @@ -33,7 +33,6 @@ class TokenRequestDenied(ValueError): super(TokenRequestDenied, self).__init__(message) ...
will this fix coverage diff of -<I>
py
diff --git a/test_isort.py b/test_isort.py index <HASH>..<HASH> 100644 --- a/test_isort.py +++ b/test_isort.py @@ -1122,8 +1122,8 @@ def test_keep_comments(): test_input = ("from a import b, c # My Comment1\n" "from a import c, d # My Comment2 is really really really really long\n") assert...
Fixed test for fallback to mode 4 change.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def get_version(module='spyder_kernels'): REQUIREMENTS = ['ipykernel>=4.8.2', 'pyzmq>=17', - 'jupyter-client>=5.2.5', + 'jupyter-client>=5.3.4', ...
Require more recent version of jupyter-client This avoids an ugly bug on Windows
py
diff --git a/dnanexus_utils.py b/dnanexus_utils.py index <HASH>..<HASH> 100755 --- a/dnanexus_utils.py +++ b/dnanexus_utils.py @@ -376,7 +376,7 @@ class DxSeqResults: if not os.path.isdir(download_dir): os.makedirs(download_dir) logger.info("Downloading the FASTQC reports to {download_dir}.".format(download_...
Set the downloading of FASTQC reports to overwrite asif need beg
py
diff --git a/datajoint/autopopulate.py b/datajoint/autopopulate.py index <HASH>..<HASH> 100644 --- a/datajoint/autopopulate.py +++ b/datajoint/autopopulate.py @@ -81,6 +81,7 @@ class AutoPopulate: jobs = self.connection.jobs[self.target.database] if reserve_jobs else None todo -= self.target.proj() ...
Report number of missing keys to be populated
py
diff --git a/Lib/ufo2ft/markFeatureWriter.py b/Lib/ufo2ft/markFeatureWriter.py index <HASH>..<HASH> 100644 --- a/Lib/ufo2ft/markFeatureWriter.py +++ b/Lib/ufo2ft/markFeatureWriter.py @@ -160,19 +160,21 @@ class MarkFeatureWriter(object): # nothing to do, don't write empty feature return ...
[markFeatureWriter] skip writing mark/mkmk feature if empty sometimes empty blocks like this are emitted by the MarkFeatureWriter: feature mkmk { } mkmk; feaLib silently ignores them, while MakeOTF crashes on them with syntax error. <URL>
py
diff --git a/src/CPDs.py b/src/CPDs.py index <HASH>..<HASH> 100644 --- a/src/CPDs.py +++ b/src/CPDs.py @@ -3,6 +3,7 @@ import numpy as np + class TabularCPD(): """Represents the CPD of a node in tabular form""" def __init__(self, cpd):
Fixed PEP8 non-compliance
py
diff --git a/paramiko/message.py b/paramiko/message.py index <HASH>..<HASH> 100644 --- a/paramiko/message.py +++ b/paramiko/message.py @@ -67,9 +67,6 @@ class Message (object): def asbytes(self): """ Return the byte stream content of this Message, as bytes. - - @return: the contents of thi...
Some Epydoc->Sphinx stuff that came from the merge
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='microsoftbotframework', - version='0.1.10', + version='0.1.11', description='A wrapper for the microsoft bot framework API', classifiers=[ ...
Upldated Version to <I>
py
diff --git a/findiff/operators.py b/findiff/operators.py index <HASH>..<HASH> 100644 --- a/findiff/operators.py +++ b/findiff/operators.py @@ -270,7 +270,7 @@ class FinDiff(UnaryOperator): for off, w in zip(offsets, weights): multi_slice[dim] = i + off - yd[ref_multi_slice...
Replace deprecated use of non-tuple sequences in multidimensional indexing
py
diff --git a/tests/test_modeling_xlm.py b/tests/test_modeling_xlm.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_xlm.py +++ b/tests/test_modeling_xlm.py @@ -297,7 +297,7 @@ class XLMModelTester: self.parent.assertListEqual(list(result["loss"].size()), []) self.parent.assertListEqual(list(res...
rename the function to match the rest of the test convention (#<I>)
py
diff --git a/jupytext/combine.py b/jupytext/combine.py index <HASH>..<HASH> 100644 --- a/jupytext/combine.py +++ b/jupytext/combine.py @@ -36,6 +36,13 @@ def combine_inputs_with_outputs(nb_source, nb_outputs): if key not in nb_outputs_filtered_metadata: nb_source.metadata[key] = nb_outputs.metadat...
Drop the text_representation when redundant with the format information
py
diff --git a/layouts/__init__.py b/layouts/__init__.py index <HASH>..<HASH> 100644 --- a/layouts/__init__.py +++ b/layouts/__init__.py @@ -33,7 +33,7 @@ from github import Github, GithubException ## Variables -__version__ = '0.4.3' +__version__ = '0.4.4' log = logging.getLogger(__name__) @@ -156,6 +156,7 @@ c...
Missing tarfile close before trying to delete it - Incrementing to <I>
py
diff --git a/openquake/engine/celery_node_monitor.py b/openquake/engine/celery_node_monitor.py index <HASH>..<HASH> 100644 --- a/openquake/engine/celery_node_monitor.py +++ b/openquake/engine/celery_node_monitor.py @@ -93,11 +93,21 @@ class CeleryNodeMonitor(object): Check that the expected celery nodes are al...
Made more responsive the check_nodes thread
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ if sys.version < '3': ) extras_require = { - 'rtree': ["Rtree==0.8.2"], + 'rtree': ["Rtree >=0.8.2, <0.8.4"], 'celery': ["celery >=3.1, <4.0"], 'plotting': ["matplotlib >=1.5"], }
Allow installation of Rtree <I> Former-commit-id: 0b9adbea<I>f1f0c0ef<I>acf5b2b<I>e6bc4c4f
py
diff --git a/eventsourcing/system.py b/eventsourcing/system.py index <HASH>..<HASH> 100644 --- a/eventsourcing/system.py +++ b/eventsourcing/system.py @@ -1,7 +1,17 @@ from abc import ABC, abstractmethod from collections import defaultdict from threading import Event, Lock, Thread -from typing import Dict, Iterable,...
Adjusted the type annotation for the 'tracking' arg of ProcessEvent class.
py
diff --git a/wafer/management/commands/wafer_add_default_groups.py b/wafer/management/commands/wafer_add_default_groups.py index <HASH>..<HASH> 100644 --- a/wafer/management/commands/wafer_add_default_groups.py +++ b/wafer/management/commands/wafer_add_default_groups.py @@ -14,6 +14,9 @@ class Command(BaseCommand): ...
Add a couple more possibly useful groups
py
diff --git a/generators/xml.py b/generators/xml.py index <HASH>..<HASH> 100644 --- a/generators/xml.py +++ b/generators/xml.py @@ -170,6 +170,18 @@ class Xml(Generator): ret.append(self.type_to_xml(arg.type, node.parent)) elem.append(ret) + def method_to_xml(self, node, elem): + se...
Set virtual, static, abstract on method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from ast import literal_eval from setuptools import setup, find_packages, Extension import re @@ -8,9 +9,8 @@ def module_attr_re(attr): def grep_attr(body, attr): - return str(l...
Fix Python 3 support (closes #6)
py
diff --git a/datapoint/Manager.py b/datapoint/Manager.py index <HASH>..<HASH> 100644 --- a/datapoint/Manager.py +++ b/datapoint/Manager.py @@ -254,7 +254,7 @@ class Manager(object): warning_message = 'This function is deprecated. Use get_nearest_forecast_site() instead' warn(warning_message, Deprecati...
Fix erroneous recursion
py
diff --git a/flink-python/pyflink/datastream/tests/test_data_stream.py b/flink-python/pyflink/datastream/tests/test_data_stream.py index <HASH>..<HASH> 100644 --- a/flink-python/pyflink/datastream/tests/test_data_stream.py +++ b/flink-python/pyflink/datastream/tests/test_data_stream.py @@ -632,8 +632,6 @@ class DataStr...
[FLINK-<I>][python] Fix the unstable test test_keyed_process_function_with_state in PyFlink This closes #<I>.
py
diff --git a/shinken/objects/host.py b/shinken/objects/host.py index <HASH>..<HASH> 100644 --- a/shinken/objects/host.py +++ b/shinken/objects/host.py @@ -211,7 +211,7 @@ class Host(SchedulingItem): 'got_default_realm' : BoolProp(default=False), # use for having all contacts we have notified - ...
Fix notified_contacts for host
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ setup( author="Chris Gemignani", author_email="chris.gemignani@juiceanalytics.com", url="https://github.com/juiceinc/recipe", - packages=find_packages(), + packages=find_packages(include=["r...
Avoid installing a top-level `tests` package in setup.py (#<I>)
py
diff --git a/hotdoc/extensions/gst/gst_extension.py b/hotdoc/extensions/gst/gst_extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/extensions/gst/gst_extension.py +++ b/hotdoc/extensions/gst/gst_extension.py @@ -1000,7 +1000,8 @@ class GstExtension(Extension): filename=plugin_name, ...
gst: Use plugin name to reference plugins Instead of the filename
py
diff --git a/parcalc/parcalc.py b/parcalc/parcalc.py index <HASH>..<HASH> 100644 --- a/parcalc/parcalc.py +++ b/parcalc/parcalc.py @@ -60,7 +60,7 @@ import time import os import tempfile import shutil -import copy +from copy import deepcopy from subprocess import check_output from contextlib import contextmanager ...
Directly import deepcopy. Correct import in tests for new package structure.
py
diff --git a/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/storage_management_client.py b/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/storage_management_client.py index <HASH>..<HASH> 100755 --- a/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/storage_management_client.py +++ b/azure-mgmt-storage/azure/mgm...
Fix relative links in azure-mgmt-storage
py
diff --git a/util/compile.py b/util/compile.py index <HASH>..<HASH> 100755 --- a/util/compile.py +++ b/util/compile.py @@ -27,6 +27,10 @@ for language in languages: included_languages.append(language) js_files_to_include.append(path) +closure_path = '/usr/local/compiler-latest/compiler.jar' +if not os.path....
Throw error if closure compiler is not installed
py
diff --git a/benchbuild/utils/__init__.py b/benchbuild/utils/__init__.py index <HASH>..<HASH> 100644 --- a/benchbuild/utils/__init__.py +++ b/benchbuild/utils/__init__.py @@ -6,13 +6,13 @@ get deleted afterwards. import sys import logging from types import ModuleType -from plumbum.commands.base import BoundCommand +...
fix: import a working ErrorCommand, if normal import fails. We already return an ErrorCommand object when we fail to import the requested command. However, the existing code fails to return a command that uses the plumbum API correctly. This triggers an exception when we deal with portage_gen tests and don't have a w...
py
diff --git a/spyder_notebook/utils/nbopen.py b/spyder_notebook/utils/nbopen.py index <HASH>..<HASH> 100644 --- a/spyder_notebook/utils/nbopen.py +++ b/spyder_notebook/utils/nbopen.py @@ -54,7 +54,11 @@ def nbopen(filename): command = ['jupyter', 'notebook', '--no-browser', '--notebook-dir={...
Adds flag to not show console in windows.
py
diff --git a/tests/test_program.py b/tests/test_program.py index <HASH>..<HASH> 100644 --- a/tests/test_program.py +++ b/tests/test_program.py @@ -209,6 +209,7 @@ class TestProgramFeatures(object): def test_triggerlist_targetlist_change2_namever(self, mysys): # TODO: investigate failure in https://travi...
Add TODO about another failed Travis build
py
diff --git a/spacy/_ml.py b/spacy/_ml.py index <HASH>..<HASH> 100644 --- a/spacy/_ml.py +++ b/spacy/_ml.py @@ -243,8 +243,9 @@ class PrecomputableAffine(Model): def link_vectors_to_models(vocab): vectors = vocab.vectors if vectors.name is None: - raise ValueError( - "Unnamed vectors -- this...
Warn and fallback if vectors have no name
py
diff --git a/python/ray/_private/services.py b/python/ray/_private/services.py index <HASH>..<HASH> 100644 --- a/python/ray/_private/services.py +++ b/python/ray/_private/services.py @@ -253,7 +253,8 @@ def get_address_info_from_redis_helper(redis_address, client_node_ip_address = client_info["NodeManagerAddre...
added address resolution fix for running in docker containers (#<I>) * added address resolution fix for running in docker containers * added address resolution fix for running in docker containers (java) * Update RayNativeRuntime.java
py
diff --git a/source/rafcon/statemachine/library_manager.py b/source/rafcon/statemachine/library_manager.py index <HASH>..<HASH> 100644 --- a/source/rafcon/statemachine/library_manager.py +++ b/source/rafcon/statemachine/library_manager.py @@ -97,7 +97,7 @@ class LibraryManager(Observable): # Replace environmen...
Make relative path check OS independent Instead of checking whether a path starts with '/', use the Python method os.path.isabs(), which also works on e.g. Windows.
py
diff --git a/bibliopixel/builder/builder.py b/bibliopixel/builder/builder.py index <HASH>..<HASH> 100644 --- a/bibliopixel/builder/builder.py +++ b/bibliopixel/builder/builder.py @@ -100,4 +100,4 @@ class Builder(SavedDescription): run = {'run': {'threaded': False}} self.project = project.project( ...
Clean projects up when called from Builder * Part of #<I>
py
diff --git a/settings.example.py b/settings.example.py index <HASH>..<HASH> 100644 --- a/settings.example.py +++ b/settings.example.py @@ -61,6 +61,6 @@ MQTT_BROKER = "10.0.0.1" # No extensions will be loaded per default # EXTENSIONS = [] # EXTENSIONS = [ -# b"org.homie.legacy-firmware:0.1.1:[4.x]", -# b"org.h...
Remove bytestring for extension in settings example
py
diff --git a/python/dllib/src/bigdl/dllib/utils/common.py b/python/dllib/src/bigdl/dllib/utils/common.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/utils/common.py +++ b/python/dllib/src/bigdl/dllib/utils/common.py @@ -581,6 +581,7 @@ def _get_gateway(): def callBigDlFunc(bigdl_type, name, *args): ...
fix callBigDLFunc (#<I>)
py
diff --git a/examples/webcam/webcam.py b/examples/webcam/webcam.py index <HASH>..<HASH> 100644 --- a/examples/webcam/webcam.py +++ b/examples/webcam/webcam.py @@ -41,7 +41,7 @@ async def offer(request): pcs.discard(pc) # open webcam - options = {'video_size': '640x480'} + options = {'framerate...
[examples] explicitly set frame rate to <I>fps This fixes #<I>
py
diff --git a/src/canmatrix/canmatrix.py b/src/canmatrix/canmatrix.py index <HASH>..<HASH> 100644 --- a/src/canmatrix/canmatrix.py +++ b/src/canmatrix/canmatrix.py @@ -171,10 +171,11 @@ class Signal(object): def multiplexSetter(self, value): self.mux_val = None self.is_multiplexer = False + ...
Fix signal is_multiplexer being True by default The default should be False. The error was introduced probably by always applying the multiplexSetter in __attrs_post_init__ in commit a<I>.
py
diff --git a/pyvisa-py/usb.py b/pyvisa-py/usb.py index <HASH>..<HASH> 100644 --- a/pyvisa-py/usb.py +++ b/pyvisa-py/usb.py @@ -229,7 +229,8 @@ class USBInstrSession(USBSession): for name in ('SEND_END_EN', 'TERMCHAR', 'TERMCHAR_EN', 'TMO_VALUE'): attribute = getattr(constants, 'VI_ATTR_' + name)...
Fix custom timeout for USBTMC sessions USBInstrSession contained code that directly manipulated self.attrs[], thus accidentally disabling any getters/setters (including the getter/setter for USB timeout). This is fixed by calling Session.set_attribute() instead of directly manipulating self.attrs[].
py
diff --git a/pymc/StepMethods.py b/pymc/StepMethods.py index <HASH>..<HASH> 100644 --- a/pymc/StepMethods.py +++ b/pymc/StepMethods.py @@ -651,9 +651,18 @@ class DrawFromPrior(StepMethod): self.generations = generations def step(self): + jumped = [] for generation in self.generations: - ...
Protecting against illegal jumps in DrawFromPrior
py
diff --git a/gspreadsheet/tests.py b/gspreadsheet/tests.py index <HASH>..<HASH> 100644 --- a/gspreadsheet/tests.py +++ b/gspreadsheet/tests.py @@ -6,7 +6,8 @@ connect to a live spreadsheet whose contents cannot be guaranteed. So take the results of these tests with a grain of salt. """ -from unittest import TestCas...
re-enable tests that required authentication
py
diff --git a/traffic/core/flight.py b/traffic/core/flight.py index <HASH>..<HASH> 100644 --- a/traffic/core/flight.py +++ b/traffic/core/flight.py @@ -1602,7 +1602,7 @@ class Flight( self, other: PointMixin, column_name: str = "bearing" ) -> "Flight": # temporary, should implement full stuff - ...
ref #<I>, no need to resample before goaround
py
diff --git a/pyoko/form.py b/pyoko/form.py index <HASH>..<HASH> 100644 --- a/pyoko/form.py +++ b/pyoko/form.py @@ -257,6 +257,7 @@ class Form(ModelForm): class Button(BaseField): def __init__(self, *args, **kwargs): self.cmd = kwargs.pop('cmd', None) + self.flow = kwargs.pop('flow', None) ...
added "flow" kwarg argument to button field
py
diff --git a/yotta/lib/access.py b/yotta/lib/access.py index <HASH>..<HASH> 100644 --- a/yotta/lib/access.py +++ b/yotta/lib/access.py @@ -216,7 +216,7 @@ def searchPathsForComponent(name, version_required, search_paths): def satisfyVersionFromAvailble(name, version_required, available): spec = None - if nam...
fix listing dependencies if the same module is missing twice
py
diff --git a/LiSE/LiSE/handle.py b/LiSE/LiSE/handle.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/handle.py +++ b/LiSE/LiSE/handle.py @@ -1246,4 +1246,10 @@ class EngineHandle(object): self._real.game_start() def is_parent_of(self, parent, child): - return self._real.is_parent_of(parent, child) ...
Add apply_choice and apply_choices to the EngineHandle
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -68,7 +68,7 @@ version = anom.__version__ # The full version, including alpha/beta/rc tags. release = anom.__version__ -versions = ['latest', version, '0.2.0', '0.1.0', '0.0.7', ...
chore: add <I> to doc versions list
py
diff --git a/iopipe/report.py b/iopipe/report.py index <HASH>..<HASH> 100644 --- a/iopipe/report.py +++ b/iopipe/report.py @@ -1,3 +1,4 @@ +import copy import json import logging import os @@ -191,4 +192,4 @@ class Report(object): logger.debug("Sending report to IOpipe:") logger.debug(json.dumps(se...
Try making a copy of report before sending
py
diff --git a/python/deepwater/models/test_inception.py b/python/deepwater/models/test_inception.py index <HASH>..<HASH> 100644 --- a/python/deepwater/models/test_inception.py +++ b/python/deepwater/models/test_inception.py @@ -20,15 +20,15 @@ class TestInceptionV4(unittest.TestCase): use_de...
disable CIFAR<I> tests since they are very slow
py
diff --git a/tests/data_context/test_data_context.py b/tests/data_context/test_data_context.py index <HASH>..<HASH> 100644 --- a/tests/data_context/test_data_context.py +++ b/tests/data_context/test_data_context.py @@ -322,6 +322,10 @@ def test_normalize_data_asset_names_conditions_single_name(): # - "mydatasour...
Added a note for a new test case
py
diff --git a/indra/tests/test_rest_api.py b/indra/tests/test_rest_api.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_rest_api.py +++ b/indra/tests/test_rest_api.py @@ -174,3 +174,10 @@ def test_assemblers_graph(): res = _call_api('post', 'assemblers/graph', stmt_str) res_json = res.json() assert '...
Add test of english assembler.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,6 +57,10 @@ sphinx_gallery_confg = { } } +import matplotlib as mpl +mpl.use('Agg') +import matplotlib.pyplot as plt + from glob import glob autosummary_generate = glob('*.rst')
trying to circumvent plt errors in sphinx build
py
diff --git a/superset/sql_lab.py b/superset/sql_lab.py index <HASH>..<HASH> 100644 --- a/superset/sql_lab.py +++ b/superset/sql_lab.py @@ -220,6 +220,7 @@ def execute_sql_statement(sql_statement, query, user_name, session, cursor): security_manager, ) query.executed_sql = sql + ...
Add commit to attempt to resolve query table lock (#<I>)
py
diff --git a/angr/engines/vex/claripy/irop.py b/angr/engines/vex/claripy/irop.py index <HASH>..<HASH> 100644 --- a/angr/engines/vex/claripy/irop.py +++ b/angr/engines/vex/claripy/irop.py @@ -869,7 +869,7 @@ class SimIROp: rm = self._translate_rm(args[0] if rm_exists else claripy.BVV(0, 32)) arg = args...
Add unsigned floating point conversions (#<I>)
py
diff --git a/tests/tasks.py b/tests/tasks.py index <HASH>..<HASH> 100644 --- a/tests/tasks.py +++ b/tests/tasks.py @@ -16,7 +16,6 @@ from kuyruk.exceptions import Discard # Override defaults for testing Config.WORKER_LOGGING_LEVEL = "debug" -Config.WORKER_MAX_LOAD = 999 kuyruk = Kuyruk()
no need to set max_load to a high value
py
diff --git a/djangular/styling/bootstrap3/widgets.py b/djangular/styling/bootstrap3/widgets.py index <HASH>..<HASH> 100644 --- a/djangular/styling/bootstrap3/widgets.py +++ b/djangular/styling/bootstrap3/widgets.py @@ -27,7 +27,7 @@ class ChoiceFieldRenderer(DjngChoiceFieldRenderer): class CheckboxInput(widgets.Checkb...
Fixed: choice_label in CheckboxInput was not handled by i<I>n
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def read(filename): setup( name = "ccsyspath", - version = "1.0.2", + version = "1.1.0", description = "Find the system include paths for clang and gcc C/C++ compilers", ...
version bump for pypi release
py
diff --git a/markupsafe/tests.py b/markupsafe/tests.py index <HASH>..<HASH> 100644 --- a/markupsafe/tests.py +++ b/markupsafe/tests.py @@ -158,9 +158,9 @@ class MarkupLeakTestCase(unittest.TestCase): escape("<foo>") escape(u"foo") escape(u"<foo>") - gc.colle...
Made gc.collect() call conditional to running on pypy.
py
diff --git a/gala/potential/scf/core.py b/gala/potential/scf/core.py index <HASH>..<HASH> 100644 --- a/gala/potential/scf/core.py +++ b/gala/potential/scf/core.py @@ -213,6 +213,6 @@ def compute_coeffs_discrete(xyz, mass, nmax, lmax, r_s, if compute_var: Snlm_var[n,l,m], Tnlm_var[n...
return covariance matrix between SCF coefficients
py
diff --git a/AegeanTools/fits_image.py b/AegeanTools/fits_image.py index <HASH>..<HASH> 100644 --- a/AegeanTools/fits_image.py +++ b/AegeanTools/fits_image.py @@ -12,7 +12,7 @@ import logging,sys from math import pi,cos,sin,sqrt class FitsImage(): - def __init__(self, filename, hdu_index=0, hdu=None, beam=None):...
It is no longer neccessary to supply fitsfilename when a FitsImage is being created from an hdu
py
diff --git a/pyt/vulnerabilities.py b/pyt/vulnerabilities.py index <HASH>..<HASH> 100644 --- a/pyt/vulnerabilities.py +++ b/pyt/vulnerabilities.py @@ -96,10 +96,12 @@ def is_sanitized(sink, sanitiser_dict): def get_vulnerability(source, sink, triggers): if source.cfg_node in sink.cfg_node.new_constraint: + ...
Adding sanitised vulnerabilities
py
diff --git a/h11/_events.py b/h11/_events.py index <HASH>..<HASH> 100644 --- a/h11/_events.py +++ b/h11/_events.py @@ -70,6 +70,12 @@ class _EventBundle(object): return (self.__class__ == other.__class__ and self.__dict__ == other.__dict__) + def __ne__(self, other): + return not s...
Explicit equality and hashing on _EventBundle. These are both required for Python 2.
py
diff --git a/analyzers/VMRay/vmray.py b/analyzers/VMRay/vmray.py index <HASH>..<HASH> 100755 --- a/analyzers/VMRay/vmray.py +++ b/analyzers/VMRay/vmray.py @@ -89,7 +89,7 @@ class VMRayAnalyzer(Analyzer): else: level = "info" - if r["reports"] > 1: + ...
VMRay: fix comparison of list and int instead of len and int
py
diff --git a/jumeaux/executor.py b/jumeaux/executor.py index <HASH>..<HASH> 100644 --- a/jumeaux/executor.py +++ b/jumeaux/executor.py @@ -488,6 +488,14 @@ Please specify a valid name. logger_config.update({'disable_existing_loggers': False}) logging.config.dictConfig(logger_config) + logger.info...
:hammer: Add config settings to log
py
diff --git a/astropy_helpers/commands/_test_compat.py b/astropy_helpers/commands/_test_compat.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/commands/_test_compat.py +++ b/astropy_helpers/commands/_test_compat.py @@ -198,8 +198,13 @@ class AstropyTest(Command, object): build_cmd = self.get_finalized_comm...
This is a followup to #<I> needed for things to work properly in OSX, where tempfile.mkdtemp does *not* return a real path.
py