diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_interop_tests.py +++ b/tools/run_tests/run_interop_tests.py @@ -687,6 +687,14 @@ def server_jobspec(language, docker_image, insecure=False, manual_cmd_log=None): iterto...
add comments for health check docker flags
py
diff --git a/modin/pandas/test/test_groupby.py b/modin/pandas/test/test_groupby.py index <HASH>..<HASH> 100644 --- a/modin/pandas/test/test_groupby.py +++ b/modin/pandas/test/test_groupby.py @@ -15,6 +15,7 @@ import pytest import itertools import pandas import numpy as np +import itertools import modin.pandas as pd...
FIX-#<I>: use 'zip_longest' to iterate over modin's and pandas's groups (#<I>)
py
diff --git a/acestream/server.py b/acestream/server.py index <HASH>..<HASH> 100644 --- a/acestream/server.py +++ b/acestream/server.py @@ -32,8 +32,8 @@ class Request(object): def __init__(self, host, port=None, scheme='http'): self.base = self._geturl_base(scheme, host, str(port)) - def get(self, url, **par...
request: fix `url` param conflict
py
diff --git a/plugins/plugin_loader.py b/plugins/plugin_loader.py index <HASH>..<HASH> 100644 --- a/plugins/plugin_loader.py +++ b/plugins/plugin_loader.py @@ -59,12 +59,18 @@ class PluginLoader(idaapi.plugin_t): # Make sure the files exist. If not - create them. if not os.path.isfile(SYS_PLUGIN_LIST...
The plugin handler now works even if it can't create the plugin lists.
py
diff --git a/gns3server/controller/appliance.py b/gns3server/controller/appliance.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/appliance.py +++ b/gns3server/controller/appliance.py @@ -44,7 +44,9 @@ class Appliance: # Version of the gui before 2.1 use linked_base # and the server linked_...
Fix "Change of linked base VM doesn't work with templates migrated from <I>"
py
diff --git a/aiortc/mediastreams.py b/aiortc/mediastreams.py index <HASH>..<HASH> 100644 --- a/aiortc/mediastreams.py +++ b/aiortc/mediastreams.py @@ -42,7 +42,7 @@ class AudioStreamTrack(MediaStreamTrack): async def recv(self): await asyncio.sleep(0.02) - return AudioFrame(channels=1, data=b'\x0...
[mediastreams] correctly generate silence We need to provide <I>-bit samples, not 8-bit!
py
diff --git a/pyradigm/pyradigm.py b/pyradigm/pyradigm.py index <HASH>..<HASH> 100644 --- a/pyradigm/pyradigm.py +++ b/pyradigm/pyradigm.py @@ -1071,6 +1071,14 @@ class MLDataset(object): @property + def shape(self): + """Returns the pythonic shape of the dataset: num_samples x num_features. + ...
new attribute .shape to make it more pythonic like ndarray
py
diff --git a/setuptools/version.py b/setuptools/version.py index <HASH>..<HASH> 100644 --- a/setuptools/version.py +++ b/setuptools/version.py @@ -1 +1 @@ -__version__ = '19.1' +__version__ = '19.2'
Bumped to <I> in preparation for next release.
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -18,8 +18,9 @@ Licensed under the terms of the MIT License import os try: # Test if IPython v0.11+ is installed - from IPython import deathrow #analysis:ignore - if ...
(Fixes Issue <I>) New IPython plugin is now working with PyQt4 and IPython <I>
py
diff --git a/gwpy/cli/cliproduct.py b/gwpy/cli/cliproduct.py index <HASH>..<HASH> 100644 --- a/gwpy/cli/cliproduct.py +++ b/gwpy/cli/cliproduct.py @@ -32,7 +32,7 @@ import sys from collections import OrderedDict from functools import wraps -from lal._lal import LIGOTimeGPS +from ..time import LIGOTimeGPS from six ...
gwpy/cli/cliproduct.py fix import of LIGOTimeGPS
py
diff --git a/meta.py b/meta.py index <HASH>..<HASH> 100644 --- a/meta.py +++ b/meta.py @@ -25,7 +25,7 @@ if True: des3 kasumi khazad - kseed + #kseed noekeon rc2 rc5 @@ -42,6 +42,8 @@ else: des '''.strip().split()) +cipher_names = [x for x in cipher_names if not x.startswith('#')] + cipher_p...
Drop "kseed" due to failing test vectors. This seems to only happen on my laptop.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,6 +19,7 @@ github_sponsors_url = f'{github_url}/sponsors' extensions = [ 'sphinx.ext.extlinks', # allows to create custom roles easily + 'sphinx.ext.intersphinx', # allows interlinking external...
Enable intersphinx to link against CPython docs
py
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmdmod.py +++ b/salt/modules/cmdmod.py @@ -280,7 +280,7 @@ def _run(cmd, ''' if 'pillar' in kwargs and not pillar_override: pillar_override = kwargs['pillar'] - if _is_valid_shell(shell) is ...
Don't log shell warning if output_loglevel is quiet This will prevent grains generation from logging a bunch of these sort of warnings.
py
diff --git a/abydos/stats.py b/abydos/stats.py index <HASH>..<HASH> 100644 --- a/abydos/stats.py +++ b/abydos/stats.py @@ -460,8 +460,8 @@ class ConfusionTable(object): a single value (rounded to 12 digits) Cf. https://en.wikipedia.org/wiki/Arithmetic–geometric_mean """ - x = self.prec...
skip one iteration by using the built in a/g/h mean members
py
diff --git a/tinyscript/argreparse.py b/tinyscript/argreparse.py index <HASH>..<HASH> 100644 --- a/tinyscript/argreparse.py +++ b/tinyscript/argreparse.py @@ -681,7 +681,7 @@ class HelpFormatter(ArgumentDefaultsHelpFormatter, RawTextHelpFormatter): choices_str = ', '.join([str(c) for c in params['choices']...
Fixed issue in argreparse
py
diff --git a/fmn/rules/ansible.py b/fmn/rules/ansible.py index <HASH>..<HASH> 100644 --- a/fmn/rules/ansible.py +++ b/fmn/rules/ansible.py @@ -1,6 +1,7 @@ from fmn.lib.hinting import hint, prefixed as _ +@hint(categories=['ansible']) def all_ansible(config, message): """ An ansible action from Fedora-Infra
Add a hint to the rule matching all ansible messages
py
diff --git a/chess.py b/chess.py index <HASH>..<HASH> 100644 --- a/chess.py +++ b/chess.py @@ -1064,7 +1064,24 @@ def minimax(bitboard, depth, eval_fn): return best def material_evaluator(bitboard): - return sparse_pop_count(bitboard.occupied_co[bitboard.turn]) - sparse_pop_count(bitboard.occupied_co[bitboar...
Evaluator should be obbjective
py
diff --git a/lspreader.py b/lspreader.py index <HASH>..<HASH> 100644 --- a/lspreader.py +++ b/lspreader.py @@ -78,7 +78,7 @@ def get_header(file,**kw): header['quantities'] = zip(names,units); elif header['dump_type'] == 6: #this is a particle movie file - d = get_dict( + d = get_di...
another mistake in the pmovie reader
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -299,6 +299,6 @@ setup( 'update': UpdateCommand}, ext_modules=[Extension( name='yara', - extra_compile_args = ['-std=gnu99'], + extra_compile_args = ['-std=c99'], include_dirs=['ya...
Try building yara-python as C<I>.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -90,7 +90,7 @@ class InstalledTestCase(TestBase): self.virtual_env_obj.install('wheel') # required for this test for pack in packages_for_tests: self.virtual_env_obj.wheel(pack, options=['--wheel...
Remove --use-wheel in tests, now deprecated
py
diff --git a/th_taiga/my_taiga.py b/th_taiga/my_taiga.py index <HASH>..<HASH> 100644 --- a/th_taiga/my_taiga.py +++ b/th_taiga/my_taiga.py @@ -12,7 +12,7 @@ from th_taiga.models import Taiga logger = getLogger('django_th.trigger_happy') -cache = caches['th_taiga'] +cache = caches['django_th'] class ServiceTai...
Replaced cache variable REPLACED: cache = caches['th_<service>'] With cache = caches['django_th']
py
diff --git a/bebop/interface.py b/bebop/interface.py index <HASH>..<HASH> 100644 --- a/bebop/interface.py +++ b/bebop/interface.py @@ -53,4 +53,4 @@ class Solr(object): def batch_index(self, index, conn_id='main', indexer=DBAPIBatchIndexer): index = self._validate_index(index) return indexer(self...
[fix] Interface batch_index method
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -148,7 +148,7 @@ def test_get_filename_from_url(url, expected): @pytest.mark.parametrize('content_type,check', [ (None, lambda x: re.match(r'^planet-[a-z0-9]{8}$', x, re.I) i...
mimetypes.guess_extension() returns either .tif or .tiff - test accordingly prior to Python <I>, the order of extensions returned is nondeterministic, at Python <I>+ ".tif" is always returned first. Until we drop Python <I> support, we need to account for all cases in our tests.
py
diff --git a/aba/generator.py b/aba/generator.py index <HASH>..<HASH> 100644 --- a/aba/generator.py +++ b/aba/generator.py @@ -23,7 +23,7 @@ class AbaFile(object): output = self.header.render_to_string() + line_ending for record in self.records: - if record.fields[4].value == '53': + ...
Cast TxnCode to int before comparing.
py
diff --git a/cherrypy/test/helper.py b/cherrypy/test/helper.py index <HASH>..<HASH> 100644 --- a/cherrypy/test/helper.py +++ b/cherrypy/test/helper.py @@ -238,8 +238,6 @@ def testmain(server=None, conf=None): def _test_main_thread(): cherrypy.server.wait() - from cherrypy import filters - filters.init() ...
Filters being init'ed twice in test suite.
py
diff --git a/securitycenter/sc4.py b/securitycenter/sc4.py index <HASH>..<HASH> 100644 --- a/securitycenter/sc4.py +++ b/securitycenter/sc4.py @@ -282,7 +282,7 @@ class SecurityCenter4(object): # Now it's time to make the connection and actually talk to SC. v = sys.version_info - if v.major =...
The version check has been fixed ;)
py
diff --git a/salt/roster/cloud.py b/salt/roster/cloud.py index <HASH>..<HASH> 100644 --- a/salt/roster/cloud.py +++ b/salt/roster/cloud.py @@ -20,6 +20,7 @@ usually located at /etc/salt/cloud. For example, add the following: # Import python libs from __future__ import absolute_import +import os # Import Salt lib...
cloud roster: Work with custom conf dir A path to the salt-cloud config file is hardcoded into the cloud roster, so it won't work with a custom conf dir. Remove the hardcoded path and construct it using __opts__['conf_file'].
py
diff --git a/kmapper/kmapper.py b/kmapper/kmapper.py index <HASH>..<HASH> 100644 --- a/kmapper/kmapper.py +++ b/kmapper/kmapper.py @@ -396,7 +396,7 @@ class KeplerMapper(object): # If no color_function provided we color by row order in data set n_samples = sum([len(v) for v in graph["nodes"].v...
Reshape color function array to 2d
py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8325,7 +8325,6 @@ Wild 185.0 result = result.iloc[0].rename(None) return result - data = self if numeric_only is ...
CLN: Remove unused assignment (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,6 @@ setup( install_requires=[ 'Flask>=0.8', 'simplekv', 'werkzeug', 'itsdangerous' ], - tests_require=tests_require, - test_suite='tests', classifiers=[ 'Development Status :: ...
Removed tests_require and test_suite from setup.py.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,8 +22,8 @@ setup( 'pytest-marks>=0.3', 'pytest-xdist', 'requests', - 'selenium>=2.32.0', - 'browsermo...
bumping the selenium and bmp dependencies
py
diff --git a/centinel/config.py b/centinel/config.py index <HASH>..<HASH> 100644 --- a/centinel/config.py +++ b/centinel/config.py @@ -145,4 +145,4 @@ class Configuration: """ with open(config_file, 'w') as f: json.dump(self.params, f, indent=2, - separators=(',', ': ...
added new line at the end of config.py
py
diff --git a/crabpy_pyramid/views/crab.py b/crabpy_pyramid/views/crab.py index <HASH>..<HASH> 100644 --- a/crabpy_pyramid/views/crab.py +++ b/crabpy_pyramid/views/crab.py @@ -43,7 +43,7 @@ def list_provincies(request): renderer='crab_itemjson', accept='application/json' ) def get_provincie(request): - Gateway...
corrected typo in view get_provincie refs #<I>
py
diff --git a/synapse/lib/storm.py b/synapse/lib/storm.py index <HASH>..<HASH> 100644 --- a/synapse/lib/storm.py +++ b/synapse/lib/storm.py @@ -46,8 +46,8 @@ class Cmd: self.pars = self.getArgParser() @classmethod - def getCmdBrief(clas): - return clas.__doc__.strip().split('\n')[0] + def ge...
Just like self is a choice, so is cls.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,8 @@ setup( ], long_description=open('README.txt').read(), install_requires=[ - "protobuf", + "protobuf", # TODO: Add version + "pyzmq", # TODO: Add version ], entry_p...
Adding dependency on 'pyzmq' Note that ZeroMQ needs to be compiled separately.
py
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index <HASH>..<HASH> 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -300,11 +300,8 @@ def _get_values( dtype, fill_value=fill_value, fill_value_typ=fill_value_typ ) - copy = (mask is not None) and (fill_value is not None) -...
TYP: remove assert mask is not None for mypy (#<I>)
py
diff --git a/fabulous/text.py b/fabulous/text.py index <HASH>..<HASH> 100644 --- a/fabulous/text.py +++ b/fabulous/text.py @@ -188,13 +188,21 @@ def get_font_files(): """ dirs = [os.path.join(os.path.dirname(__file__), 'fonts'), os.path.expanduser('~/.fonts')] - try: + + sys_dirs = [ ...
Guess at fonts for Fedora as well as Ubuntu.
py
diff --git a/docs/ext/djangodocs.py b/docs/ext/djangodocs.py index <HASH>..<HASH> 100644 --- a/docs/ext/djangodocs.py +++ b/docs/ext/djangodocs.py @@ -10,6 +10,7 @@ from docutils.parsers.rst import Directive, directives from sphinx import addnodes from sphinx.builders.html import StandaloneHTMLBuilder +from sphinx....
Fix some sphinx warnings
py
diff --git a/transformers/tests/tokenization_bert_test.py b/transformers/tests/tokenization_bert_test.py index <HASH>..<HASH> 100644 --- a/transformers/tests/tokenization_bert_test.py +++ b/transformers/tests/tokenization_bert_test.py @@ -109,7 +109,7 @@ class BertTokenizationTest(CommonTestCases.CommonTokenizerTester)...
better for python2.x
py
diff --git a/datascience/maps.py b/datascience/maps.py index <HASH>..<HASH> 100644 --- a/datascience/maps.py +++ b/datascience/maps.py @@ -315,7 +315,7 @@ class Map(MapEntity): else: raise ProgrammerError('Ended up with %s.' % type(coord)) - bound_check([point.location for point i...
fixed autocenter for geoJSON reads (MapPoints are not geo_formatted)
py
diff --git a/test/test_pooling_gevent.py b/test/test_pooling_gevent.py index <HASH>..<HASH> 100644 --- a/test/test_pooling_gevent.py +++ b/test/test_pooling_gevent.py @@ -37,11 +37,12 @@ class TestPoolingGeventSpecial(unittest.TestCase): # Check that Pool gives two sockets to two greenlets try: ...
Now that Pool(greenlet=True) requires Gevent, skip tests if Gevent not installed
py
diff --git a/insteonplm/plm.py b/insteonplm/plm.py index <HASH>..<HASH> 100644 --- a/insteonplm/plm.py +++ b/insteonplm/plm.py @@ -273,13 +273,14 @@ class PLM(asyncio.Protocol): # we can use that as the device type for this record # Otherwise we need to request the device ID. if d...
Fixed adding complex devices from ALDB data
py
diff --git a/sentry/helpers.py b/sentry/helpers.py index <HASH>..<HASH> 100644 --- a/sentry/helpers.py +++ b/sentry/helpers.py @@ -70,7 +70,7 @@ def transform(value): return dict((k, transform(v)) for k, v in value.iteritems()) elif isinstance(value, basestring): try: - unicode(value) ...
This seems to fix a bug where it was possible for some class, which is not available on the server side (in my particular case a suds SOAP text object), to be pickled and sent to the server. This caused a Bad data response due to an ImportError on the server.
py
diff --git a/rmsd/calculate_rmsd.py b/rmsd/calculate_rmsd.py index <HASH>..<HASH> 100644 --- a/rmsd/calculate_rmsd.py +++ b/rmsd/calculate_rmsd.py @@ -1717,6 +1717,7 @@ See https://github.com/charnley/rmsd for citation information ) ) parser.add_argument( + '-ur', '--use-reflections',...
fixed type bug, added type assert, added shorthand for reflexes (Thanks Benj)
py
diff --git a/cert_issuer/config.py b/cert_issuer/config.py index <HASH>..<HASH> 100644 --- a/cert_issuer/config.py +++ b/cert_issuer/config.py @@ -76,7 +76,7 @@ def add_arguments(p): help='The API token of the Etherscan broadcaster', env_var='ETHERSCAN_API_TOKEN') p.add_argument('--ethereum_rpc...
Fixup to the Ethereum RPC environment variable name.
py
diff --git a/shinken/notification.py b/shinken/notification.py index <HASH>..<HASH> 100644 --- a/shinken/notification.py +++ b/shinken/notification.py @@ -114,11 +114,14 @@ class Notification(Action): self.ref = ref # Set host_name and description from the ref - self.host_name = self.ref.host...
*Allow creation of a Notification object without a ref
py
diff --git a/TodoBase.py b/TodoBase.py index <HASH>..<HASH> 100644 --- a/TodoBase.py +++ b/TodoBase.py @@ -114,6 +114,14 @@ class TodoBase(object): """ Returns the todo text with tags stripped off. """ return self.text + def projects(self): + """ Returns a list of projects associated with ...
Add two accessors for projects and contexts.
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -42,17 +42,20 @@ intersphinx_mapping = {"python": ("https://docs.python.org/3", None)} on_saltstack = "SALT_ON_SALTSTACK" in os.environ project = "Salt" -repo_primary_branch = ( - "master" # This is the def...
Use the checkout major version as the latest release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( license='MIT', long_description=readme, name='python-cas', - packages=['.'], + py_modules=['cas'], url='https://github.com/python-cas/python-cas', download_url ='https://git...
Fix setup.py to declare cas.py as a module, not a package python-cas is a single module. It should be declared as such in setup.py. It is not a multi-file package. For details, see: <URL>
py
diff --git a/angr/analyses/cfg/cfg_base.py b/angr/analyses/cfg/cfg_base.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg/cfg_base.py +++ b/angr/analyses/cfg/cfg_base.py @@ -488,7 +488,7 @@ class CFGBase(Analysis): if stmt.tag == 'Ist_IMark': if it_counter > 0: it...
Bug fix in _arm_thumb_filter_jump_successors(). All THUMB mode addresses are odd in angr, so we should take stmt.delta into consideration. That part of code should not be working before this fix.
py
diff --git a/seqlearn/perceptron.py b/seqlearn/perceptron.py index <HASH>..<HASH> 100644 --- a/seqlearn/perceptron.py +++ b/seqlearn/perceptron.py @@ -79,8 +79,8 @@ class StructuredPerceptron(BaseSequenceClassifier): n_samples, n_features = X.shape n_classes = Y_true.shape[1] - start = np.cum...
COSMIT don't subtract then add again
py
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -284,20 +284,24 @@ class Cache(object): if branch in cache: branc = cache[branch] if turn in branc: - re...
Fix iteration over avatars in non-'trunk' branches
py
diff --git a/timeside/analyzer/core.py b/timeside/analyzer/core.py index <HASH>..<HASH> 100644 --- a/timeside/analyzer/core.py +++ b/timeside/analyzer/core.py @@ -555,7 +555,7 @@ class AnalyzerMetadata(MetadataObject): """ Object that contains the metadata and parameters of an analyzer process - Metadata...
Fix bug in AnalyzerResult : numpy.array type have to be considered but it is no more in numpy_data_type
py
diff --git a/src/radical/ensemblemd/patterns/all_pairs_pattern.py b/src/radical/ensemblemd/patterns/all_pairs_pattern.py index <HASH>..<HASH> 100644 --- a/src/radical/ensemblemd/patterns/all_pairs_pattern.py +++ b/src/radical/ensemblemd/patterns/all_pairs_pattern.py @@ -83,7 +83,7 @@ class AllPairsPattern(ExecutionPatt...
Update all_pairs_pattern.py Changed the names of the methods according to Ole's suggestions
py
diff --git a/pylleo/__init__.py b/pylleo/__init__.py index <HASH>..<HASH> 100644 --- a/pylleo/__init__.py +++ b/pylleo/__init__.py @@ -0,0 +1,2 @@ +from . import lleoio +from . import lleocal
added explicit imports to __init__.py
py
diff --git a/gtfspy/networks.py b/gtfspy/networks.py index <HASH>..<HASH> 100644 --- a/gtfspy/networks.py +++ b/gtfspy/networks.py @@ -37,7 +37,8 @@ def walk_transfer_stop_to_stop_network(gtfs): stop_distances = gtfs.get_table("stop_distances") if stop_distances["d_walk"][0] is None: use_euclidean = ...
Add a note to ignore a warning when running unit tests
py
diff --git a/salt/returners/local_cache.py b/salt/returners/local_cache.py index <HASH>..<HASH> 100644 --- a/salt/returners/local_cache.py +++ b/salt/returners/local_cache.py @@ -239,6 +239,7 @@ def save_minions(jid, minions, syndic_id=None): ''' Save/update the serialized list of minions for a given job ...
Py3 compat: Force minions to be a list for local serialized caches
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( packages=find_packages(), scripts=['scripts/wooify'], entry_points={'console_scripts': ['wooify = wooey.backend.command_line:bootstrap', ]}, - install_requires = ['Django>=1.6,<1.10', 'd...
upgrade clinto (#<I>)
py
diff --git a/gitlab/objects.py b/gitlab/objects.py index <HASH>..<HASH> 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1494,7 +1494,8 @@ class ProjectSnippet(GitlabObject): _constructorTypes = {'author': 'User'} requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['title', 'file_name', 'c...
Update ProjectSnippet attributes 'visibility_level' has been added as an optional attribute to keep compatibility with older releases of gitlab. Fixes #<I>
py
diff --git a/dvc/parsing/context.py b/dvc/parsing/context.py index <HASH>..<HASH> 100644 --- a/dvc/parsing/context.py +++ b/dvc/parsing/context.py @@ -355,6 +355,12 @@ class Context(CtxDict): loader = LOADERS[ext] data = loader(path, tree=tree) + if not isinstance(data, Mapping): + ...
Prevent loading non-dict vars (#<I>)
py
diff --git a/python_experiments/condor.py b/python_experiments/condor.py index <HASH>..<HASH> 100644 --- a/python_experiments/condor.py +++ b/python_experiments/condor.py @@ -41,6 +41,7 @@ import types import os import sys import stat +import inspect out_dir = os.getcwd() + '/jobs/' if not os.path.exists(out_dir...
Trying out a different technique for transferring functions...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,12 +21,17 @@ setup( py_modules=['wsgi_liveserver'], platforms='any', classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Environment :: ...
Update classifiers Indicate that Python 3 is now supported, people seem to be using it without problems so we can probably declare it as stable.
py
diff --git a/bugzoo/build.py b/bugzoo/build.py index <HASH>..<HASH> 100644 --- a/bugzoo/build.py +++ b/bugzoo/build.py @@ -1,4 +1,5 @@ import docker +import warnings import yaml import os import shutil @@ -37,7 +38,7 @@ class BuildInstructions(object): """ if 'docker' in yml: yml = ym...
added deprecation warnings to old specification formats and renamed 'build-arguments' to 'arguments' (implements #<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def read(fname): setuptools.setup( name='steamfiles', - version='0.1.1', + version='0.1.2', url='https://github.com/leovp/steamfiles', license='MIT', @@ -50,5 +50,6 @@ setuptools.setup(...
Add Python <I> to setup.py; up the version to <I>!
py
diff --git a/buildbot/process/builder.py b/buildbot/process/builder.py index <HASH>..<HASH> 100644 --- a/buildbot/process/builder.py +++ b/buildbot/process/builder.py @@ -16,7 +16,8 @@ from buildbot.process import base PINGING, # build about to start, making sure it is still alive BUILDING, # build is running LAT...
Added substantiating state for Latent slaves. The problem is that a booting EC2/Latent instance could be chosen more than once since its state while booting is still latent
py
diff --git a/scripts/nightly-test/full_test_driver.py b/scripts/nightly-test/full_test_driver.py index <HASH>..<HASH> 100755 --- a/scripts/nightly-test/full_test_driver.py +++ b/scripts/nightly-test/full_test_driver.py @@ -245,7 +245,7 @@ tar --extract --gzip --touch --file=rethinkdb.tar.gz -- rethinkdb inputs...
Include all versions of RethinkDB that corruption test needs.
py
diff --git a/yabt/target_utils_test.py b/yabt/target_utils_test.py index <HASH>..<HASH> 100644 --- a/yabt/target_utils_test.py +++ b/yabt/target_utils_test.py @@ -93,7 +93,7 @@ def test_norm_name_unqualified_error(): 'possible ambiguity' in str(excinfo.value)) -_HELLO_PROG_HASH = '0e049ee8ed31c61603307...
Updating the hash. I'm not sure why it changed. I'm guessing that since the proto builder signature have chnage (but why didn't the proto traget hash changed?)
py
diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py b/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py index <HASH>..<HASH> 100644 --- a/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py +++ b/contrib/go/src/python/pants/contrib/go/subsystems/go_distr...
Upgrade the default go to <I>. Testing Done: Locally ran `./pants test contrib/go/::`. CI went green here: <URL>
py
diff --git a/identifier/runner.py b/identifier/runner.py index <HASH>..<HASH> 100644 --- a/identifier/runner.py +++ b/identifier/runner.py @@ -62,8 +62,12 @@ class Runner(object): pg = self.project.factory.path_group(entry_state) num_steps = 0 - while len(pg.active) > 0 and (pg.on...
Change the way how syscalls are checked.
py
diff --git a/tests/filters/filters_test.py b/tests/filters/filters_test.py index <HASH>..<HASH> 100644 --- a/tests/filters/filters_test.py +++ b/tests/filters/filters_test.py @@ -46,6 +46,12 @@ def test_getFilterClass(): with _TempModule("myfilters") as temp_pkg, \ _TempModule("myfilters.fooBar") as t...
[filters_test] also test for AttribueError raised when a filter module does not contain a class named <ModuleName>Filter
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.11.0' \ No newline at end of file +__version__ = '2.12.0' \ No...
release(<I>): adds retry to SQS except for http 4xx errors
py
diff --git a/trepan/version.py b/trepan/version.py index <HASH>..<HASH> 100644 --- a/trepan/version.py +++ b/trepan/version.py @@ -4,4 +4,5 @@ # This file should define a variable __version__ which we use as the # debugger version number. -__version__="1.2.5" # noqa +# fmt: off +__version__="1.2.6.dev0" # noqa
Black shoudn't format version.py
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -245,19 +245,19 @@ class TelegramClient(TelegramBareClient): """ # This is only valid when the read thread is reconnecting, ...
Fix MainThread would lock when reconnecting This is because it was thinking that the ReadThread would be ready to read the result, but actually, this thread is also locked trying to reconnect at the same time
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,10 @@ setup( 'License :: OSI Approved', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programming Language :: Python :: 2', 'Programming Languag...
Adding missing python versions in setup.py
py
diff --git a/api/admin.py b/api/admin.py index <HASH>..<HASH> 100644 --- a/api/admin.py +++ b/api/admin.py @@ -54,7 +54,7 @@ class ContainerAdmin(admin.ModelAdmin): """ date_hierarchy = 'created' list_display = ('short_name', 'owner', 'app', 'state') - list_filter = ('owner', 'app', 'state') + list...
fix(controller): state property cant be used in a list_filter
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -1499,9 +1499,9 @@ class Board(object): # Extra assertion to catch legacy castling moves. if move.from_square == E1 and (move.to_square == G1 or move.to_square == C1): - ...
Do not assert strict legality in Board.push()
py
diff --git a/tests/test_validation.py b/tests/test_validation.py index <HASH>..<HASH> 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -42,16 +42,16 @@ def make_opts(*args, **kwargs): def test_hocr_notlatin_warning(caplog): - # Bypass the test to see if the language is installed; we just ...
tests: fix test_validation when chi_sim not installed
py
diff --git a/satpy/composites/ahi.py b/satpy/composites/ahi.py index <HASH>..<HASH> 100644 --- a/satpy/composites/ahi.py +++ b/satpy/composites/ahi.py @@ -58,7 +58,7 @@ class Reducer2(CompositeBase): def __call__(self, projectables, optional_datasets=None, **info): (band,) = projectables - factor...
Restore reducers to their original values
py
diff --git a/pybar/analysis/analysis_utils.py b/pybar/analysis/analysis_utils.py index <HASH>..<HASH> 100644 --- a/pybar/analysis/analysis_utils.py +++ b/pybar/analysis/analysis_utils.py @@ -1365,7 +1365,7 @@ def data_aligned_at_events(table, start_event_number=None, stop_event_number=Non stop_index = ...
BUG: small tables were not read at once like intended
py
diff --git a/gui.py b/gui.py index <HASH>..<HASH> 100644 --- a/gui.py +++ b/gui.py @@ -355,3 +355,12 @@ class itemTable(widget): super(itemTable,self).__init__(-1,-1) self.type = "td" self.attributes['class'] = "itemTable" + +#object widget - allows to show embedded object like pdf,swf.. +class objectWidget(...
Update gui.py Added objectWidget - allows to show embedded object like pdf,swf..
py
diff --git a/shoebot/core/nodebox.py b/shoebot/core/nodebox.py index <HASH>..<HASH> 100644 --- a/shoebot/core/nodebox.py +++ b/shoebot/core/nodebox.py @@ -377,7 +377,7 @@ class NodeBot(Bot): def endclip(self): p = self.EndClip() - def transform(self, mode): + def transform(self, mode = None): ...
Transform can take None if you want to return the current mode
py
diff --git a/discord/role.py b/discord/role.py index <HASH>..<HASH> 100644 --- a/discord/role.py +++ b/discord/role.py @@ -50,6 +50,7 @@ class Role(object): """ def __init__(self, **kwargs): + self._is_everyone = kwargs.get('everyone', False) self.update(**kwargs) def update(self, **k...
Fix bug where Role.is_everyone doesn't propagate in GUILD_ROLE_UPDATE.
py
diff --git a/usb1.py b/usb1.py index <HASH>..<HASH> 100644 --- a/usb1.py +++ b/usb1.py @@ -819,7 +819,7 @@ class LibUSBContext(object): Provides methods to enumerate & look up USB devices. Also provides access to global (device-independent) libusb1 functions. """ - + __libusb_exit = libusb1.libusb_exi...
Make LibUSBContext keep a reference to libusb_exit. For better garbage-collection order at interpreter exit.
py
diff --git a/spyderlib/widgets/shell.py b/spyderlib/widgets/shell.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/shell.py +++ b/spyderlib/widgets/shell.py @@ -734,7 +734,7 @@ class PythonShellWidget(ShellBaseWidget): tip=_("Clear line"), ...
Changed "Clear shell" shortcut to "Ctrl+L" to avoid conflict with the Windows Task Manager shortcut on Windows platforms See this thread and Issue <I>: <URL>
py
diff --git a/test_recovery.py b/test_recovery.py index <HASH>..<HASH> 100755 --- a/test_recovery.py +++ b/test_recovery.py @@ -146,7 +146,7 @@ def restore_missing_state_server(env, backup_file): if proc.returncode != 0: raise Exception("Restore failed: \n%s" % err) print_now(output) - env.wait_for...
Extend timeout waiting for sttus after restore.
py
diff --git a/arangodb/api.py b/arangodb/api.py index <HASH>..<HASH> 100644 --- a/arangodb/api.py +++ b/arangodb/api.py @@ -454,10 +454,7 @@ class Edge(Document): 'to': to_doc.id, } - try: - data = api.edge.post(data=edge_data, **parameters) - except Exception as err: - ...
Remove exception handling since it never really handle it
py
diff --git a/lib/svtplay_dl/__init__.py b/lib/svtplay_dl/__init__.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/__init__.py +++ b/lib/svtplay_dl/__init__.py @@ -181,6 +181,8 @@ def get_media(url, options): if options.silent_semi: options.silent = True + if options.verbose: + log.error("v...
get_media: print version number every time we use verbose Instead of only printing the version number when we crash. print it every time we use verbose.
py
diff --git a/nupic/frameworks/opf/metrics.py b/nupic/frameworks/opf/metrics.py index <HASH>..<HASH> 100644 --- a/nupic/frameworks/opf/metrics.py +++ b/nupic/frameworks/opf/metrics.py @@ -1462,9 +1462,9 @@ class MetricMulti(MetricsIface): err = 0.0 subResults = [m.addInstance(groundTruth, prediction, record) f...
refactor submetrics computation handling None
py
diff --git a/bids/layout/tests/test_path_building.py b/bids/layout/tests/test_path_building.py index <HASH>..<HASH> 100644 --- a/bids/layout/tests/test_path_building.py +++ b/bids/layout/tests/test_path_building.py @@ -9,6 +9,7 @@ def layout(): data_dir = join(get_test_data_path(), '7t_trt') return BIDSLayout...
temporarily disable path-building tests until functionality is added back in
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,8 @@ setup( # tomlkit used to be pinned to 0.7.0 # See https://github.com/relekang/python-semantic-release/issues/336 # and https://github.com/relekang/python-semantic-release/pull/337 - ...
chore(dependencies): pin tomlkit major version only (#<I>) Resolve #<I>
py
diff --git a/indra/tests/test_pubmed_client.py b/indra/tests/test_pubmed_client.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_pubmed_client.py +++ b/indra/tests/test_pubmed_client.py @@ -44,6 +44,13 @@ def test_get_id_mesh(): @attr('webservice') +def test_get_id_mesh_supc(): + time.sleep(0.5) + ids =...
Add test for getting pmids for supplementary concept
py
diff --git a/cookies.py b/cookies.py index <HASH>..<HASH> 100644 --- a/cookies.py +++ b/cookies.py @@ -123,8 +123,13 @@ class cookie( object ): self.__parameters['path'] = path def __str__( self ): - parameters = '; '.join( map( '='.join, [ ( self.__name, self.__value ) ] + self.__parameters.items() ) ) - ...
Added better display of cookie objects.
py
diff --git a/exa/core/tests/test_data.py b/exa/core/tests/test_data.py index <HASH>..<HASH> 100644 --- a/exa/core/tests/test_data.py +++ b/exa/core/tests/test_data.py @@ -139,7 +139,7 @@ class TestDataFrame(_Tester): index = pd.MultiIndex.from_product([[0, 1], ["green", "purple"]]) s = FooFrame1([0, ...
Test updated for py2 compat- order of operations differs in py2 v py3 versions of pandas/exa
py
diff --git a/src/livestreamer/stream/hls.py b/src/livestreamer/stream/hls.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/stream/hls.py +++ b/src/livestreamer/stream/hls.py @@ -261,12 +261,6 @@ class HLSStreamIO(io.IOBase): self.sequence = edge_sequence.num else: sel...
stream.hls: Remove sequence wrap around handler. This caused issues with playlists that never removes segments and was probably not needed anyway. Fixes #<I>.
py
diff --git a/exponent_server_sdk/__init__.py b/exponent_server_sdk/__init__.py index <HASH>..<HASH> 100644 --- a/exponent_server_sdk/__init__.py +++ b/exponent_server_sdk/__init__.py @@ -1,8 +1,7 @@ -__version__ = '0.1.0' +__version__ = '0.1.1' from collections import namedtuple import json -import requests cl...
Delay import to be compatible with CI Currently, if you freeze requirements and attempt to install from scratch, you get this error: Closes exponent/exponent-server-sdk-python#3 fbshipit-source-id: e<I>f3a6
py
diff --git a/glances/glances.py b/glances/glances.py index <HASH>..<HASH> 100755 --- a/glances/glances.py +++ b/glances/glances.py @@ -728,12 +728,12 @@ class GlancesStats: phymem = psutil.virtual_memory() # buffers and cached (Linux, BSD) - buffers = getattr(phymem, 'buffers', la...
glances: fix crasher you need to call the function otherwise you will try running float() on a function later when you try displaying it Introduced in eda1cf5ba<I>ed<I>b<I>b<I>db2ca<I>
py
diff --git a/src/crate/client/sqlalchemy/dialect.py b/src/crate/client/sqlalchemy/dialect.py index <HASH>..<HASH> 100644 --- a/src/crate/client/sqlalchemy/dialect.py +++ b/src/crate/client/sqlalchemy/dialect.py @@ -238,6 +238,15 @@ class CrateDialect(default.DefaultDialect): return [row[0] for row in cursor.fe...
SA<I>: Add `get_view_names` method to SQLAlchemy dialect
py
diff --git a/testapp/testapp/testmain/tests/test_taxpayer.py b/testapp/testapp/testmain/tests/test_taxpayer.py index <HASH>..<HASH> 100644 --- a/testapp/testapp/testmain/tests/test_taxpayer.py +++ b/testapp/testapp/testmain/tests/test_taxpayer.py @@ -87,6 +87,13 @@ def test_null_certificate_object(): def test_expi...
Add test for corner case in cert expiration
py
diff --git a/tests/commands/test_import_mappings.py b/tests/commands/test_import_mappings.py index <HASH>..<HASH> 100644 --- a/tests/commands/test_import_mappings.py +++ b/tests/commands/test_import_mappings.py @@ -83,7 +83,10 @@ class TestImportMapping: ) with io.StringIO() as stdout: wi...
Don't `time.sleep(<I>)` in test_import_mappings (#<I>)
py
diff --git a/test/test-works.py b/test/test-works.py index <HASH>..<HASH> 100644 --- a/test/test-works.py +++ b/test/test-works.py @@ -25,11 +25,11 @@ def test_works_with_many_ids(): assert 'work' == [ x['message-type'] for x in res ][0] assert dois[0] == res[0]['message']['DOI'] -def test_works_doesnt_allo...
comment out test for now, cant sort out why not passing on travis is passing locally
py