diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/bika/lims/exportimport/instruments/resultsimport.py b/bika/lims/exportimport/instruments/resultsimport.py index <HASH>..<HASH> 100644 --- a/bika/lims/exportimport/instruments/resultsimport.py +++ b/bika/lims/exportimport/instruments/resultsimport.py @@ -374,7 +374,7 @@ class AnalysisResultsImporter(Logger)...
Replaced '[]' instead of 'None'. (#<I>)
py
diff --git a/tests/connection.py b/tests/connection.py index <HASH>..<HASH> 100644 --- a/tests/connection.py +++ b/tests/connection.py @@ -851,7 +851,7 @@ class Connection_: # .assert_called_with()) stopped working, apparently triggered by # our code...somehow...after commit (roughly) 80906c7....
Account for new Remote init kwarg in some unrelated tests This is not a great code smell but whatever
py
diff --git a/test/builtin_dataset_mocks.py b/test/builtin_dataset_mocks.py index <HASH>..<HASH> 100644 --- a/test/builtin_dataset_mocks.py +++ b/test/builtin_dataset_mocks.py @@ -100,10 +100,16 @@ class DatasetMocks: return mock_resources, mock_info def _decoder(self, dataset_type): + def to_byte...
use better default decoder for prototype dataset tests (#<I>)
py
diff --git a/belpy/tests/test_trips.py b/belpy/tests/test_trips.py index <HASH>..<HASH> 100644 --- a/belpy/tests/test_trips.py +++ b/belpy/tests/test_trips.py @@ -1,6 +1,8 @@ from belpy.pysb_assembler import PysbAssembler from belpy.trips import trips_api +from os.path import dirname, join +test_small_file = join(d...
Fixed path error in test_trips.py
py
diff --git a/tests/sample_consumer2.py b/tests/sample_consumer2.py index <HASH>..<HASH> 100755 --- a/tests/sample_consumer2.py +++ b/tests/sample_consumer2.py @@ -68,10 +68,6 @@ def prepare_test(): consumer_name1 = "consumer-group-1-A" token = "" - if not logstore: - logstore = 'consumer_group_tes...
don't re-create logstore
py
diff --git a/tile_generator/pcf.py b/tile_generator/pcf.py index <HASH>..<HASH> 100755 --- a/tile_generator/pcf.py +++ b/tile_generator/pcf.py @@ -55,6 +55,7 @@ def reboot_cmd(yes_i_am_sure=False): time.sleep(1) print() opsmgr.ssh(['sudo reboot now'], silent=True) + time.sleep(10) # Allow system time to go dow...
Wait for system to go down during reboot
py
diff --git a/bcbio/variation/coverage_experimental.py b/bcbio/variation/coverage_experimental.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/coverage_experimental.py +++ b/bcbio/variation/coverage_experimental.py @@ -219,7 +219,7 @@ def priority_coverage(data): def priority_total_coverage(data): """ - ...
Output priority gene coverage summary in increments of <I>.
py
diff --git a/bot/manager.py b/bot/manager.py index <HASH>..<HASH> 100644 --- a/bot/manager.py +++ b/bot/manager.py @@ -33,6 +33,8 @@ class BotManager: ActionGroup( GlobalGapDetectorAction().then( + # # ALWAYS (or SAVE) ACTIONS # # + MessageAction()...
Indicate the different sections in manager.py
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -851,7 +851,7 @@ def _virtual(osdata): grains['virtual_subtype'] = 'Xen Dom0' for command in failed_commands: - log.warning( + log.info( ...
Change log severity for failed Grains virtual hardware commands "Although 'dmidecode' was found in path, the current user cannot execute it" is a frequent annoyance when running Salt as non-root user. [1] [2] [3] [4] This is more of an ugly hack, but fixing the underlying problem would probably require major refactori...
py
diff --git a/ListCommand.py b/ListCommand.py index <HASH>..<HASH> 100644 --- a/ListCommand.py +++ b/ListCommand.py @@ -11,13 +11,12 @@ class ListCommand(Command.Command): super(ListCommand, self).__init__(p_args, p_todolist, p_out, p_err, p_prompt) def execute(self): - showAll = self.argumentShif...
When list command receives arguments, treat them as an unfiltered grep.
py
diff --git a/watchtower/__init__.py b/watchtower/__init__.py index <HASH>..<HASH> 100644 --- a/watchtower/__init__.py +++ b/watchtower/__init__.py @@ -105,10 +105,13 @@ class CloudWatchLogHandler(handler_base_class): self.max_batch_count = max_batch_count self.queues, self.sequence_tokens = {}, {} ...
Define all instance attributes before attempting to create boto session (#<I>)
py
diff --git a/unit.py b/unit.py index <HASH>..<HASH> 100644 --- a/unit.py +++ b/unit.py @@ -9,7 +9,7 @@ class MambuStructTests(unittest.TestCase): s.rc.reset() self.func = lambda x:'http://example.com'+x - def test_init(self): + def test_init_(self): # Normal init s = mambustr...
Change name for unit test for MambuStruct.__init__ method
py
diff --git a/temperusb/temper.py b/temperusb/temper.py index <HASH>..<HASH> 100644 --- a/temperusb/temper.py +++ b/temperusb/temper.py @@ -164,7 +164,7 @@ class TemperDevice(object): if (self._device.product == 'TEMPer1F_V1.3') or \ (self._device.product == 'TEMPer1F_H1_V1.4'): return...
Added support for 3 sensor tempers and TEMPerNTC1.O
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,6 @@ install_requires = [ 'selenium~=4.0', 'transifex-client>=0.14,<0.15', 'cryptography~=35.0', - 'PyJWT>=2.1,<2.4', 'boto3>=1.18.32,<1.21.0', 'kubernetes~=19.0', # corresponds to server...
Update dependencies …removing now-unused PyJWT and increasing version lower bound for responses
py
diff --git a/tracing/tracing/__init__.py b/tracing/tracing/__init__.py index <HASH>..<HASH> 100644 --- a/tracing/tracing/__init__.py +++ b/tracing/tracing/__init__.py @@ -2,5 +2,14 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import sys +from six.moves im...
[Catapult] Reload 'google' from modules before importing protobuf This CL tries to fix the issue that on Catapult try bots, python always try to import protobuf from site-packages/ instead of the one under third-party. The solution is referring this old code: <URL>
py
diff --git a/conch/analysis/segments.py b/conch/analysis/segments.py index <HASH>..<HASH> 100644 --- a/conch/analysis/segments.py +++ b/conch/analysis/segments.py @@ -44,6 +44,8 @@ class FileSegment(object): return False if self.channel != other.channel: return False + if self....
Fixed error in __eq__ func which didn't account for properties
py
diff --git a/egg/_gui.py b/egg/_gui.py index <HASH>..<HASH> 100644 --- a/egg/_gui.py +++ b/egg/_gui.py @@ -143,18 +143,28 @@ class BaseObject(object): self._widget.blockSignals(False) self._widget.setUpdatesEnabled(True) - def disable(self): + def disable(self, value=True): """ ...
Added minor functionality to enable() disable()
py
diff --git a/backtrader/indicators/ma.py b/backtrader/indicators/ma.py index <HASH>..<HASH> 100644 --- a/backtrader/indicators/ma.py +++ b/backtrader/indicators/ma.py @@ -20,6 +20,7 @@ ################################################################################ import collections import math +import operator ...
MovingAverage Indicators added missing operator import Needed for MovingAverageWeighted
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages import os -version = '0.3.10' +version = '0.3.11' here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.txt')).read(...
Increase to version <I> due to TG-dev requiring it for ming support
py
diff --git a/bokeh/_glyph_functions.py b/bokeh/_glyph_functions.py index <HASH>..<HASH> 100644 --- a/bokeh/_glyph_functions.py +++ b/bokeh/_glyph_functions.py @@ -29,14 +29,14 @@ def _glyph_function(glyphclass, argnames, docstring, xfields=["x"], yfields=["y" legend_name = kwargs.pop("legend", None) ...
moving where plots are auto added to the bottom of the function
py
diff --git a/yoti_python_sdk/__init__.py b/yoti_python_sdk/__init__.py index <HASH>..<HASH> 100644 --- a/yoti_python_sdk/__init__.py +++ b/yoti_python_sdk/__init__.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +import os + from distutils.util import convert_path from os import environ @@ -11,7 +13,11 @@ DEFAULTS = { ...
SDK-<I>: Change version filepath calculation to allow for different directories
py
diff --git a/bellite.py b/bellite.py index <HASH>..<HASH> 100644 --- a/bellite.py +++ b/bellite.py @@ -8,6 +8,7 @@ ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~## import os, sys, socket, json +from collections import OrderedDict from functools import partial import asyncore @@ -86,12 +87,13...
Updated the json encoding to be ordered so that the output matches Node.js's format more closely
py
diff --git a/tools/c7n_logexporter/c7n_logexporter/flowdeliver.py b/tools/c7n_logexporter/c7n_logexporter/flowdeliver.py index <HASH>..<HASH> 100644 --- a/tools/c7n_logexporter/c7n_logexporter/flowdeliver.py +++ b/tools/c7n_logexporter/c7n_logexporter/flowdeliver.py @@ -147,6 +147,8 @@ def records_iter(fh, buffer_size=...
tools/c7n_logexporter - bug fix on firehose delivery processor, return current buf when out of data (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,9 @@ INSTALL_REQUIRES = [ "wsproto >= 0.14.0", ] -TESTS_REQUIRE = ["asynctest", "hypothesis", "pytest", "pytest-asyncio"] +TESTS_REQUIRE = [ + "asynctest", "hypothesis", "pytest", "pytest-asyncio", "pytest...
Add missing test requirements This allows the following to work pip install -e '.[tests]' pytest
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -445,6 +445,8 @@ def _windows_virtual(osdata): grains = dict() if osdata['kernel'] != 'Windows': return grains + + grains['virtual'] = 'physical' # I...
Fix #<I>, Windows grain defaults to physical as unix grain
py
diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -1438,12 +1438,15 @@ class BaseCase(unittest.TestCase): selector, by=by, timeout=timeout) self.__slo...
Deprecate scroll_click() because click() already scrolls before clicking
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,5 +20,10 @@ setup( author_email=about['__email__'], packages=find_packages(), + install_requires=[ + "celery>=3.1.17", + "statsd>=3.0", + "six>=1.9.0", + ], zip_safe=False, )
Automatically install requirements (celery, statsd and six) via pip.
py
diff --git a/plugins/item_tasks/server/rest.py b/plugins/item_tasks/server/rest.py index <HASH>..<HASH> 100644 --- a/plugins/item_tasks/server/rest.py +++ b/plugins/item_tasks/server/rest.py @@ -189,6 +189,9 @@ class ItemTask(Resource): if includeJobInfo: job['kwargs']['jobInfo'] = utils.jobInfoSp...
Support celery queue selection for item tasks
py
diff --git a/confidence.py b/confidence.py index <HASH>..<HASH> 100644 --- a/confidence.py +++ b/confidence.py @@ -213,17 +213,23 @@ def load(*fps): return Configuration(*(yaml.load(fp.read()) for fp in fps)) -def loadf(*fnames): +def loadf(*fnames, default=_NoDefault): """ Read a `.Configuration` in...
Enable override for missing files in loadf
py
diff --git a/inginious/frontend/webapp/tests/SeleniumTest.py b/inginious/frontend/webapp/tests/SeleniumTest.py index <HASH>..<HASH> 100644 --- a/inginious/frontend/webapp/tests/SeleniumTest.py +++ b/inginious/frontend/webapp/tests/SeleniumTest.py @@ -101,7 +101,7 @@ class SeleniumTest(unittest.TestCase): s...
I give up (temporarily) on testing with Selenium on headless servers.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,6 +4,11 @@ from setuptools import setup +# read the contents of your README file +from pathlib import Path +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + setup...
Source README.md in setup to be used for PyPI When Release scripts publish to PyPI they will set the README.md as the long decription there.
py
diff --git a/tests/template.py b/tests/template.py index <HASH>..<HASH> 100644 --- a/tests/template.py +++ b/tests/template.py @@ -99,19 +99,30 @@ class TestGridTemplate(unittest.TestCase): print(os.path.join(dir1, afile)) print(os.path.join(dir2, afile)) r...
added before tear down and fixed not deleting .gitignore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ INSTALL_REQUIRES = [ 'python-dateutil>=2.4', # NOTE: Can be removed after a fix: # https://github.com/tobgu/pyrsistent/issues/208 - 'pyrsistent>=0.17.3', + 'pyrsistent<0.17', 'jsonschem...
Downgrade pyrsistent version
py
diff --git a/qface/helper/doc.py b/qface/helper/doc.py index <HASH>..<HASH> 100644 --- a/qface/helper/doc.py +++ b/qface/helper/doc.py @@ -37,7 +37,7 @@ class DocObject: elif attr_type is list: getattr(self, name).append(value) else: - print('documentation tag not supported') +...
Print which documentation tag is unknown (#<I>)
py
diff --git a/dwave/cloud/coders.py b/dwave/cloud/coders.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/coders.py +++ b/dwave/cloud/coders.py @@ -394,6 +394,6 @@ def bqm_as_file(bqm, **options): # test explicitly to avoid copy on cast if possible fileviewable = (dimod.AdjArrayBQM, dimod.AdjVectorBQM, dimod.A...
Fix bqm_as_file (fails due to typo)
py
diff --git a/Lib/fontMath/mathFunctions.py b/Lib/fontMath/mathFunctions.py index <HASH>..<HASH> 100644 --- a/Lib/fontMath/mathFunctions.py +++ b/Lib/fontMath/mathFunctions.py @@ -25,18 +25,33 @@ def sub(v1, v2): return v1 - v2 def subPt(pt1, pt2): + """ + >>> pt1, pt2 = (20, 230), (50, 40) + >>> subPt(...
Doctests for subPt, mulPt and divPt
py
diff --git a/analyzers/URLhaus/URLhaus_analyzer.py b/analyzers/URLhaus/URLhaus_analyzer.py index <HASH>..<HASH> 100755 --- a/analyzers/URLhaus/URLhaus_analyzer.py +++ b/analyzers/URLhaus/URLhaus_analyzer.py @@ -34,7 +34,8 @@ class URLhausAnalyzer(Analyzer): taxonomies = [] namespace = "URLhaus" - ...
fix when hash not found fix when hash not found
py
diff --git a/distob/distob.py b/distob/distob.py index <HASH>..<HASH> 100644 --- a/distob/distob.py +++ b/distob/distob.py @@ -681,7 +681,8 @@ def _make_proxy_method(method_name, doc=None): def _make_proxy_property(attrib_name, doc=None): def getter(self): - return methodcall(self, '__getattribute__', at...
proxy properties should respect the prefer_local setting
py
diff --git a/i18n/transifex.py b/i18n/transifex.py index <HASH>..<HASH> 100755 --- a/i18n/transifex.py +++ b/i18n/transifex.py @@ -122,7 +122,7 @@ def clean_locale(configuration, locale): # Happens when we have a supported locale that doesn't exist in Transifex return for filename in dirname.file...
Fix file path in call to `clean_file` The call to `i<I>n_tool transifex --pull` fails during the call to the `clean_translated_locales` function because the path to the *.po files is incorrect. In `dirname.files('*.po')`, the result already includes the path relative to the `dirname`, so it is incorrect to perform an ...
py
diff --git a/pymomo/gpysim/log.py b/pymomo/gpysim/log.py index <HASH>..<HASH> 100644 --- a/pymomo/gpysim/log.py +++ b/pymomo/gpysim/log.py @@ -13,9 +13,10 @@ class LogFile: self.entries = [] - #Only keep entries where we write to the logging registers + #Only keep entries where we write to the logging register...
Update logging to not choke when another event is simultaneous with a logging break
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,9 @@ setup( 'GitPython==1.0.1', 'MapGitConfig==1.1' ], - tests_require=['pytest'], + tests_require=[ + 'pytest>=3,<4' + ], # package_data={}, entry_points={ '...
pin pytest version =>3,<4
py
diff --git a/pyprf_feature/analysis/pyprf_main.py b/pyprf_feature/analysis/pyprf_main.py index <HASH>..<HASH> 100644 --- a/pyprf_feature/analysis/pyprf_main.py +++ b/pyprf_feature/analysis/pyprf_main.py @@ -137,6 +137,8 @@ def pyprf(strCsvCnfg, lgcTest=False): #noqa print('---------Number of voxels on which pRF...
Add print statement about number of features.
py
diff --git a/stpl/stpl.py b/stpl/stpl.py index <HASH>..<HASH> 100755 --- a/stpl/stpl.py +++ b/stpl/stpl.py @@ -257,11 +257,10 @@ class SimpleTemplate(BaseTemplate): for dictarg in args: env.update(dictarg) env.update(kwargs) - env['__main_file__']=self.filename + env['__main...
fix: __main_file__ not defined sometimes
py
diff --git a/librosa/onset.py b/librosa/onset.py index <HASH>..<HASH> 100644 --- a/librosa/onset.py +++ b/librosa/onset.py @@ -422,8 +422,13 @@ def onset_strength_multi(y=None, sr=22050, S=None, lag=1, max_size=1, # Ensure that S is at least 2-d S = np.atleast_2d(S) - # Compute the reference spectrogram ...
minor efficiency hack in onset_strength_multi
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup_requires = [ ] install_requires = [ - 'Flask~=0.0,>=0.12.3', + 'Flask>=0.12.3, <2.0.0', 'IDUtils~=1.0,>=1.0.1', 'dojson~=1.0,>=1.3.1', 'inspire-schemas~=59.0,>=59.0.5',
Remove flask version restriction INSPIR-<I> Remove flask version restriction so that we can use flask 1 on inspirehep and old flask version on inspire-next
py
diff --git a/djongo/models/fields.py b/djongo/models/fields.py index <HASH>..<HASH> 100644 --- a/djongo/models/fields.py +++ b/djongo/models/fields.py @@ -49,8 +49,7 @@ def make_mdl(model, model_dict): def useful_field(field): - return field.concrete and not (field.is_relation - ...
Fixed embedded relations (#<I>)
py
diff --git a/jaraco/windows/power.py b/jaraco/windows/power.py index <HASH>..<HASH> 100644 --- a/jaraco/windows/power.py +++ b/jaraco/windows/power.py @@ -81,16 +81,24 @@ SetThreadExecutionState = ctypes.windll.kernel32.SetThreadExecutionState SetThreadExecutionState.argtypes = [ctypes.c_uint] SetThreadExecutionStat...
Created ES namespace for Execution state constants. Corrected SYSTEM_REQUIRED to match documentation.
py
diff --git a/tests/unit/modules/test_znc.py b/tests/unit/modules/test_znc.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_znc.py +++ b/tests/unit/modules/test_znc.py @@ -54,7 +54,8 @@ class ZncTestCase(TestCase, LoaderModuleMockMixin): Tests write the active configuration state to config file ...
Fix `unit.modules.test_znc` for Windows Mock the signal object as it's missing SIGUSR1 and SIGHUP on Windows
py
diff --git a/plenum/server/request_managers/write_request_manager.py b/plenum/server/request_managers/write_request_manager.py index <HASH>..<HASH> 100644 --- a/plenum/server/request_managers/write_request_manager.py +++ b/plenum/server/request_managers/write_request_manager.py @@ -133,7 +133,7 @@ class WriteRequestMan...
INDY-<I>: fix restore_state() in WriteRequestManager
py
diff --git a/ggplot/themes/theme_gray.py b/ggplot/themes/theme_gray.py index <HASH>..<HASH> 100644 --- a/ggplot/themes/theme_gray.py +++ b/ggplot/themes/theme_gray.py @@ -91,5 +91,8 @@ def _theme_grey_post_plot_callback(ax): #Set minor grid lines ax.grid(True, 'minor', color='#F2F2F2', linestyle='-', linewi...
Prevent theme changing minor ticklocs in log plots
py
diff --git a/bids/grabbids/bids_layout.py b/bids/grabbids/bids_layout.py index <HASH>..<HASH> 100644 --- a/bids/grabbids/bids_layout.py +++ b/bids/grabbids/bids_layout.py @@ -36,7 +36,7 @@ class BIDSLayout(Layout): potentialJSONs = [] for prefixes, conditional in ( # Levels (tuple(),...
LINT: addressing flake8 errors
py
diff --git a/metpy/plots/tests/test_skewt.py b/metpy/plots/tests/test_skewt.py index <HASH>..<HASH> 100644 --- a/metpy/plots/tests/test_skewt.py +++ b/metpy/plots/tests/test_skewt.py @@ -53,6 +53,13 @@ def test_skewt_gridspec(): return fig +def test_skewt_with_grid_enabled(): + """Test using SkewT when grid...
BUG: Add test for #<I>. It looks like this was fixed with earlier SkewT adjustments, but it's still good to add a test (that failed without the fix). While we're at it, this test also hits the path that automatically creates a new figure.
py
diff --git a/tests/test_http.py b/tests/test_http.py index <HASH>..<HASH> 100644 --- a/tests/test_http.py +++ b/tests/test_http.py @@ -13,6 +13,7 @@ import pytest import osbs.http as osbs_http from osbs.http import parse_headers, HttpSession, HttpStream +from osbs.exceptions import OsbsNetworkException from test...
Skip tests that require internet if there's no connection.
py
diff --git a/experiments/matrix-completion-accuracy.py b/experiments/matrix-completion-accuracy.py index <HASH>..<HASH> 100644 --- a/experiments/matrix-completion-accuracy.py +++ b/experiments/matrix-completion-accuracy.py @@ -30,8 +30,8 @@ import pandas as pd from dataset_paths import PETERS2009_CSV_PATH from mhcf...
use Dataset.from_csv in matrix-completion-accuracy
py
diff --git a/detect_secrets/plugins/keyword.py b/detect_secrets/plugins/keyword.py index <HASH>..<HASH> 100644 --- a/detect_secrets/plugins/keyword.py +++ b/detect_secrets/plugins/keyword.py @@ -77,6 +77,7 @@ FALSE_POSITIVES = { 'password},', 'some_key', 'string,', + 'string?', 'string}', 's...
:telescope: [Keyword Plugin] Add string? to FALSE_POSITIVES
py
diff --git a/workbench/server/data_store.py b/workbench/server/data_store.py index <HASH>..<HASH> 100644 --- a/workbench/server/data_store.py +++ b/workbench/server/data_store.py @@ -344,11 +344,6 @@ class DataStore(object): Returns: Dictionary of the worker result. """ - - # Suppo...
removing short_md5 support for work_results, long rabbit hole of bad boxes
py
diff --git a/src/travis2docker/travis2docker.py b/src/travis2docker/travis2docker.py index <HASH>..<HASH> 100755 --- a/src/travis2docker/travis2docker.py +++ b/src/travis2docker/travis2docker.py @@ -72,6 +72,8 @@ class Travis2Docker(object): default_user = 'root' if image == 'vauxoo/odoo-80-image-ship...
[REF] travis2docker: Default user 'travis' for travis image
py
diff --git a/django_mailgun/__init__.py b/django_mailgun/__init__.py index <HASH>..<HASH> 100644 --- a/django_mailgun/__init__.py +++ b/django_mailgun/__init__.py @@ -3,6 +3,12 @@ from django.conf import settings from django.core.mail.backends.base import BaseEmailBackend from django.core.mail.message import sanitize...
Treat returned string from mailmessage as stringio for requests to read
py
diff --git a/fedmsg/commands/__init__.py b/fedmsg/commands/__init__.py index <HASH>..<HASH> 100644 --- a/fedmsg/commands/__init__.py +++ b/fedmsg/commands/__init__.py @@ -56,7 +56,7 @@ class BaseCommand(object): def get_config(self): return fedmsg.config.load_config( self.extra_args, - ...
Remove duplicate help strings. Fixes #<I>. Introduced in a<I>e<I>ce3f8d2aec4b4ad<I>d2a<I>f<I>c8bb
py
diff --git a/salt/crypt.py b/salt/crypt.py index <HASH>..<HASH> 100644 --- a/salt/crypt.py +++ b/salt/crypt.py @@ -11,6 +11,7 @@ import hmac import tempfile import random import hashlib +import time import string import cPickle as pickle # Import Cryptography libs
Add time to imports on crypt
py
diff --git a/pysam/version.py b/pysam/version.py index <HASH>..<HASH> 100644 --- a/pysam/version.py +++ b/pysam/version.py @@ -1,6 +1,6 @@ # pysam versioning information -__version__ = "0.9.1.2" +__version__ = "0.9.1.3" __samtools_version__ = "1.3.1"
{AH} increase version to <I>
py
diff --git a/datalad_service/tasks/files.py b/datalad_service/tasks/files.py index <HASH>..<HASH> 100644 --- a/datalad_service/tasks/files.py +++ b/datalad_service/tasks/files.py @@ -1,18 +1,29 @@ from datalad_service.common.annex import CommitInfo, get_repo_files from datalad_service.common.celery import dataset_tas...
Integrate validation with commits (validate files after commit).
py
diff --git a/versions/repositories.py b/versions/repositories.py index <HASH>..<HASH> 100644 --- a/versions/repositories.py +++ b/versions/repositories.py @@ -24,4 +24,5 @@ class Repository(object): """ if isinstance(requirement, str): requirement = Requirement.parse(requirement) - ...
Check for package name before calling Requirement.match() It saves time!
py
diff --git a/yoti_python_sdk/crypto.py b/yoti_python_sdk/crypto.py index <HASH>..<HASH> 100644 --- a/yoti_python_sdk/crypto.py +++ b/yoti_python_sdk/crypto.py @@ -70,7 +70,7 @@ class Crypto: return stripped @staticmethod - def read_pem_file(key_file_path): + def read_pem_file(key_file_path, error_...
SDK-<I>: Add error source back to crypto file read method
py
diff --git a/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py b/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py +++ b/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py @@ -7...
Remove --force-compositing-mode from various places. The flag no longer does anything. BUG= Review URL: <URL>
py
diff --git a/phypno/attr/chan.py b/phypno/attr/chan.py index <HASH>..<HASH> 100644 --- a/phypno/attr/chan.py +++ b/phypno/attr/chan.py @@ -146,8 +146,7 @@ class Chan(): """ if chan_name: - idx_ch = self.chan_name.index(chan_name) - chan_pos = self.xyz[idx_ch, :] + ch...
add method to Chan so that it returns the location of one channel very quickly
py
diff --git a/vespa/kepler.py b/vespa/kepler.py index <HASH>..<HASH> 100644 --- a/vespa/kepler.py +++ b/vespa/kepler.py @@ -110,7 +110,12 @@ def modelshift_weaksec(koi): depth_dv = r['D_sec_dv'] * (1 + 3*r['F_red_dv'] / r['sig_sec_dv']) depth_alt = r['D_sec_alt'] * (1 + 3*r['F_red_alt'] / r['sig_sec_alt']) ...
fixing nans in modelshift weaksec
py
diff --git a/pyrogram/client/filters/filters.py b/pyrogram/client/filters/filters.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/filters/filters.py +++ b/pyrogram/client/filters/filters.py @@ -240,6 +240,7 @@ class Filters: def func(flt, message): text = message.text or message.caption + ...
Fix command filter relying on a previous command state
py
diff --git a/zipline/lib/adjusted_array.py b/zipline/lib/adjusted_array.py index <HASH>..<HASH> 100644 --- a/zipline/lib/adjusted_array.py +++ b/zipline/lib/adjusted_array.py @@ -290,7 +290,7 @@ class AdjustedArray(object): data = self._data if copy: - data = data.copy() + data...
ENH: ndarray.copy() always sets the contig to 'C'
py
diff --git a/knights/helpers.py b/knights/helpers.py index <HASH>..<HASH> 100644 --- a/knights/helpers.py +++ b/knights/helpers.py @@ -45,6 +45,9 @@ ESCAPES = { def escape(value, mode='html'): return ESCAPES[mode](value) +register.helper(escape_html) +register.helper(escape_js) + # filesizeformat # first # f...
Register both escape functions directly as helpers
py
diff --git a/tests/test_grouping.py b/tests/test_grouping.py index <HASH>..<HASH> 100644 --- a/tests/test_grouping.py +++ b/tests/test_grouping.py @@ -150,12 +150,12 @@ class TestGrouping(TestCaseBase): s = 'select * from foo where bar = 1 order by id desc' p = sqlparse.parse(s)[0] self.ndiff...
Fix test that wasn't evaluating AssertTrue wasn't comparing the value, just checking if value was not False Fix and changed AssertTrue to Assert_ to match style used else throught tests
py
diff --git a/source/awesome_tool/mvc/controllers/gap/tools.py b/source/awesome_tool/mvc/controllers/gap/tools.py index <HASH>..<HASH> 100644 --- a/source/awesome_tool/mvc/controllers/gap/tools.py +++ b/source/awesome_tool/mvc/controllers/gap/tools.py @@ -377,6 +377,9 @@ class MyHandleTool(HandleTool): def _handl...
Fix bug that cause waypoints to snap to ports
py
diff --git a/androguard/decompiler/decompiler.py b/androguard/decompiler/decompiler.py index <HASH>..<HASH> 100644 --- a/androguard/decompiler/decompiler.py +++ b/androguard/decompiler/decompiler.py @@ -649,7 +649,7 @@ class DecompilerJADX: with tempfile.NamedTemporaryFile(suffix=".dex") as tf: tf...
Set custom directory for JADX source files JADX by default places the decompiled sources into a "sources" directory inside the directory passed by the "-d" flag. The "-ds" flag can be used to specify a custom directory for the source files. By setting it to the tmpfolder, JADX will place the source files where Androg...
py
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -559,6 +559,8 @@ class GenericElementPlot(DimensionedPlot): elif self.dynamic: key, frame = util.get_dynamic_item(self.hmap, self.di...
Allowed partial dimension overlap in DynamicMaps
py
diff --git a/scriptworker/utils.py b/scriptworker/utils.py index <HASH>..<HASH> 100644 --- a/scriptworker/utils.py +++ b/scriptworker/utils.py @@ -480,9 +480,9 @@ async def download_file(context, url, abs_filename, session=None, chunk_size=128 parent_dir = os.path.dirname(abs_filename) async with session.get(...
avoid logging headers until we audit
py
diff --git a/hpcbench/driver.py b/hpcbench/driver.py index <HASH>..<HASH> 100644 --- a/hpcbench/driver.py +++ b/hpcbench/driver.py @@ -527,7 +527,7 @@ class MetricsDriver(object): elif isinstance(metric, list): if not isinstance(value, list): message = "Unexpected type for metrics...
fixed error printing when type is list or dict to produce correct output
py
diff --git a/datadog_checks_dev/datadog_checks/dev/plugin/tox.py b/datadog_checks_dev/datadog_checks/dev/plugin/tox.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/plugin/tox.py +++ b/datadog_checks_dev/datadog_checks/dev/plugin/tox.py @@ -41,6 +41,7 @@ def add_style_checker(config, sections,...
Ensure style envs support every platform (#<I>)
py
diff --git a/harpoon/actions.py b/harpoon/actions.py index <HASH>..<HASH> 100644 --- a/harpoon/actions.py +++ b/harpoon/actions.py @@ -18,6 +18,7 @@ from input_algorithms.meta import Meta from textwrap import dedent import itertools import logging +import six log = logging.getLogger("harpoon.actions") @@ -74,6 ...
Adding a pull_parent action
py
diff --git a/zhaquirks/philips/__init__.py b/zhaquirks/philips/__init__.py index <HASH>..<HASH> 100644 --- a/zhaquirks/philips/__init__.py +++ b/zhaquirks/philips/__init__.py @@ -72,14 +72,6 @@ HUE_REMOTE_DEVICE_TRIGGERS = { } -class PowerOnState(t.enum8): - """Philips power on state enum.""" - - Off = 0x00 ...
Deleting left class from power on state (#<I>) The power on state is deleted (its implanted in the ZCL 7 part) but the stat class was missed then it was made.
py
diff --git a/master/buildbot/test/unit/test_scripts_cleanupdb.py b/master/buildbot/test/unit/test_scripts_cleanupdb.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_scripts_cleanupdb.py +++ b/master/buildbot/test/unit/test_scripts_cleanupdb.py @@ -64,10 +64,10 @@ class TestCleanupDb(misc.StdoutAssert...
fix config file formatting Path can contain backslashed on Windows (and special characters in general).
py
diff --git a/Gelatin/generator/Dummy.py b/Gelatin/generator/Dummy.py index <HASH>..<HASH> 100644 --- a/Gelatin/generator/Dummy.py +++ b/Gelatin/generator/Dummy.py @@ -34,6 +34,9 @@ class Dummy(Builder): def add(self, path, data=None, replace=False): pass + def add_attribute(self, path, name, value): ...
fix: dummy output generator did not support attributes
py
diff --git a/graphenebase/objects.py b/graphenebase/objects.py index <HASH>..<HASH> 100644 --- a/graphenebase/objects.py +++ b/graphenebase/objects.py @@ -168,6 +168,17 @@ class GrapheneObject(OrderedDict): """ def __init__(self, *args, **kwargs): + + if len(args) == 1 and isinstance(args[0], self.__...
Return object already in case the type already fits
py
diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index <HASH>..<HASH> 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -1732,7 +1732,6 @@ class TestGenericNetCDFData(CFEncodedBase, NetCDF3Only): with raises_regex(ValueError, 'can only read'): ...
Reenable cross engine read write netCDF test (#<I>) Fixes <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,7 @@ install_requires = [ 'kitchen', 'moksha.hub', 'requests', + 'pygments', #'daemon', # These are "optional" for now to make installation from pypi easier.
fedmsg-tail requires pygments.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ setup( url='https://github.com/tomduck/pandoc-eqnos', download_url='https://github.com/tomduck/pandoc-eqnos/tarball/' + VERSION, - install_requires=['pandoc-xnos>=0.4', + install_requires=['pan...
Updated pandoc-xnos requirement.
py
diff --git a/sorl/thumbnail/images.py b/sorl/thumbnail/images.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/images.py +++ b/sorl/thumbnail/images.py @@ -133,8 +133,11 @@ class ImageFile(BaseImageFile): def write(self, content): if not isinstance(content, File): content = ContentFile(con...
Take fix from changeset:<I>e1 by @pixelogik related to #<I>
py
diff --git a/anonymoususage/state.py b/anonymoususage/state.py index <HASH>..<HASH> 100644 --- a/anonymoususage/state.py +++ b/anonymoususage/state.py @@ -23,8 +23,14 @@ class State(Table): self.insert(self.state) def insert(self, value): - last_value = self.get_last(1)[0]['State'] - i...
catch index error when inserting first value for State
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,8 @@ setup( 'autocommand.automain', 'autocommand.autoasync', 'autocommand.autoparse', - 'autocommand.autocommand'], + 'autocommand.autocommand', + 'autocommand.errors']...
Added errors module to setup.py
py
diff --git a/etrago/tools/utilities.py b/etrago/tools/utilities.py index <HASH>..<HASH> 100644 --- a/etrago/tools/utilities.py +++ b/etrago/tools/utilities.py @@ -840,11 +840,9 @@ def pf_post_lopf(network, args, add_foreign_lopf, q_allocation, calc_losses): else: foreign_...
Minor change in pf_post_lopf for gridversion <I>
py
diff --git a/scriptworker/test/__init__.py b/scriptworker/test/__init__.py index <HASH>..<HASH> 100644 --- a/scriptworker/test/__init__.py +++ b/scriptworker/test/__init__.py @@ -210,7 +210,7 @@ def integration_create_task_payload(config, task_group_id, scopes=None, } -@pytest.yield_fixture +@pytest.yield_fixt...
event_loop with scope=function?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,8 +4,9 @@ from setuptools import setup, find_packages, Extension ghalton_module = Extension("ghalton._ghalton_wrapper", language = "c++", sources=["src/Halton_wrap.cx...
Try removing c++ flags
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -2,4 +2,4 @@ from setuptools import setup -setup(use_scm_version=True) +setup(name='django-select2', use_scm_version=True)
Add name to setup.py to enable GH dependency graph
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -354,6 +354,10 @@ FREEZER_INCLUDES = [ 'distutils.version', 'numbers', 'json', + 'M2Crypto', + 'Cookie', + 'asyncore', + 'fileinput' ] if IS_WINDOWS_PLATFORM:
Added more modules missed by bdist_esky
py
diff --git a/photutils/conftest.py b/photutils/conftest.py index <HASH>..<HASH> 100644 --- a/photutils/conftest.py +++ b/photutils/conftest.py @@ -25,7 +25,7 @@ from astropy.tests.helper import enable_deprecations_as_exceptions ## To ignore some specific deprecation warning messages for Python version ## MAJOR.MINOR ...
Enable raising deprecations again
py
diff --git a/lib/search_engine.py b/lib/search_engine.py index <HASH>..<HASH> 100644 --- a/lib/search_engine.py +++ b/lib/search_engine.py @@ -3579,6 +3579,9 @@ def perform_request_search(req=None, cc=cdsname, c=None, p="", f="", rg=10, sf=" elif of.startswith("h"): req.write(print_results...
When outputting XML formats out of the search engine query, print the total numbers of results found as an XML comment.
py
diff --git a/src/sdk/pynni/nni/compression/torch/builtin_quantizers.py b/src/sdk/pynni/nni/compression/torch/builtin_quantizers.py index <HASH>..<HASH> 100644 --- a/src/sdk/pynni/nni/compression/torch/builtin_quantizers.py +++ b/src/sdk/pynni/nni/compression/torch/builtin_quantizers.py @@ -5,7 +5,7 @@ import logging i...
export for default (#<I>)
py
diff --git a/test/test_fast_clang.py b/test/test_fast_clang.py index <HASH>..<HASH> 100644 --- a/test/test_fast_clang.py +++ b/test/test_fast_clang.py @@ -22,7 +22,7 @@ class CompareSizes(ClangTest): self.assertSizes(name) #@unittest.skip('') - @unittest.expectedFailure # packed attribute + ...
apparently the test is not failing. mmm
py
diff --git a/py/testdir_0xdata_only/test_DeepLearning_mnist.py b/py/testdir_0xdata_only/test_DeepLearning_mnist.py index <HASH>..<HASH> 100644 --- a/py/testdir_0xdata_only/test_DeepLearning_mnist.py +++ b/py/testdir_0xdata_only/test_DeepLearning_mnist.py @@ -27,7 +27,7 @@ class Basic(unittest.TestCase): csvPat...
bigger timeout on parse/inspect
py
diff --git a/holoviews/plotting/__init__.py b/holoviews/plotting/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/__init__.py +++ b/holoviews/plotting/__init__.py @@ -270,6 +270,7 @@ Store.options.HeatMap = Options('plot', show_values=True, xticks=20, yticks=20) Store.options.RGBA = Options('style', in...
Turned subfigure labels on by default
py
diff --git a/mautrix/util/message_send_checkpoint.py b/mautrix/util/message_send_checkpoint.py index <HASH>..<HASH> 100644 --- a/mautrix/util/message_send_checkpoint.py +++ b/mautrix/util/message_send_checkpoint.py @@ -70,6 +70,7 @@ CHECKPOINT_TYPES = { EventType.ROOM_REDACTION, EventType.ROOM_MESSAGE, E...
Add m.room.member to checkpoint types
py