diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/vanilla/io.py b/vanilla/io.py index <HASH>..<HASH> 100644 --- a/vanilla/io.py +++ b/vanilla/io.py @@ -46,6 +46,7 @@ class FD_from_fileno_in(object): os.close(self.fileno) except OSError: pass + self.hub.unregister(self.fileno) class FD_from_fileno_out(object):...
rework io to make use of onclose trigger
py
diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index <HASH>..<HASH> 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -1925,13 +1925,13 @@ class StringMethods(NoNewAttributesMixin): Examples -------- >>> pd.Series(['a|b', 'a'...
DOC: Proper alignment of column names #<I> (#<I>)
py
diff --git a/quantecon/matrix_eqn.py b/quantecon/matrix_eqn.py index <HASH>..<HASH> 100644 --- a/quantecon/matrix_eqn.py +++ b/quantecon/matrix_eqn.py @@ -116,12 +116,12 @@ def solve_discrete_riccati(A, B, Q, R, N=None, tolerance=1e-10, max_iter=500): k x k array. B : array_like(float, ndim=2) k ...
Order documentation in the same order as function interface
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,6 +58,7 @@ setup( 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ...
Adding support for Python <I>
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -665,8 +665,6 @@ class Editor(SpyderPluginWidget): self.print_action = create_action(self, _("&Print..."), icon=ima.icon('p...
remove print shortcut (previous commit started this)
py
diff --git a/oi/core.py b/oi/core.py index <HASH>..<HASH> 100644 --- a/oi/core.py +++ b/oi/core.py @@ -1,6 +1,7 @@ import sys import argparse import threading +import readline import logging from nanoservice import Service
Add ctl history functionality Press keyup and replay the last command
py
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -1714,6 +1714,8 @@ def _assert_occurrence(src, probe, target, amount=1): if msg: raise CommandExecutionError('Found {0} expected occurrences in "{1}" expression'.fo...
Make assert_occurrence return amount of occurrences
py
diff --git a/vexbot/adapters/shell/shell.py b/vexbot/adapters/shell/shell.py index <HASH>..<HASH> 100644 --- a/vexbot/adapters/shell/shell.py +++ b/vexbot/adapters/shell/shell.py @@ -128,7 +128,7 @@ class Shell(Prompt): def _identity_callback(self): self.messaging.send_command('services', suppress=True)...
updated to reflect naming of get_commands instead of commands
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,7 @@ import mock MOCK_MODULES = ['numpy', 'scipy', 'matplotlib', 'matplotlib.pyplot', - 'scipy.interpolate', 'Image', 'shapely'] + 'scipy.interpolate', 'Image', 'sha...
docs/conf.py: mock shapely
py
diff --git a/tests/elements_tests.py b/tests/elements_tests.py index <HASH>..<HASH> 100755 --- a/tests/elements_tests.py +++ b/tests/elements_tests.py @@ -79,3 +79,6 @@ assert s11[0] == p3 s12 = HSeq(p2, p4) assert s9 + s12 == HSeq(p1, p3, p2, p4) + +assert s9 * 3 == s9 + s9 + s9 +
completed test coverage for HSeq
py
diff --git a/grimoire_elk/elk.py b/grimoire_elk/elk.py index <HASH>..<HASH> 100755 --- a/grimoire_elk/elk.py +++ b/grimoire_elk/elk.py @@ -486,12 +486,12 @@ def get_ocean_backend(backend_cmd, enrich_backend, no_incremental, def do_studies(ocean_backend, enrich_backend, studies_args, retention_time=None): - """E...
[elk] Fix docstring in `do_studies` method This code fixes the docstring of the variable `retention_time`.
py
diff --git a/certauth.py b/certauth.py index <HASH>..<HASH> 100644 --- a/certauth.py +++ b/certauth.py @@ -13,8 +13,8 @@ from argparse import ArgumentParser #================================================================= -# Duration of 100 years -CERT_DURATION = 100 * 365 * 24 * 60 * 60 +# Duration of 10 years ...
certauth: fix max cert duration to avoid int overflow
py
diff --git a/remi/gui.py b/remi/gui.py index <HASH>..<HASH> 100644 --- a/remi/gui.py +++ b/remi/gui.py @@ -273,6 +273,17 @@ class Tag(object): """ return self.children[key] + def get_parent(self): + """Returns the parent tag instance or None where not applicable + """ + if ha...
Implemented Tag.get_parent. A convenient function to retrieve the parent tag instance.
py
diff --git a/pdb.py b/pdb.py index <HASH>..<HASH> 100644 --- a/pdb.py +++ b/pdb.py @@ -45,8 +45,8 @@ pdb = import_from_stdlib('pdb') def rebind_globals(func, newglobals=None): if newglobals is None: newglobals = globals() - newfunc = types.FunctionType(func.func_code, newglobals, func.func_name, - ...
rename func_* to __*__
py
diff --git a/cme/crackmapexec.py b/cme/crackmapexec.py index <HASH>..<HASH> 100755 --- a/cme/crackmapexec.py +++ b/cme/crackmapexec.py @@ -75,6 +75,8 @@ async def run_protocol(loop, protocol_obj, args, db, target, jitter): except asyncio.CancelledError: logging.debug("Stopping thread") thread.can...
Stop crackmapexec from crashing completely when concurrency issues cause lock-contention on the database - in SMB-mode.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( version='0.3.7', description='Blanc Basic Pages for Django', long_description=readme, - url='https://github.com/blancltd/blanc-basic-pages', + url='https://github.com/developersociety...
Update GitHub repos from blancltd to developersociety
py
diff --git a/pex/common.py b/pex/common.py index <HASH>..<HASH> 100644 --- a/pex/common.py +++ b/pex/common.py @@ -371,6 +371,16 @@ def atomic_directory(target_dir, exclusive, source=None): return lock_fd = None # type: Optional[int] + + def unlock(): + # type: () -> None + if lock_fd ...
Exclusive atomic_directory always unlocks. (#<I>) Previously we would fail to unlock when we lost the atomic directory creation race. Fixes #<I>
py
diff --git a/spyderlib/utils/introspection/rope_plugin.py b/spyderlib/utils/introspection/rope_plugin.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/introspection/rope_plugin.py +++ b/spyderlib/utils/introspection/rope_plugin.py @@ -299,8 +299,8 @@ if __name__ == '__main__': completions = p.get_completions(C...
Editor: Improve a test in our Rope plugin
py
diff --git a/ternary/plotting.py b/ternary/plotting.py index <HASH>..<HASH> 100644 --- a/ternary/plotting.py +++ b/ternary/plotting.py @@ -158,14 +158,24 @@ def plot_colored_trajectory(t, cmap, ax=None, **kwargs): ax = pyplot.subplot() xs, ys = project(t) - points = np.column_stack((xs, ys)) - poi...
Trajectories colored by location in an array now works.
py
diff --git a/bcbio/srna/sample.py b/bcbio/srna/sample.py index <HASH>..<HASH> 100644 --- a/bcbio/srna/sample.py +++ b/bcbio/srna/sample.py @@ -308,11 +308,14 @@ def _mint_trna_annotation(data): """ use MINTmap to quantify tRNAs """ + name = dd.get_sample_name(data) + work_dir = os.path.join(dd.get_...
Skip MINT if the tRNA files are not installed. Thanks @lpantano for suggesting the fix and
py
diff --git a/vc_vidyo/indico_vc_vidyo/plugin.py b/vc_vidyo/indico_vc_vidyo/plugin.py index <HASH>..<HASH> 100644 --- a/vc_vidyo/indico_vc_vidyo/plugin.py +++ b/vc_vidyo/indico_vc_vidyo/plugin.py @@ -286,3 +286,7 @@ class VidyoPlugin(VCPluginMixin, IndicoPlugin): }) return defaults + + def can_man...
VC/Vidyo: Vidyo part of room search
py
diff --git a/mongo_connector/connector.py b/mongo_connector/connector.py index <HASH>..<HASH> 100755 --- a/mongo_connector/connector.py +++ b/mongo_connector/connector.py @@ -667,9 +667,8 @@ def main(): ## Create a mapping of source ns to dest ns as a dict dest_mapping = dict(zip(ns_set, dest_ns_set))...
fix: do not set fields to empty list when --fields not parsed on command-line
py
diff --git a/great_expectations/datasource/data_connector/batch_filter.py b/great_expectations/datasource/data_connector/batch_filter.py index <HASH>..<HASH> 100644 --- a/great_expectations/datasource/data_connector/batch_filter.py +++ b/great_expectations/datasource/data_connector/batch_filter.py @@ -112,13 +112,15 @@...
Small fix for batch_filter (the tests already cover it). (#<I>)
py
diff --git a/cl/agents.py b/cl/agents.py index <HASH>..<HASH> 100644 --- a/cl/agents.py +++ b/cl/agents.py @@ -2,6 +2,8 @@ from __future__ import absolute_import +from inspect import isclass + from kombu.common import uuid from kombu.log import setup_logging from kombu.mixins import ConsumerMixin @@ -42,8 +44,1...
Agent.actors can now be a list of classes, rather than just instances
py
diff --git a/penaltymodel_mip/tests/test_generation.py b/penaltymodel_mip/tests/test_generation.py index <HASH>..<HASH> 100644 --- a/penaltymodel_mip/tests/test_generation.py +++ b/penaltymodel_mip/tests/test_generation.py @@ -302,3 +302,10 @@ class TestGeneration(unittest.TestCase): bqm, gap = mip.generate_bq...
Add a nonzero ground state test
py
diff --git a/spinoff/actor/cell.py b/spinoff/actor/cell.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/cell.py +++ b/spinoff/actor/cell.py @@ -172,7 +172,7 @@ class Cell(_BaseCell): # TODO: inherit from Greenlet? stash = deque() while True: m = self.queue.get() - ...
Small fix in Cell--was expecting _resume (as opposed to _ignore) after init failure
py
diff --git a/umbra/browser.py b/umbra/browser.py index <HASH>..<HASH> 100644 --- a/umbra/browser.py +++ b/umbra/browser.py @@ -241,6 +241,7 @@ class Chrome: "--window-size=1100,900", "--no-default-browser-check", "--disable-first-run-ui", "--no-first-run", "--homepage=...
Disable web security in chromium so iframes on different domains can be accessed by behavior javascript.
py
diff --git a/buildbot/scripts/logwatcher.py b/buildbot/scripts/logwatcher.py index <HASH>..<HASH> 100644 --- a/buildbot/scripts/logwatcher.py +++ b/buildbot/scripts/logwatcher.py @@ -38,6 +38,10 @@ class LogWatcher(LineOnlyReceiver): self.timer = None def start(self): + # If the log file doesn't ...
LogWatcher: Create log files before trying to tail them; this makes the watch code work when twistd.log isn't preexisting.
py
diff --git a/ncpol2sdpa/sdp_relaxation.py b/ncpol2sdpa/sdp_relaxation.py index <HASH>..<HASH> 100644 --- a/ncpol2sdpa/sdp_relaxation.py +++ b/ncpol2sdpa/sdp_relaxation.py @@ -857,6 +857,7 @@ class SdpRelaxation(Relaxation): equalities by solving the linear equations. :type rem...
status is now reset to unsolved during process constraints
py
diff --git a/MEA_package/ProgramFiles/regression_tests.py b/MEA_package/ProgramFiles/regression_tests.py index <HASH>..<HASH> 100755 --- a/MEA_package/ProgramFiles/regression_tests.py +++ b/MEA_package/ProgramFiles/regression_tests.py @@ -267,7 +267,7 @@ def main(): for i, test in enumerate(tests_to_run): ...
added the runtime to regression tests standard printing
py
diff --git a/cachalot/utils.py b/cachalot/utils.py index <HASH>..<HASH> 100644 --- a/cachalot/utils.py +++ b/cachalot/utils.py @@ -3,7 +3,6 @@ from __future__ import unicode_literals import datetime from decimal import Decimal -from hashlib import sha1 from time import time from uuid import UUID @@ -75,8 +74,7 @...
Simplifies the cache key hashing.
py
diff --git a/tests/test_replay.py b/tests/test_replay.py index <HASH>..<HASH> 100644 --- a/tests/test_replay.py +++ b/tests/test_replay.py @@ -87,10 +87,7 @@ def test_dump_run_json_dump( """Test that replay.dump runs json.dump under the hood and that the context is correctly written to the expected file in th...
Use spy instead of mock.patch in test_replay
py
diff --git a/cfgrib/__main__.py b/cfgrib/__main__.py index <HASH>..<HASH> 100644 --- a/cfgrib/__main__.py +++ b/cfgrib/__main__.py @@ -1,6 +1,23 @@ +# +# Copyright 2017-2018 European Centre for Medium-Range Weather Forecasts (ECMWF). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not u...
Add copyright noticeand Authors comment.
py
diff --git a/nodeconductor/structure/models.py b/nodeconductor/structure/models.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/models.py +++ b/nodeconductor/structure/models.py @@ -1174,7 +1174,7 @@ class ResourceMixin(MonitoringModelMixin, return itertools.chain( self._get_generic_r...
Render concrete related objects (ie Zabbix IT Service for Host) (SAAS-<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,22 +1,21 @@ -#!/usr/bin/env python # -*- coding: utf-8 -*- -from setuptools import setup from os import path +from setuptools import setup + # Version with open(path.join(path.dirname(__file__), 'cmudict', 'VERSION'...
Removed shebang and made long_description a constant.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import warnings from setuptools import setup, find_packages -version = '0.9.3' +version = '0.9.3-1' def parse_requirements(filename): """ load requirements from a pip requirements file """
Bumping version for twine upload.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -71,6 +71,10 @@ else: install_requires.append("networkx>=2.1") # Extra dependencies for remote integrations + +# Restricting google-resumable-media version is due to fact that +# since 0.3.3 our builds for Linux and Ma...
setup: add note why we restrict google-resumable-media version
py
diff --git a/easyshell/basic_shell.py b/easyshell/basic_shell.py index <HASH>..<HASH> 100644 --- a/easyshell/basic_shell.py +++ b/easyshell/basic_shell.py @@ -164,7 +164,7 @@ class BasicShell(_ShellBase): for cmd in getcommands(obj): cmds.append(cmd) cmd_str = ','....
Remove empty lines in 'help'
py
diff --git a/configure.py b/configure.py index <HASH>..<HASH> 100755 --- a/configure.py +++ b/configure.py @@ -178,7 +178,7 @@ for name in ['build_test', 'build_log_test', 'disk_interface_test', objs += cxx(name, variables=[('cflags', test_cflags)]) if platform != 'mingw': - libs.append('-lpthread') + tes...
link gtest code with -lpthread I broke this in a refactoring.
py
diff --git a/zipline/algorithm.py b/zipline/algorithm.py index <HASH>..<HASH> 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -89,6 +89,8 @@ class TradingAlgorithm(object): If not provided, will extract from data_frequency. capital_base : float <default: 1.0e5> ...
DOC: Added doc string for instant_fill.
py
diff --git a/internetarchive/search.py b/internetarchive/search.py index <HASH>..<HASH> 100644 --- a/internetarchive/search.py +++ b/internetarchive/search.py @@ -66,7 +66,7 @@ class Search(object): # ____________________________________________________________________________________ def __iter__(self): ...
Changed to integer division to fix float error
py
diff --git a/faker/providers/credit_card/__init__.py b/faker/providers/credit_card/__init__.py index <HASH>..<HASH> 100644 --- a/faker/providers/credit_card/__init__.py +++ b/faker/providers/credit_card/__init__.py @@ -118,7 +118,7 @@ class Provider(BaseProvider): @classmethod def credit_card_security_code(...
Fixed security code missing digits with leading zero
py
diff --git a/addok/core.py b/addok/core.py index <HASH>..<HASH> 100644 --- a/addok/core.py +++ b/addok/core.py @@ -341,11 +341,12 @@ class Search(BaseHelper): self.tokens.sort(key=lambda t: t.frequency) keys = [t.db_key for t in self.tokens] others = keys[1:] - ...
Order by score on manual scan (only commons step)
py
diff --git a/guanciale/idascript.py b/guanciale/idascript.py index <HASH>..<HASH> 100644 --- a/guanciale/idascript.py +++ b/guanciale/idascript.py @@ -284,6 +284,7 @@ for func in idautils.Functions(): 'offset': start, 'callconv': callconv, 'raw_data': base64.b64encode(raw_data), + '...
added size field in idascript
py
diff --git a/two_factor/auth_backends.py b/two_factor/auth_backends.py index <HASH>..<HASH> 100644 --- a/two_factor/auth_backends.py +++ b/two_factor/auth_backends.py @@ -12,4 +12,8 @@ class TokenBackend(ModelBackend): class VerifiedComputerBackend(ModelBackend): def authenticate(self, user, computer_id): ...
Update last_used_at after successful computer verification
py
diff --git a/smr/map.py b/smr/map.py index <HASH>..<HASH> 100644 --- a/smr/map.py +++ b/smr/map.py @@ -32,6 +32,7 @@ def run(config): sys.stderr.write("{}\n".format(e)) write_to_stderr("!", 0, uri) finally: + sys.stdout.flush() # force stdout flush after eve...
force stdout flush after every file processed
py
diff --git a/kong/management/commands/check_sites.py b/kong/management/commands/check_sites.py index <HASH>..<HASH> 100644 --- a/kong/management/commands/check_sites.py +++ b/kong/management/commands/check_sites.py @@ -1,8 +1,10 @@ +import sys +from optparse import OptionParser, make_option + from django.core.manageme...
Make check_sites and nagios happy.
py
diff --git a/superset/stats_logger.py b/superset/stats_logger.py index <HASH>..<HASH> 100644 --- a/superset/stats_logger.py +++ b/superset/stats_logger.py @@ -28,15 +28,15 @@ class BaseStatsLogger(object): class DummyStatsLogger(BaseStatsLogger): def incr(self, key): - logging.info( + logging.debu...
Set logging level to debug for DummyStatsLogger (#<I>)
py
diff --git a/py2pack/__init__.py b/py2pack/__init__.py index <HASH>..<HASH> 100644 --- a/py2pack/__init__.py +++ b/py2pack/__init__.py @@ -1,3 +1,3 @@ __doc__ = 'Generate distribution packages from Python packages on PyPI' __author__ = 'Sascha Peilicke <saschpe@gmx.de>' -__version__ = '0.1' +__version__ = '0.2'
Bumped version number to '<I>'
py
diff --git a/salt/returners/pgjsonb.py b/salt/returners/pgjsonb.py index <HASH>..<HASH> 100644 --- a/salt/returners/pgjsonb.py +++ b/salt/returners/pgjsonb.py @@ -128,6 +128,8 @@ from __future__ import absolute_import from contextlib import contextmanager import sys import json +import time +import datetime import ...
Fill alter_time field in salt_events with current time with timezone.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def read(fname): setup(name='membersuite_api_client', - version='0.1.3', + version='0.1.7', description='MemberSuite API Client', author='AASHE', author_email='webdev@aashe.org'...
Fix Setup.py Installs were not pulling in requirements for future, was not listed in install_requires list. Version bump.
py
diff --git a/docido_sdk/__init__.py b/docido_sdk/__init__.py index <HASH>..<HASH> 100644 --- a/docido_sdk/__init__.py +++ b/docido_sdk/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.0.7' +__version__ = '0.0.8'
Bump to version <I>
py
diff --git a/tldap/fields.py b/tldap/fields.py index <HASH>..<HASH> 100644 --- a/tldap/fields.py +++ b/tldap/fields.py @@ -39,6 +39,7 @@ class Field(object): value = [ self.value_to_db(value) ] else: assert isinstance(value, list) + value = list(value) for i,v ...
Make copy of list before modifying it.
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -133,8 +133,7 @@ def tree(directory, suffix=None): if os.path.isdir(path): sub_part = tree(path, suffix=suffix) if sub_part is not None: - # NOTE: We **...
Use OS-specific path sep in `tree()`.
py
diff --git a/evm/utils/headers.py b/evm/utils/headers.py index <HASH>..<HASH> 100644 --- a/evm/utils/headers.py +++ b/evm/utils/headers.py @@ -59,7 +59,9 @@ def compute_gas_limit(parent_header, gas_limit_floor): parent_header.gas_limit - decay + usage_increase ) - if gas_limit < gas_limit_floor: + ...
Modify gas limit algorithm to match docs Without this change, dropping beneath the gas_floor would cause the gas limit to get slammed down to the bare minimum, which is now <I>.
py
diff --git a/salt/modules/at.py b/salt/modules/at.py index <HASH>..<HASH> 100644 --- a/salt/modules/at.py +++ b/salt/modules/at.py @@ -14,7 +14,7 @@ import datetime # Import salt libs import salt.utils -from six.moves import map +from salt.utils.six.moves import map # OS Families that should work (Ubuntu and Deb...
Replaced module six in file /salt/modules/at.py
py
diff --git a/tangelo/server.py b/tangelo/server.py index <HASH>..<HASH> 100644 --- a/tangelo/server.py +++ b/tangelo/server.py @@ -114,12 +114,9 @@ class Tangelo(object): # 1. If it is an HTTPStatusCode object, raise a cherrypy HTTPError # exception, which will cause the browser to do the right thing....
Updating comments in core service logic
py
diff --git a/opt/cs50/submit50/bin/submit50.py b/opt/cs50/submit50/bin/submit50.py index <HASH>..<HASH> 100755 --- a/opt/cs50/submit50/bin/submit50.py +++ b/opt/cs50/submit50/bin/submit50.py @@ -404,7 +404,10 @@ run.verbose = False def teardown(): """Delete temporary directory and temporary file.""" - spin.k...
fixed bug whereby 'Logging in...' was staying on screen even when failed, and yellow text was on same lne
py
diff --git a/trepan/lib/core.py b/trepan/lib/core.py index <HASH>..<HASH> 100644 --- a/trepan/lib/core.py +++ b/trepan/lib/core.py @@ -345,7 +345,7 @@ class TrepanCore(object): self.last_filename = filename if self.stop_level is not None: - if frame != self.last_frame: + if fra...
Work around weird termination bug... inspect import gets removed!
py
diff --git a/selenium_test/steps/caret.py b/selenium_test/steps/caret.py index <HASH>..<HASH> 100644 --- a/selenium_test/steps/caret.py +++ b/selenium_test/steps/caret.py @@ -71,7 +71,8 @@ def step_impl(context): @then(ur"^the caret is at the last position before the focus was lost\.?$") def step_impl(context): - ...
Fixed a timing issue in the tests.
py
diff --git a/authomatic/providers/__init__.py b/authomatic/providers/__init__.py index <HASH>..<HASH> 100644 --- a/authomatic/providers/__init__.py +++ b/authomatic/providers/__init__.py @@ -366,10 +366,15 @@ class BaseProvider(object): value = data.get(key) if value: ...
The User.name is now constructed from first_name and last_name if missing.
py
diff --git a/tests/models.py b/tests/models.py index <HASH>..<HASH> 100644 --- a/tests/models.py +++ b/tests/models.py @@ -34,7 +34,8 @@ class ModelTestCase(ArmSectionsTestCase): def test_subclass_must_define_parent_field_required_by_mptt(self): class NewSection(BaseSection): - pass + ...
tests Django <I> - remove app loading warning "RemovedInDjango<I>Warning: Model class tests.models.NewSection doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded."
py
diff --git a/greenwich/raster.py b/greenwich/raster.py index <HASH>..<HASH> 100644 --- a/greenwich/raster.py +++ b/greenwich/raster.py @@ -493,17 +493,16 @@ class Raster(object): gdal.ReprojectImage(self.ds, dest.ds, None, None, interpolation) return dest - # TODO: allow ImageDriver instances? ...
Allow passing ImageDriver to raster save
py
diff --git a/devassistant/actions.py b/devassistant/actions.py index <HASH>..<HASH> 100644 --- a/devassistant/actions.py +++ b/devassistant/actions.py @@ -232,7 +232,10 @@ class PkgUninstallAction(Action): """Uninstalls packages from Dapi""" name = 'uninstall' description = 'Uninstall packages' - args...
Be able to uninstall without confirmation
py
diff --git a/pythainlp/util/thai_time.py b/pythainlp/util/thai_time.py index <HASH>..<HASH> 100644 --- a/pythainlp/util/thai_time.py +++ b/pythainlp/util/thai_time.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- """ thai_time() - Spell out time to Thai words -by Wannaphong Phatthiyaphaibun """ from datetime import date...
Update thai_time.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,11 +36,8 @@ setup(name='audioread', packages=['audioread'], - setup_requires=[ - 'pytest-runner' - ], - tests_require=[ + 'pytest-runner', 'pytest' ],
Correct pytest-runner location in setup.py Moved pytest-runner from setup_requires to tests_require. It is the tests that require pytest-runner.
py
diff --git a/samcli/commands/init/interactive_init_flow.py b/samcli/commands/init/interactive_init_flow.py index <HASH>..<HASH> 100644 --- a/samcli/commands/init/interactive_init_flow.py +++ b/samcli/commands/init/interactive_init_flow.py @@ -29,10 +29,6 @@ Generating application: ----------------------- Location: {l...
Remove non-interactive command explainer (#<I>)
py
diff --git a/clustergrammer/__init__.py b/clustergrammer/__init__.py index <HASH>..<HASH> 100644 --- a/clustergrammer/__init__.py +++ b/clustergrammer/__init__.py @@ -27,21 +27,21 @@ class Network(object): def load_file(self, filename): ''' - Load tsv file. + Load TSV file. ''' from . import l...
grammer changes to docstrings
py
diff --git a/zipline/testing/fixtures.py b/zipline/testing/fixtures.py index <HASH>..<HASH> 100644 --- a/zipline/testing/fixtures.py +++ b/zipline/testing/fixtures.py @@ -2152,8 +2152,6 @@ class WithFXRates(object): def make_fx_rates(cls, rate_names, currencies, sessions): rng = np.random.RandomState(42) ...
BUG: Don't sort currencies when making fx rates. This causes the stored currencies to get out of sync with cls.FX_RATES_CURRENCIES.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f: setup( name='cfn_resource', - version='0.2.2', + version='0.2.3', description='Wrapper decorators for building CloudFormation ...
Release new version with Python 2 and 3 support
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,6 @@ setup(name = "bcbio-nextgen", "amqplib >= 0.6.1", "Logbook >= 0.3", "Cython >= 0.14", - "pysam >= 0.3.1", + #"pysam >= 0.3.1", #"rpy2 >= 2.0.7" ...
Do not install pysam automatically as easy_install failing on some systems
py
diff --git a/raiden/network/utils.py b/raiden/network/utils.py index <HASH>..<HASH> 100644 --- a/raiden/network/utils.py +++ b/raiden/network/utils.py @@ -17,6 +17,11 @@ LOOPBACK = "127.0.0.1" def get_response_json(response: Response) -> Any: + """Decode response. + + Fixes issues: #4174 #4378. simplejson fa...
Added docstring for `get_response_json`.
py
diff --git a/isochrones/starmodel.py b/isochrones/starmodel.py index <HASH>..<HASH> 100644 --- a/isochrones/starmodel.py +++ b/isochrones/starmodel.py @@ -520,8 +520,20 @@ class StarModel(object): # that truths are in range. extents = [] for i,par in enumerate(params): + m = re.sea...
added ability to include delta-mag parameters to fit BinaryStarModel
py
diff --git a/gsshapy/grid/grid_to_gssha.py b/gsshapy/grid/grid_to_gssha.py index <HASH>..<HASH> 100644 --- a/gsshapy/grid/grid_to_gssha.py +++ b/gsshapy/grid/grid_to_gssha.py @@ -642,8 +642,10 @@ class GRIDtoGSSHA(object): if load_type == 'ascii' or load_type == 'netcdf': #CONVERT TO INCREMENTAL ...
modified conversion to incremental to use xarray diff function
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "1.7.8" +_BASE_VERSION = "1.7.9" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/azure-kusto-data/azure/kusto/data/_models.py b/azure-kusto-data/azure/kusto/data/_models.py index <HASH>..<HASH> 100644 --- a/azure-kusto-data/azure/kusto/data/_models.py +++ b/azure-kusto-data/azure/kusto/data/_models.py @@ -110,10 +110,10 @@ class KustoResultRow(object): class KustoResultColumn(obje...
fix typo in `_models.py` (#<I>)
py
diff --git a/sphinxcontrib/dotnetdomain.py b/sphinxcontrib/dotnetdomain.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/dotnetdomain.py +++ b/sphinxcontrib/dotnetdomain.py @@ -107,7 +107,7 @@ class DotNetObject(ObjectDescription): short_name = None long_name = None - def handle_signature(self, sig, si...
Even more properer logging on domain
py
diff --git a/ga4gh/frontend.py b/ga4gh/frontend.py index <HASH>..<HASH> 100644 --- a/ga4gh/frontend.py +++ b/ga4gh/frontend.py @@ -100,12 +100,9 @@ class ServerStatus(object): try: htmlFile = open(filePath, 'r') html = htmlFile.read() - except: - filePath = "ga4gh/te...
Point at path for landing message in templates dir
py
diff --git a/bcbio/bam/highdepth.py b/bcbio/bam/highdepth.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/highdepth.py +++ b/bcbio/bam/highdepth.py @@ -14,6 +14,7 @@ import yaml from bcbio import utils from bcbio.distributed.transaction import file_transaction +from bcbio.log import logger from bcbio.pipeline impor...
Provide better debugging of failed high depth runs Help assist with #<I>
py
diff --git a/esptool.py b/esptool.py index <HASH>..<HASH> 100755 --- a/esptool.py +++ b/esptool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python # # ESP8266 ROM Bootloader Utility # https://github.com/themadinventor/esptool
reverting shebang line to just "python", as it should default to 2.x anyway
py
diff --git a/spacy/tests/matcher/test_matcher_api.py b/spacy/tests/matcher/test_matcher_api.py index <HASH>..<HASH> 100644 --- a/spacy/tests/matcher/test_matcher_api.py +++ b/spacy/tests/matcher/test_matcher_api.py @@ -205,6 +205,19 @@ def test_matcher_set_value(en_vocab): assert len(matches) == 0 +@pytest.mar...
Add xfailing test for set value with operator [ci skip]
py
diff --git a/mrq/basetasks/utils.py b/mrq/basetasks/utils.py index <HASH>..<HASH> 100644 --- a/mrq/basetasks/utils.py +++ b/mrq/basetasks/utils.py @@ -116,7 +116,7 @@ class JobAction(Task): # In this case we could also loose some jobs that were queued after # the MongoDB update. They will be "...
fix cancelling jobs on a subqueue
py
diff --git a/benchexec/tools/klee.py b/benchexec/tools/klee.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/klee.py +++ b/benchexec/tools/klee.py @@ -20,6 +20,7 @@ limitations under the License. import benchexec.result as result import benchexec.util as util import benchexec.tools.template +import benchexec.mod...
Forward limits to the wrapper scripts
py
diff --git a/environ/environ.py b/environ/environ.py index <HASH>..<HASH> 100644 --- a/environ/environ.py +++ b/environ/environ.py @@ -45,7 +45,7 @@ class Env(object): 'postgresql': 'django.db.backends.postgresql_psycopg2', 'postgis': 'django.contrib.gis.db.backends.postgis', 'mysql': 'django...
added support for mysqlgis
py
diff --git a/bindings/pydeck/setup.py b/bindings/pydeck/setup.py index <HASH>..<HASH> 100644 --- a/bindings/pydeck/setup.py +++ b/bindings/pydeck/setup.py @@ -172,7 +172,7 @@ if __name__ == "__main__": long_description_content_type="text/markdown", license="Apache 2.0 License", include_packag...
Fix exclusion of tests folder (#<I>)
py
diff --git a/simplekv/git.py b/simplekv/git.py index <HASH>..<HASH> 100644 --- a/simplekv/git.py +++ b/simplekv/git.py @@ -155,6 +155,8 @@ class GitCommitStore(KeyValueStore): return BytesIO(self._get(key)) def _put_file(self, key, file): + # FIXME: it may be worth to try to move large files dire...
Added FIXME note regarding performance.
py
diff --git a/tests/common/strategies.py b/tests/common/strategies.py index <HASH>..<HASH> 100644 --- a/tests/common/strategies.py +++ b/tests/common/strategies.py @@ -104,6 +104,7 @@ malformed_tuple_type_strs = st.recursive( st.one_of(malformed_non_tuple_type_strs, this_strategy), min_size=1, max_size...
Restrict behavior of recursive strategy
py
diff --git a/anyconfig/tests/api.py b/anyconfig/tests/api.py index <HASH>..<HASH> 100644 --- a/anyconfig/tests/api.py +++ b/anyconfig/tests/api.py @@ -55,11 +55,13 @@ b: d: {{ b.d }} """ -CNF_XML_1 = { - 'config': {'@attrs': {'name': 'foo'}, - '@children': [{'a': '0'}, - ...
fix: update the test input data to follow behavior changes of the XML backend
py
diff --git a/backtrader/strategy.py b/backtrader/strategy.py index <HASH>..<HASH> 100644 --- a/backtrader/strategy.py +++ b/backtrader/strategy.py @@ -61,11 +61,6 @@ class Strategy(LineIterator): def stop(self): pass - def _next(self): - super(Strategy, self)._next() - for data in self....
Strategy removal dataops hack - Lineinterator takes care of LineObservers directly
py
diff --git a/airflow/dag_processing/processor.py b/airflow/dag_processing/processor.py index <HASH>..<HASH> 100644 --- a/airflow/dag_processing/processor.py +++ b/airflow/dag_processing/processor.py @@ -377,7 +377,6 @@ class DagFileProcessor(LoggingMixin): qry = ( session.query(TI.task_id, func.ma...
Removed interfering force of index. (#<I>)
py
diff --git a/test/aqua/test_vqe.py b/test/aqua/test_vqe.py index <HASH>..<HASH> 100644 --- a/test/aqua/test_vqe.py +++ b/test/aqua/test_vqe.py @@ -103,7 +103,7 @@ class TestVQE(QiskitAquaTestCase): var_form = RY(num_qubits, 3) optimizer = SPSA(max_trials=300, last_avg=5) algo = VQE(self.algo_...
Remove TODOs about caching and optimization_level.
py
diff --git a/fuzz/fen.py b/fuzz/fen.py index <HASH>..<HASH> 100644 --- a/fuzz/fen.py +++ b/fuzz/fen.py @@ -12,7 +12,7 @@ def fuzz(buf): else: try: board = chess.Board(fen) - except ValueError as err: + except ValueError: pass else: sanitized_fe...
Remove superfluous reference In the case of encountering the ValueError, we simply pass, so the reference ‘err’ is not needed at all. It’s superfluous.
py
diff --git a/tests/test_archives.py b/tests/test_archives.py index <HASH>..<HASH> 100644 --- a/tests/test_archives.py +++ b/tests/test_archives.py @@ -74,6 +74,10 @@ class ArchiveTestCases(object): sorted(self.source_fs.listdir('/')), sorted(self.fs.listdir('/')) ) + with self....
Assert listdir raises DirectoryExpected on files
py
diff --git a/mtools/mlaunch/mlaunch.py b/mtools/mlaunch/mlaunch.py index <HASH>..<HASH> 100755 --- a/mtools/mlaunch/mlaunch.py +++ b/mtools/mlaunch/mlaunch.py @@ -831,6 +831,11 @@ class MLaunchTool(BaseCmdLineTool): self.loaded_unknown_args = in_dict['unknown_args'] self.loaded_args = in_dict[...
legacy bug: renamed --authentication to --auth, old environment might still have 'authentication' set, instead of 'auth'.
py
diff --git a/tests/integration/standard/test_query.py b/tests/integration/standard/test_query.py index <HASH>..<HASH> 100644 --- a/tests/integration/standard/test_query.py +++ b/tests/integration/standard/test_query.py @@ -149,12 +149,16 @@ class PreparedStatementTests(unittest.TestCase): """ ...
Stop using strange dict(dict) for routing key test.
py
diff --git a/geth/geth.py b/geth/geth.py index <HASH>..<HASH> 100644 --- a/geth/geth.py +++ b/geth/geth.py @@ -1,5 +1,6 @@ import os import random +import logging try: from urllib.request import ( @@ -45,6 +46,9 @@ from .chain import ( ) +logger = logging.getLogger(__name__) + + class BaseGethProcess(ob...
Log the launched geth command line, as it's otherwise impossible to diagnose why geth doesn't behave correctly issues.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ sys.path.insert(0, os.path.join(CURRENT_DIRECTORY, 'cozy_management')) setuptools.setup( include_package_data=True, name='cozy_management', - version='0.0.20', + version='0.0.21', descripti...
Update python package version
py
diff --git a/taskqueue/__init__.py b/taskqueue/__init__.py index <HASH>..<HASH> 100644 --- a/taskqueue/__init__.py +++ b/taskqueue/__init__.py @@ -5,4 +5,4 @@ from .taskqueue import ( ) from .queueablefns import queueable, FunctionTask -__version__ = '2.8.2' \ No newline at end of file +__version__ = '2.8.3' \ No n...
release(<I>): upload numpy objects to SQS + fixes segfault on Mac
py
diff --git a/condorpy/workflow.py b/condorpy/workflow.py index <HASH>..<HASH> 100644 --- a/condorpy/workflow.py +++ b/condorpy/workflow.py @@ -204,6 +204,7 @@ class Workflow(HTCondorObjectBase): """ """ log.debug('writing dag file "%s" in "%s".', self.dag_file, self._cwd) + self._make_...
Update workflow.py Make remote base dir before writing dag for workflows with scheduler.
py
diff --git a/django_compositeform/boundfield.py b/django_compositeform/boundfield.py index <HASH>..<HASH> 100644 --- a/django_compositeform/boundfield.py +++ b/django_compositeform/boundfield.py @@ -25,6 +25,15 @@ class CompositeBoundField(BoundField): # __len__, no changes required # __getitem__, no changes ...
Add __nonzero__ method to the CompositeBoundField.
py