diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ setup( 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', ...
Added support for Python <I> in setup.py classifiers
py
diff --git a/dynesty/dynamicsampler.py b/dynesty/dynamicsampler.py index <HASH>..<HASH> 100644 --- a/dynesty/dynamicsampler.py +++ b/dynesty/dynamicsampler.py @@ -1007,6 +1007,16 @@ class DynamicSampler(object): update_interval = np.inf # no need to update with no bounds self.sampler.update_inter...
dsampler lvol fix Resolves #<I>. Initial tests seem to indicate performance is mostly unchanged, but better safe than sorry?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,6 +64,8 @@ setup( "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + ...
Added new managed version of Python.
py
diff --git a/proton-c/bindings/python/proton/utils.py b/proton-c/bindings/python/proton/utils.py index <HASH>..<HASH> 100644 --- a/proton-c/bindings/python/proton/utils.py +++ b/proton-c/bindings/python/proton/utils.py @@ -249,7 +249,7 @@ class BlockingConnection(Handler): self.container.timeout = cont...
PROTON-<I>: fix handling of disconnection for BlockingConnection
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -660,7 +660,8 @@ class SoCo(object): dom = XML.fromstring(response.content) - self.speaker_info['zone_name'] = really_utf8(dom.findtext('.//ZoneName')) + if (dom.findtext('.//Zon...
Don't crash if the zone name isn't set
py
diff --git a/buildozer/targets/ios.py b/buildozer/targets/ios.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/ios.py +++ b/buildozer/targets/ios.py @@ -411,7 +411,7 @@ class TargetIos(Target): if save: with open(password_file, 'wb') as fd: - fd.write(password) + ...
Encode password before it is saved to file as Python 3 input returns a string, not bytes
py
diff --git a/suitable/tests/conftest.py b/suitable/tests/conftest.py index <HASH>..<HASH> 100644 --- a/suitable/tests/conftest.py +++ b/suitable/tests/conftest.py @@ -19,14 +19,20 @@ class Container(object): self.password = password def spawn_api(self, api_class, **kwargs): - return api_class( - ...
Fixes conftest options not being propagated
py
diff --git a/doctr/__main__.py b/doctr/__main__.py index <HASH>..<HASH> 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -259,6 +259,11 @@ def deploy(args, parser): full_key_path=args.key_path, branch_whitelist=branch_whitelist) + ...
Run the command before syncing That way it can affect the build docs files before they are synced.
py
diff --git a/examples/sampleserver.py b/examples/sampleserver.py index <HASH>..<HASH> 100644 --- a/examples/sampleserver.py +++ b/examples/sampleserver.py @@ -84,7 +84,7 @@ class ConcreteServer(OpenIDServer): return append_args(addr, args) def get_setup_response(self, req): - return redirect(self...
[project @ Another typo fix in sampleserver]
py
diff --git a/scripts/construct_mutation_rates.py b/scripts/construct_mutation_rates.py index <HASH>..<HASH> 100755 --- a/scripts/construct_mutation_rates.py +++ b/scripts/construct_mutation_rates.py @@ -69,7 +69,7 @@ def load_genes(path): if line.startswith("hgnc"): continue ...
fix python2/python3 issue
py
diff --git a/javalang/test/test_java_8_syntax.py b/javalang/test/test_java_8_syntax.py index <HASH>..<HASH> 100644 --- a/javalang/test/test_java_8_syntax.py +++ b/javalang/test/test_java_8_syntax.py @@ -134,6 +134,10 @@ class LambdaSupportTest(unittest.TestCase): with self.assertRaises(parser.JavaSyntaxError):...
Add a failing test_cast_works test - this test is failing due to lambda code changes.
py
diff --git a/niworkflows/interfaces/utils.py b/niworkflows/interfaces/utils.py index <HASH>..<HASH> 100644 --- a/niworkflows/interfaces/utils.py +++ b/niworkflows/interfaces/utils.py @@ -288,8 +288,8 @@ class SanitizeImage(SimpleInterface): | sform, scode <- qform, qcode | +-------------------+-...
if qform is valid always force sform to be have the same value
py
diff --git a/salt/modules/openstack_mng.py b/salt/modules/openstack_mng.py index <HASH>..<HASH> 100644 --- a/salt/modules/openstack_mng.py +++ b/salt/modules/openstack_mng.py @@ -91,7 +91,7 @@ def restart_service(service_name, minimum_running_time=None): boot_time = float(open('/proc/uptime').read().split(...
Removed redundant expr_active condition result
py
diff --git a/vncdotool/rfb.py b/vncdotool/rfb.py index <HASH>..<HASH> 100644 --- a/vncdotool/rfb.py +++ b/vncdotool/rfb.py @@ -129,7 +129,7 @@ class RFBClient(Protocol): #~ print "rfb" maj, min = [int(x) for x in buffer[3:-1].split('.')] #~ print maj, min - ...
rfb: give VNC <I> a chance - untested due to lack of access to <I> servers
py
diff --git a/src/pyipmi/msgs/__init__.py b/src/pyipmi/msgs/__init__.py index <HASH>..<HASH> 100644 --- a/src/pyipmi/msgs/__init__.py +++ b/src/pyipmi/msgs/__init__.py @@ -96,7 +96,7 @@ class Conditional: def decode(self, obj, data): if self._condition_fn(obj): - self._field.encode(obj, data) ...
msg: fix in Conditional class for decode
py
diff --git a/ayrton/execute.py b/ayrton/execute.py index <HASH>..<HASH> 100644 --- a/ayrton/execute.py +++ b/ayrton/execute.py @@ -133,8 +133,6 @@ class Command: def __init__ (self, path): self.path= path - self.exe= resolve_program (path) - logger.debug ('found exe %s', self.exe) ...
[*] resolve the program as late in __init__() as possible, so instance variables are defined at __del__() time.
py
diff --git a/raiden/network/transport/matrix/client.py b/raiden/network/transport/matrix/client.py index <HASH>..<HASH> 100644 --- a/raiden/network/transport/matrix/client.py +++ b/raiden/network/transport/matrix/client.py @@ -693,7 +693,7 @@ class GMatrixClient(MatrixClient): self.token = self.api.token = tok...
Correct docstring of `set_sync_filter_id`
py
diff --git a/klue/swagger/client.py b/klue/swagger/client.py index <HASH>..<HASH> 100644 --- a/klue/swagger/client.py +++ b/klue/swagger/client.py @@ -228,10 +228,10 @@ class ClientCaller(): pass else: # Unknown exception... - log.info("Unknown exce: " + res...
Fix bug when calling error_callback stored as instance attribute When storing error_callback as an instance attribute, calling it directly on the instance will be mistaken for a method call. Have to use __func__ to get to the original raw method.
py
diff --git a/centrosome/zernike.py b/centrosome/zernike.py index <HASH>..<HASH> 100644 --- a/centrosome/zernike.py +++ b/centrosome/zernike.py @@ -196,9 +196,12 @@ def get_zernike_indexes(limit=10): The Zernikes are stored as complex numbers with the real part being (N,M) and the imaginary being (N,-M) "...
changed get_zernike_indexes to directly create numpy array from a generator, rather than create a list of tuples and converting that to a numpy array
py
diff --git a/falafel/mappers/installed_rpms.py b/falafel/mappers/installed_rpms.py index <HASH>..<HASH> 100644 --- a/falafel/mappers/installed_rpms.py +++ b/falafel/mappers/installed_rpms.py @@ -136,6 +136,7 @@ def installed_rpms(context): if line.startswith("error:"): packages["__error"] ...
installed_rpms mapper now handles blank lines better
py
diff --git a/scout/build/individual.py b/scout/build/individual.py index <HASH>..<HASH> 100644 --- a/scout/build/individual.py +++ b/scout/build/individual.py @@ -17,6 +17,12 @@ def build_individual(ind): Returns: ind_obj (dict): A Individual object + Raises: + PedigreeError: i...
Update Docstring in Individual.py From Feedback Update docstring to include pedigree exception.
py
diff --git a/pyuploadcare/api_resources.py b/pyuploadcare/api_resources.py index <HASH>..<HASH> 100644 --- a/pyuploadcare/api_resources.py +++ b/pyuploadcare/api_resources.py @@ -698,7 +698,7 @@ class FileList(BaseApiList): """ base_url = '/files/' constructor = File.construct_from - datetime_ordering...
Changed tuples to lists
py
diff --git a/gcimagebundle/gcimagebundlelib/imagebundle.py b/gcimagebundle/gcimagebundlelib/imagebundle.py index <HASH>..<HASH> 100755 --- a/gcimagebundle/gcimagebundlelib/imagebundle.py +++ b/gcimagebundle/gcimagebundlelib/imagebundle.py @@ -236,6 +236,11 @@ def main(): else: output_bucket = 'gs://%s/%s' %...
Adding /usr/local/bin to path before gsutil call for sudo-ing Redhat users
py
diff --git a/telebot/__init__.py b/telebot/__init__.py index <HASH>..<HASH> 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -112,8 +112,11 @@ class TeleBot: new_messages.append(msg) if len(new_messages) > 0: - self.__notify_update(new_messages) - self._notify_...
Add process_new_message public method for webhook. issue #<I>
py
diff --git a/saltcloud/utils/parsers.py b/saltcloud/utils/parsers.py index <HASH>..<HASH> 100644 --- a/saltcloud/utils/parsers.py +++ b/saltcloud/utils/parsers.py @@ -346,7 +346,7 @@ class CloudProvidersListsMixIn(object): def _mixin_after_parsed(self): list_options_selected = filter( - lambd...
Hurray for tests!!! These weren't exclusive options anymore.
py
diff --git a/bitsharesbase/operationids.py b/bitsharesbase/operationids.py index <HASH>..<HASH> 100644 --- a/bitsharesbase/operationids.py +++ b/bitsharesbase/operationids.py @@ -44,6 +44,7 @@ ops = [ "transfer_from_blind", "asset_settle_cancel", "asset_claim_fees", + "fba_distribute" ] operations =...
[operationids] added missing fba_distribute
py
diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py index <HASH>..<HASH> 100644 --- a/troposphere/autoscaling.py +++ b/troposphere/autoscaling.py @@ -179,6 +179,7 @@ class AutoScalingGroup(AWSObject): 'LifecycleHookSpecificationList': ([LifecycleHookSpecification], False), ...
Adding AWS::AutoScaling::AutoScalingGroup props, per March <I>, <I> update
py
diff --git a/examples/opf/clients/cpu/cpu.py b/examples/opf/clients/cpu/cpu.py index <HASH>..<HASH> 100755 --- a/examples/opf/clients/cpu/cpu.py +++ b/examples/opf/clients/cpu/cpu.py @@ -62,7 +62,8 @@ def runCPU(): actline.axes.set_ylim(0, 100) predline.axes.set_ylim(0, 100) - while plt.fignum_exists(fig.numbe...
Partial revert as fignum_exists doesn't exist on plt
py
diff --git a/testutils.py b/testutils.py index <HASH>..<HASH> 100644 --- a/testutils.py +++ b/testutils.py @@ -355,7 +355,7 @@ def make_tests(input_dir, msg_dir, filter_rgx, callbacks): for module_file, messages_file in ( get_tests_info(input_dir, msg_dir, 'func_', '') ): - if not is_to_ru...
Ignore .pyc files for the old functional test framework.
py
diff --git a/flask_appbuilder/security/views.py b/flask_appbuilder/security/views.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/security/views.py +++ b/flask_appbuilder/security/views.py @@ -330,7 +330,7 @@ class RoleModelView(ModelView): list_columns = ['name', 'permissions'] order_columns = ['name']...
[ui] Fix, Copy role modal not showing
py
diff --git a/s_tui/Sources/TemperatureSource.py b/s_tui/Sources/TemperatureSource.py index <HASH>..<HASH> 100644 --- a/s_tui/Sources/TemperatureSource.py +++ b/s_tui/Sources/TemperatureSource.py @@ -47,10 +47,17 @@ class TemperatureSource(Source): # Set temperature threshold if a custom one is set i...
Handle errors regarding temperature threshold (#<I>) If no custom threshold is set we need something to compare to. If the custom threshold is not a valid value we need to catch ValueError. If the custom threshold is lower than zero we need to set some value, too. For all these cases, we use self.THRESHOLD_TEMP as ...
py
diff --git a/dpark/tracker.py b/dpark/tracker.py index <HASH>..<HASH> 100644 --- a/dpark/tracker.py +++ b/dpark/tracker.py @@ -127,13 +127,15 @@ class TrackerClient(object): if self.ctx is None: self.ctx = zmq.Context() + sock = None try: sock = self.ctx.socket(zmq.R...
Bugfix: variable maybe not defined in finnal block.
py
diff --git a/tests/integration/long/test_consistency.py b/tests/integration/long/test_consistency.py index <HASH>..<HASH> 100644 --- a/tests/integration/long/test_consistency.py +++ b/tests/integration/long/test_consistency.py @@ -335,8 +335,8 @@ class ConnectivityTest(unittest.TestCase): address = hosts[0].ad...
Moving contact_points param to constructor for ConnectivityTest
py
diff --git a/abydos/bm.py b/abydos/bm.py index <HASH>..<HASH> 100644 --- a/abydos/bm.py +++ b/abydos/bm.py @@ -1,4 +1,26 @@ # -*- coding: utf-8 -*- +"""abydos.bmd + +Copyright 2014 by Christopher C. Little. +This file is part of Abydos. + +This file is based on Alexander Beider and Stephen P. Morse's implementation of...
added docstring to bm module
py
diff --git a/resolwe/test/testcases/__init__.py b/resolwe/test/testcases/__init__.py index <HASH>..<HASH> 100644 --- a/resolwe/test/testcases/__init__.py +++ b/resolwe/test/testcases/__init__.py @@ -63,8 +63,7 @@ class TestCaseHelpers(DjangoSimpleTestCase): super().setUp() - # Reset Elastic search i...
Only destroy ES indices on test tear down
py
diff --git a/pyblish_qml/ipc/server.py b/pyblish_qml/ipc/server.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/ipc/server.py +++ b/pyblish_qml/ipc/server.py @@ -267,6 +267,8 @@ class Server(object): sys.stdout.write(line) if not self.listening: + self._start_pulse() + ...
Ensure pulse thread is created before we start listening
py
diff --git a/openfisca_survey_manager/scenarios.py b/openfisca_survey_manager/scenarios.py index <HASH>..<HASH> 100644 --- a/openfisca_survey_manager/scenarios.py +++ b/openfisca_survey_manager/scenarios.py @@ -9,7 +9,7 @@ import pandas import re from openfisca_core import formulas, periods, simulations -from openf...
Add memoru_usage method to SurveyScenario
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ except IOError: setup( name="12factor-vault", - version="0.1.14", + version="0.1.15", packages=["vault12factor"], classifiers=[ "Development Status :: 4 - Beta",
bump release version to <I>
py
diff --git a/AlphaTwirl/EventReader/EventLoopProgressReportWriter.py b/AlphaTwirl/EventReader/EventLoopProgressReportWriter.py index <HASH>..<HASH> 100755 --- a/AlphaTwirl/EventReader/EventLoopProgressReportWriter.py +++ b/AlphaTwirl/EventReader/EventLoopProgressReportWriter.py @@ -6,9 +6,9 @@ class EventLoopProgressRe...
rename component dataset in EventLoopProgressReportWriter
py
diff --git a/tests/test_gallery.py b/tests/test_gallery.py index <HASH>..<HASH> 100644 --- a/tests/test_gallery.py +++ b/tests/test_gallery.py @@ -292,6 +292,9 @@ def test_gallery(settings, tmpdir): def test_gallery_max_img_pixels(settings, tmpdir, monkeypatch): "Test the Gallery class with the max_img_pixels s...
Add a comment explaining why monkeypatch is used in this test
py
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index <HASH>..<HASH> 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -112,6 +112,13 @@ class Networking(Plugin): cmd = "ip6tables -t "+tablename+" -nvL" self.add_cmd_output(cmd) + def collect_nfta...
[networking] collect nftables rules and files This patch adds to the networking plugin the command: $ nft list rulesets Which will provide all currently loaded nftables rulesets. In addition, it collects static nftables configuration.
py
diff --git a/hebel/__init__.py b/hebel/__init__.py index <HASH>..<HASH> 100644 --- a/hebel/__init__.py +++ b/hebel/__init__.py @@ -119,12 +119,14 @@ def init(device_id=None, random_seed=None): pycuda_ops.init() def _finish_up(): - global context - context.pop() - context = None + global is_initializ...
Check if context is initialized before attempting to destroy it.
py
diff --git a/pykakasi/kanwa.py b/pykakasi/kanwa.py index <HASH>..<HASH> 100644 --- a/pykakasi/kanwa.py +++ b/pykakasi/kanwa.py @@ -37,12 +37,12 @@ class kanwa (object): key = "%04x"%ord(unicode(char)) else: key = "%04x"%ord(char) - try: #already exist? - table = self...
Kanwa: reduce try..except block
py
diff --git a/src/python/pants/backend/jvm/tasks/jar_publish.py b/src/python/pants/backend/jvm/tasks/jar_publish.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/jvm/tasks/jar_publish.py +++ b/src/python/pants/backend/jvm/tasks/jar_publish.py @@ -385,7 +385,7 @@ class JarPublish(JarTask, ScmPublish): ...
Fix credentials fetching during publishing Reviewed at <URL>
py
diff --git a/nhlib/site.py b/nhlib/site.py index <HASH>..<HASH> 100644 --- a/nhlib/site.py +++ b/nhlib/site.py @@ -45,6 +45,7 @@ class Site(object): If any of ``vs30``, ``z1pt0`` or ``z2pt5`` is zero or negative. .. note:: + :class:`Sites <Site>` are pickleable """ __slots__ = 'locati...
site: fixed a minor doc building issue in Site
py
diff --git a/dpark/job.py b/dpark/job.py index <HASH>..<HASH> 100644 --- a/dpark/job.py +++ b/dpark/job.py @@ -42,7 +42,7 @@ class Job: return cls.nextJobId LOCALITY_WAIT = 0 -WAIT_FOR_RUNNING = 15 +WAIT_FOR_RUNNING = 10 MAX_TASK_FAILURES = 4 MAX_TASK_MEMORY = 15 << 10 # 15GB @@ -278,6 +278,7 @@ class S...
add non-responsable slaves into blacklist
py
diff --git a/epylint.py b/epylint.py index <HASH>..<HASH> 100755 --- a/epylint.py +++ b/epylint.py @@ -58,7 +58,7 @@ def lint(filename): parentPath = os.path.dirname(parentPath) # Start pylint - process = Popen("pylint -f parseable -r n --disable=C,R,I '%s'" % + process = Popen('pylint -f parseabl...
apply patch provided by vijayendra bapte on the python projects list for using epylint under windows environment
py
diff --git a/salt/client/__init__.py b/salt/client/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/__init__.py +++ b/salt/client/__init__.py @@ -883,6 +883,7 @@ class LocalClient(object): else: if kwargs.get(u'yield_pub_data'): yield pub_data + ...
Yield timed out minions from LocalClient.cmd_iter Fixes #<I>
py
diff --git a/bcbio/pipeline/sample.py b/bcbio/pipeline/sample.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/sample.py +++ b/bcbio/pipeline/sample.py @@ -64,7 +64,7 @@ def delayed_bam_merge(data): if cur_out_file: config = copy.deepcopy(data["config"]) config["algorit...
Avoid adding *-orig files when merging from subparts instead of incorporating new file name
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='py-canary', - version='0.2.0', + version='0.2.1', packages=['canary'], url='https://github.com/snjoetw/py-canary', license='MIT',
Bumped version to <I>
py
diff --git a/docxtpl/__init__.py b/docxtpl/__init__.py index <HASH>..<HASH> 100644 --- a/docxtpl/__init__.py +++ b/docxtpl/__init__.py @@ -9,6 +9,7 @@ __version__ = '0.3.5' from lxml import etree from docx import Document +from docx.opc.oxml import serialize_part_xml, parse_xml from jinja2 import Template from cg...
Force header / footer nodes format. get_headers_footers_xml was returning the xml in a raw string without any processing on it. If we had a quote in docx document, it was encode in a xml entity (&quot;), but because of the entities, Jinja raise error. Now, xml passes through etree.tostring and we have a clean string.
py
diff --git a/prawcore/const.py b/prawcore/const.py index <HASH>..<HASH> 100644 --- a/prawcore/const.py +++ b/prawcore/const.py @@ -1,6 +1,6 @@ """Constants for the prawcore package.""" -__version__ = '0.0.8' +__version__ = '0.0.9' ACCESS_TOKEN_PATH = '/api/v1/access_token' AUTHORIZATION_PATH = '/api/v1/authorize...
Bump to <I>.
py
diff --git a/drdump/__init__.py b/drdump/__init__.py index <HASH>..<HASH> 100644 --- a/drdump/__init__.py +++ b/drdump/__init__.py @@ -1,4 +1,4 @@ """ A Django data dump script generator """ -__version__ = '0.2.1' \ No newline at end of file +__version__ = '0.2.2' \ No newline at end of file
Forget to change version, REAL bump to <I>
py
diff --git a/autopython/ipython.py b/autopython/ipython.py index <HASH>..<HASH> 100644 --- a/autopython/ipython.py +++ b/autopython/ipython.py @@ -131,3 +131,4 @@ class PresenterShell(object): def end(self): self._stop_shell_thread() + print()
Cosmetic change: print an empty line after quiting
py
diff --git a/xcat/xcat.py b/xcat/xcat.py index <HASH>..<HASH> 100644 --- a/xcat/xcat.py +++ b/xcat/xcat.py @@ -179,9 +179,11 @@ def console(ctx): child_node_count_result = yield from executor.count_nodes(node.children) click.echo("%i child node found." % child_node_count_result) - for child i...
Speed up of the ls command.
py
diff --git a/structures.py b/structures.py index <HASH>..<HASH> 100644 --- a/structures.py +++ b/structures.py @@ -393,7 +393,7 @@ class Integer(Construct): >>> Integer(1).build(-1) Traceback (most recent call last): ... - structures.BuildingError: ubyte format requires 0 <= number <= ...
Deal with pypy giving different error messages
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -378,6 +378,11 @@ print len(options.long_option.split()) self.assertEqual(iam1, iam2) + def test_cwd(self): + from pbs import pwd + self.assertEqual(str(pwd(_cwd='/tmp')), '/tmp\n') + self.asse...
test stub for _cwd
py
diff --git a/pysnmp/proto/mpmod/rfc3412.py b/pysnmp/proto/mpmod/rfc3412.py index <HASH>..<HASH> 100644 --- a/pysnmp/proto/mpmod/rfc3412.py +++ b/pysnmp/proto/mpmod/rfc3412.py @@ -90,6 +90,11 @@ class SnmpV3MessageProcessingModel(AbstractMessageProcessingModel): contextEngineId = snmpEngineID ...
a workaround against possibly broken Agents: SNMPv3 Manager code defaults ContextEngineId to SecurityEngineId whenever ContextEngineId is not reported by authoritative SNMP engine on discovery.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -94,6 +94,7 @@ setup( author = 'The Emma2 team', # list packages here packages = ['emma2', + 'emma.coordinates', 'emma2.msm', 'emma2.msm.analysis', ...
[setup] added coordinates package to setup
py
diff --git a/zk_shell/tests/test_mirror_cmds.py b/zk_shell/tests/test_mirror_cmds.py index <HASH>..<HASH> 100644 --- a/zk_shell/tests/test_mirror_cmds.py +++ b/zk_shell/tests/test_mirror_cmds.py @@ -135,10 +135,11 @@ class MirrorCmdsTestCase(ShellTestCase): self.shell.onecmd("mirror %s/very %s/backup false fal...
Fix mirror tests (don't depend on tree's order, it may vary)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ setup( scripts=['scripts/multiqc'], install_requires=[ 'jinja2', - 'simplejson' + 'simplejson', + 'pyyaml' ] )
Updated setup.py with an extra package dependency.
py
diff --git a/pyuavcan/_cli/_main.py b/pyuavcan/_cli/_main.py index <HASH>..<HASH> 100644 --- a/pyuavcan/_cli/_main.py +++ b/pyuavcan/_cli/_main.py @@ -165,3 +165,7 @@ def _configure_logging(verbosity_level: int) -> None: except Exception as ex: _logger.debug('Colored logs are not available: %s: %s', type(...
Never use DEBUG-level logging for PyDSDL because it yields too much data
py
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py index <HASH>..<HASH> 100644 --- a/astrobase/lcproc.py +++ b/astrobase/lcproc.py @@ -3550,8 +3550,9 @@ def runpf(lcfile, if finmags.size < minobservations: LOGERROR('not enough non-nan observations for ' - 'thi...
lcproc: minor fix
py
diff --git a/ratcave/scene.py b/ratcave/scene.py index <HASH>..<HASH> 100644 --- a/ratcave/scene.py +++ b/ratcave/scene.py @@ -60,9 +60,12 @@ class Scene(HasUniforms): gl.glClearColor(*(self.bgColor + (1.,))) gl.glClear(gl.GL_COLOR_BUFFER_BIT | gl.GL_DEPTH_BUFFER_BIT) - def draw(self): + def d...
brought back auto-clearing--it makes working a lot simpler.
py
diff --git a/ci/make_conda_packages.py b/ci/make_conda_packages.py index <HASH>..<HASH> 100644 --- a/ci/make_conda_packages.py +++ b/ci/make_conda_packages.py @@ -31,8 +31,8 @@ def main(env, do_upload): "--python", env['CONDA_PY'], "--numpy", env['CONDA_NPY'], "--skip-exi...
BLD: Swap conda build args to check CI label/channel first BLD: Change url to just channel/label path
py
diff --git a/tests/support/parser/__init__.py b/tests/support/parser/__init__.py index <HASH>..<HASH> 100644 --- a/tests/support/parser/__init__.py +++ b/tests/support/parser/__init__.py @@ -449,6 +449,14 @@ class SaltTestingParser(optparse.OptionParser): ret.update(filename_map[path_expr]) ...
Enable proxy/ssh daemons when filename mapping causes those tests to be run The proxy and ssh tests won't run when the `--proxy` and `--ssh` CLI flags, respectively, aren't passed to runtests.py. This ensures that we start the daemons when the file mapping logic triggers them to be run.
py
diff --git a/tests/machine_control/test_machine_controller.py b/tests/machine_control/test_machine_controller.py index <HASH>..<HASH> 100644 --- a/tests/machine_control/test_machine_controller.py +++ b/tests/machine_control/test_machine_controller.py @@ -1170,7 +1170,7 @@ class TestMachineController(object): B...
Fix flake8 in MachineController tests. Somehow missed after merging the faster app loading stuff... :s
py
diff --git a/indra/assemblers/sif_assembler.py b/indra/assemblers/sif_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/sif_assembler.py +++ b/indra/assemblers/sif_assembler.py @@ -31,7 +31,21 @@ class SifAssembler(object): def make_model(self, use_name_as_key=False, include_mods=False, ...
Add docstring to SifAssembler
py
diff --git a/gromacs/__init__.py b/gromacs/__init__.py index <HASH>..<HASH> 100644 --- a/gromacs/__init__.py +++ b/gromacs/__init__.py @@ -133,6 +133,7 @@ class AutoCorrectionWarning(Warning): class BadParameterWarning(Warning): """Warns if some parameters or variables are unlikely to be appropriate or correct.""...
fixed: warnings imported too late git-svn-id: svn+ssh://gonzo.med.jhmi.edu/scratch/svn/woolf_repository/users/oliver/Library/GromacsWrapper@<I> df5ba8eb-4b0b-<I>-8c<I>-c<I>f<I>b<I>c
py
diff --git a/pyqode/core/editor.py b/pyqode/core/editor.py index <HASH>..<HASH> 100644 --- a/pyqode/core/editor.py +++ b/pyqode/core/editor.py @@ -1644,13 +1644,13 @@ class QCodeEdit(QtGui.QPlainTextEdit): key == "selectionBackground" or key == "selectionForeground" or not key): ...
Ensure we have a QColor
py
diff --git a/commitizen/git.py b/commitizen/git.py index <HASH>..<HASH> 100644 --- a/commitizen/git.py +++ b/commitizen/git.py @@ -3,16 +3,9 @@ from pathlib import Path from tempfile import NamedTemporaryFile from typing import List, Optional -from typing_extensions import Protocol - from commitizen import cmd ...
fix(git): missing dependency removed
py
diff --git a/hypermap/aggregator/solr.py b/hypermap/aggregator/solr.py index <HASH>..<HASH> 100644 --- a/hypermap/aggregator/solr.py +++ b/hypermap/aggregator/solr.py @@ -20,12 +20,10 @@ def get_date(layer): """ date = None type = 1 - # for WM layer we may have a range - if hasattr(layer, 'layerwm'...
Fixes the date problem reported today
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -48,6 +48,8 @@ except (IOError, ImportError): with open(readme, 'rb') as f: long_description = f.read().decode('utf-8') +PY2 = sys.version_info[0] == 2 + setup( name = 'BenchExec', version = version,...
Under Python 2, install only runexec, because the remaining tools are not expected to work.
py
diff --git a/src/graphql/execution/execute.py b/src/graphql/execution/execute.py index <HASH>..<HASH> 100644 --- a/src/graphql/execution/execute.py +++ b/src/graphql/execution/execute.py @@ -1082,11 +1082,11 @@ def get_field_def( """Get field definition. This method looks up the field on the given type defi...
Make documentation for get_field_def more accurate Replicates graphql/graphql-js@fb<I>fcee9b3f9c4ae<I>ba4d8db5b7bd<I>c1
py
diff --git a/pages/tests/test_unit.py b/pages/tests/test_unit.py index <HASH>..<HASH> 100644 --- a/pages/tests/test_unit.py +++ b/pages/tests/test_unit.py @@ -625,4 +625,11 @@ class UnitTestCase(TestCase): p.save() self.assertEqual(unicode(p), u"page-%d" % p.id) - + def test_context_processor(sel...
Add a test to be sure the context processor works properly.
py
diff --git a/unleash/util.py b/unleash/util.py index <HASH>..<HASH> 100644 --- a/unleash/util.py +++ b/unleash/util.py @@ -20,7 +20,7 @@ class VirtualEnv(object): @property def python(self): - return os.path.join(self.python, 'bin', 'python') + return os.path.join(self.path, 'bin', 'python') ...
Fixed wrong construction of python path in util.py.
py
diff --git a/tests/test_for_support/test_for_validation.py b/tests/test_for_support/test_for_validation.py index <HASH>..<HASH> 100644 --- a/tests/test_for_support/test_for_validation.py +++ b/tests/test_for_support/test_for_validation.py @@ -31,7 +31,7 @@ sbml_invalid = join(dirname(__file__), "data", "validation", "t...
test: temporarily do not expect warnings Change due to redesign in cobrapy. This will have to be reverted in future.
py
diff --git a/pypuppetdb/api/v3.py b/pypuppetdb/api/v3.py index <HASH>..<HASH> 100644 --- a/pypuppetdb/api/v3.py +++ b/pypuppetdb/api/v3.py @@ -116,8 +116,8 @@ class API(BaseAPI): resource['type'], resource['tags'], resource['exported'], - resource['sourc...
Updated api/v3.py for APIv3 resource name changes PuppetDB APIv3 from APIv2 has 2 keys within the resource endpoint have been changed. 'sourcefile' has been changed to 'file' 'sourceline' has been changed to 'line' This patch allows pypuppetdb to read resources from APIv3. ref: <URL>
py
diff --git a/tests/render/test_data_documentation_site_builder.py b/tests/render/test_data_documentation_site_builder.py index <HASH>..<HASH> 100644 --- a/tests/render/test_data_documentation_site_builder.py +++ b/tests/render/test_data_documentation_site_builder.py @@ -5,7 +5,6 @@ from great_expectations.render.render...
Removed a forgotten BOOO print :)
py
diff --git a/rejected/process.py b/rejected/process.py index <HASH>..<HASH> 100644 --- a/rejected/process.py +++ b/rejected/process.py @@ -709,7 +709,7 @@ class Process(multiprocessing.Process, state.State): exit(1) # Setup the Sentry client - if raven and cfg['sentry_dsn']: + if r...
Fix the sentry init to not blowup
py
diff --git a/librosa/segment.py b/librosa/segment.py index <HASH>..<HASH> 100644 --- a/librosa/segment.py +++ b/librosa/segment.py @@ -84,7 +84,7 @@ def recurrence_matrix(data, k=None, width=1, metric='sqeuclidean', sym=False): or ``k = 2`` if ``t <= 2 * width + 1`` - width : int > 0 only l...
pdist -> cdist
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,20 +16,17 @@ # import os - import f5 -from pip.req import parse_requirements as parse_reqs from setuptools import find_packages from setuptools import setup if 'rpm' not in os.getcwd(): - install_requires = ...
Fixes pip installs for python 3 Issues: Fixes #<I> Problem: The means by which dependencies was being determined was not working in python 3. The pip API is not public, so we shouldn't be using it as we were Analysis: This changes the means of looking up requirements to be similar, but to not use the interal pip API...
py
diff --git a/pyipmi/fru.py b/pyipmi/fru.py index <HASH>..<HASH> 100644 --- a/pyipmi/fru.py +++ b/pyipmi/fru.py @@ -356,6 +356,7 @@ class FruInventory(object): self.chassis_info_area = None self.board_info_area = None self.product_info_area = None + self.multirecord_area = None ...
fru: initilized self.multirecord_area Was not initialized to None.
py
diff --git a/pyemu/pst/pst_utils.py b/pyemu/pst/pst_utils.py index <HASH>..<HASH> 100644 --- a/pyemu/pst/pst_utils.py +++ b/pyemu/pst/pst_utils.py @@ -1161,7 +1161,10 @@ def csv_to_ins_file( else: nprefix = prefix if longnames: - ...
small fix in csv to ins to avoid leading underscore with prefix is empty
py
diff --git a/blogit.py b/blogit.py index <HASH>..<HASH> 100755 --- a/blogit.py +++ b/blogit.py @@ -253,7 +253,7 @@ class Entry(object): body = list() for line in file.readlines(): body.append(line) - self.body = ' '.join(body) + self.body = ''.join(body) file.close(...
lines should be joined with "" not with " "
py
diff --git a/salt/scripts.py b/salt/scripts.py index <HASH>..<HASH> 100644 --- a/salt/scripts.py +++ b/salt/scripts.py @@ -107,6 +107,11 @@ def salt_minion(): if '' in sys.path: sys.path.remove('') + if salt.utils.is_windows(): + minion = salt.cli.daemons.Minion() + minion.start() + ...
Don't merge-forward the change to salt/scripts.py
py
diff --git a/slackclient/__init__.py b/slackclient/__init__.py index <HASH>..<HASH> 100644 --- a/slackclient/__init__.py +++ b/slackclient/__init__.py @@ -1 +1 @@ -from _client import SlackClient +from ._client import SlackClient
use abs ref to _client
py
diff --git a/qiskit/pulse/builder.py b/qiskit/pulse/builder.py index <HASH>..<HASH> 100644 --- a/qiskit/pulse/builder.py +++ b/qiskit/pulse/builder.py @@ -1063,7 +1063,7 @@ def inline() -> ContextManager[None]: @_transform_context(transforms.pad, inplace=True) def pad(*chs: chans.Channel) -> ContextManager[None]: ...
Pulse builder interface: fix spelling (#<I>)
py
diff --git a/oedialect/compiler.py b/oedialect/compiler.py index <HASH>..<HASH> 100644 --- a/oedialect/compiler.py +++ b/oedialect/compiler.py @@ -243,7 +243,7 @@ class OECompiler(postgresql.psycopg2.PGCompiler): for c in clauselist.clauses) if s] - if clauselist.operator is not N...
Use clauselists only for boolean operators
py
diff --git a/invenio_files_rest/ext.py b/invenio_files_rest/ext.py index <HASH>..<HASH> 100644 --- a/invenio_files_rest/ext.py +++ b/invenio_files_rest/ext.py @@ -45,7 +45,7 @@ class _FilesRESTState(object): """Load default storage factory.""" imp = self.app.config.get("FILES_REST_RECORD_FILE_FACTORY"...
ext: missing return * FIX Fixes missing return statement in `_FilesRESTState.record_file_factory()`.
py
diff --git a/SoftLayer/CLI/image/import.py b/SoftLayer/CLI/image/import.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/image/import.py +++ b/SoftLayer/CLI/image/import.py @@ -22,9 +22,10 @@ from SoftLayer.CLI import formatting @click.option('--ibm-api-key', default="", help="The IBM C...
Add KeyProtect instance in help text
py
diff --git a/deezer/client.py b/deezer/client.py index <HASH>..<HASH> 100644 --- a/deezer/client.py +++ b/deezer/client.py @@ -188,9 +188,7 @@ class Client: json = response.json() if "error" in json: raise ValueError( - "API request return error for object: {} id: {}".forma...
refactor: convert string formatting to f-strings
py
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++ b/ryu/ofproto/ofproto_v1_2_parser.py @@ -2220,7 +2220,7 @@ class OFPMatchField(StringifyMixin): def _put_header(self, buf, offset): ofproto_parser...
of<I> OFPMatchField: make this safe to serialize multiple times this will be used by OFPMatch old api compat code.
py
diff --git a/pyexchange/connection.py b/pyexchange/connection.py index <HASH>..<HASH> 100644 --- a/pyexchange/connection.py +++ b/pyexchange/connection.py @@ -5,6 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");?you may not use Unless required by applicable law or agreed to in writing, software...
Use only byte strings when generating Urllib2 Requests - Urllib2 requests should always be passed byte strings as recommended by <URL>
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -3184,7 +3184,7 @@ def recurse(name, if clean: # TODO: Use directory(clean=True) instead - keep += _gen_keep_files(name, require) + keep.update(_gen_kee...
Fix test failure - change "set += list" to "set.update(list)"
py
diff --git a/aioxmpp/stream.py b/aioxmpp/stream.py index <HASH>..<HASH> 100644 --- a/aioxmpp/stream.py +++ b/aioxmpp/stream.py @@ -11,6 +11,17 @@ possible. .. autoclass:: StanzaStream +Low-level stanza tracking +========================= + +The following classes are used to track stanzas in the XML stream to the +...
Put StanzaToken and StanzaState in their own section
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ elif sys.version_info[0] == 3: INSTALL_REQUIRES = [] setup(name = 'pytimeparse', - version = '1.1.0', + version = '1.1.1', description = 'Time expressi...
setup: version <I> with better setuptools support
py
diff --git a/marshmallow/marshalling.py b/marshmallow/marshalling.py index <HASH>..<HASH> 100644 --- a/marshmallow/marshalling.py +++ b/marshmallow/marshalling.py @@ -14,10 +14,8 @@ import collections from marshmallow.utils import ( EXCLUDE, INCLUDE, RAISE, is_collection, missing, set_value, ) -from marshmallow....
Expect field_names to be a collection in store_validation_error
py
diff --git a/flask_avatars/__init__.py b/flask_avatars/__init__.py index <HASH>..<HASH> 100644 --- a/flask_avatars/__init__.py +++ b/flask_avatars/__init__.py @@ -325,3 +325,19 @@ class Avatars(object): avatar_l.save(path_l, optimize=True, quality=85) return [filename_s, filename_m, filename_l] + + ...
Add mirror methods for Avatars class
py
diff --git a/pyvalid/__accepts.py b/pyvalid/__accepts.py index <HASH>..<HASH> 100644 --- a/pyvalid/__accepts.py +++ b/pyvalid/__accepts.py @@ -1,6 +1,10 @@ from collections import Callable -import inspect import functools +import sys +if sys.version_info < (3, 0, 0): + from inspect import getargspec +else: + fr...
Added support of Python ver. <I> and <I>
py