diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/homely/install.py b/homely/install.py index <HASH>..<HASH> 100644 --- a/homely/install.py +++ b/homely/install.py @@ -129,7 +129,6 @@ class InstallFromSource(Helper): if self._tag: factname = '{}:compilation:{}:{}'.format( self.__class__.__name__, - ...
homely.install: fix factname for recording when something is compiled
py
diff --git a/cassandra/cluster.py b/cassandra/cluster.py index <HASH>..<HASH> 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -1154,6 +1154,13 @@ class Cluster(object): try: self.control_connection.connect() + + # we set all contact points up fo...
unset Host.is_up for optimistically set contact points
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ from setuptools import setup, find_packages -version = open('pyswagger/__init__', 'r').readline().split()[2] +version = open('pyswagger/__init__.py', 'r').readline().split()[2].strip("'") +print version setu...
Fix release fail The version string parsed from __init__.py is "'<I>'", oops
py
diff --git a/tests/test_wallet.py b/tests/test_wallet.py index <HASH>..<HASH> 100644 --- a/tests/test_wallet.py +++ b/tests/test_wallet.py @@ -118,3 +118,11 @@ class TestRandomSecret(TestCase): self.assertNotEqual(result1, _random_wallet_secret()) random.seed(1234567) self.assertEqual(result1...
Include doctests in the test suite
py
diff --git a/pysd/py_backend/functions.py b/pysd/py_backend/functions.py index <HASH>..<HASH> 100644 --- a/pysd/py_backend/functions.py +++ b/pysd/py_backend/functions.py @@ -19,6 +19,7 @@ import warnings import random import xarray as xr from funcsigs import signature +import os try: import scipy.stats as s...
Fix issue with warning on module referencing when loading the model python file.
py
diff --git a/mwcites/extractors/doi.py b/mwcites/extractors/doi.py index <HASH>..<HASH> 100644 --- a/mwcites/extractors/doi.py +++ b/mwcites/extractors/doi.py @@ -8,7 +8,7 @@ TAGS_RE = re.compile(r'</?\s*(ref|span|div|table|h[1-6]|b|ins|del)\b[^>\n\r]*>', def extract(text): for match in DOI_RE.finditer(text): -...
Removes '.' from the end of DOIs
py
diff --git a/src/debianbts.py b/src/debianbts.py index <HASH>..<HASH> 100644 --- a/src/debianbts.py +++ b/src/debianbts.py @@ -27,18 +27,32 @@ which represents a bugreport from the BTS. from datetime import datetime +import urllib +import urlparse import SOAPpy # Setup the soap server -# TODO: recognize HT...
Add support for HTTP proxies. SOAPpy does some low-level HTTP request manipulation and needs to be explicitly aware of HTTP proxies, which also have to be formatted for its consumption (without a schema or path). Closes Debian bug #<I> (and its duplicates).
py
diff --git a/ryu/ofproto/ofproto_v1_5_parser.py b/ryu/ofproto/ofproto_v1_5_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_5_parser.py +++ b/ryu/ofproto/ofproto_v1_5_parser.py @@ -2814,7 +2814,6 @@ class OFPGroupDescStats(StringifyMixin): self.length = length self.type = type_ ...
ofproto_v1_5: Reduce an unnecessary code
py
diff --git a/salt/modules/gem.py b/salt/modules/gem.py index <HASH>..<HASH> 100644 --- a/salt/modules/gem.py +++ b/salt/modules/gem.py @@ -13,7 +13,7 @@ def _gem(command, ruby=None, runas=None): ret = __salt__['cmd.run_all']( cmdline, - runas=runas or __salt__['config.option']('rvm.runas') + ...
remove illogical broken code maybe an artifact from testing?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -89,7 +89,6 @@ install_requires = [ "typing_extensions>=3.7.4", "fsspec>=0.8.5", "diskcache>=5.2.1", - "google-cloud-storage==1.19.0", ] @@ -155,6 +154,7 @@ tests_requirements = [ "mypy", "wsgi...
setup: move google-cloud-storage to test requirements (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -148,6 +148,6 @@ setup( ('data/streamcorpus-pipeline', ['data/john-smith/john-smith-tagged-by-lingpipe-serif-0-197.sc.xz']), ] + recursive_glob_with_tree('data/streamcorpus-pipeline', 'data', 'john-smith/original...
adding package data back in so that streamcorpus_pipeline_test passes better
py
diff --git a/hydra_base/db/__init__.py b/hydra_base/db/__init__.py index <HASH>..<HASH> 100644 --- a/hydra_base/db/__init__.py +++ b/hydra_base/db/__init__.py @@ -57,8 +57,10 @@ def create_mysql_db(db_url): #Remove trailing whitespace and forwardslashes db_url = db_url.strip().strip('/') + #Check this ...
Reinstate the charset string but only for mysql DBs
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -71,7 +71,7 @@ if on_rtd: def setup(app): app.connect("autodoc-skip-member", skip) - sys.path.insert(0, PROJECT_ROOT_DIR) + sys.path.append(PROJECT_ROOT_DIR) els...
docs: more trial and error on rtd [skip ci]
py
diff --git a/hydra_base/lib/attributes.py b/hydra_base/lib/attributes.py index <HASH>..<HASH> 100644 --- a/hydra_base/lib/attributes.py +++ b/hydra_base/lib/attributes.py @@ -1289,6 +1289,8 @@ def delete_duplicate_attributes(dupe_list): db.DBSession.flush() + return keeper + def remap_attribute_reference(o...
Return keeper attribute when remapping attributes so clients can access the ID of the kept attribute
py
diff --git a/mbuild/coarse_graining.py b/mbuild/coarse_graining.py index <HASH>..<HASH> 100755 --- a/mbuild/coarse_graining.py +++ b/mbuild/coarse_graining.py @@ -29,7 +29,7 @@ class Proxy(Compound): if compound.name == 'G': name = 'G' else: - name = compound.name + ' (proxy) '...
Change how we label proxies in their compound names
py
diff --git a/pybars/_compiler.py b/pybars/_compiler.py index <HASH>..<HASH> 100644 --- a/pybars/_compiler.py +++ b/pybars/_compiler.py @@ -441,6 +441,14 @@ class CodeBuilder: self._locals['resolve_subexpr'] = resolve_subexpr def finish(self): + if debug: + print('Locals') + ...
Add locals output to debug since literal content is stored in vars
py
diff --git a/src/python/bezier/curve.py b/src/python/bezier/curve.py index <HASH>..<HASH> 100644 --- a/src/python/bezier/curve.py +++ b/src/python/bezier/curve.py @@ -766,7 +766,7 @@ class Curve(_base.Base): return b_polynomial def implicitize(self): - r"""Implicitize the curve . + r"""Imp...
Removing errant space before period in docstring.
py
diff --git a/airflow/providers/amazon/aws/transfers/mysql_to_s3.py b/airflow/providers/amazon/aws/transfers/mysql_to_s3.py index <HASH>..<HASH> 100644 --- a/airflow/providers/amazon/aws/transfers/mysql_to_s3.py +++ b/airflow/providers/amazon/aws/transfers/mysql_to_s3.py @@ -170,7 +170,10 @@ class MySQLToS3Operator(Base...
MySQLToS3Operator actually allow writing parquet files to s3. (#<I>) * Update mysql_to_s3.py * Actually fix it
py
diff --git a/tests/test_rtdc_fmt_dcor_access_token.py b/tests/test_rtdc_fmt_dcor_access_token.py index <HASH>..<HASH> 100644 --- a/tests/test_rtdc_fmt_dcor_access_token.py +++ b/tests/test_rtdc_fmt_dcor_access_token.py @@ -1,5 +1,7 @@ import pathlib +import pytest + from dclab.rtdc_dataset import fmt_dcor from dcl...
tests: feeling confident about feeling very confident about <URL>
py
diff --git a/hendrix/experience/hey_joe.py b/hendrix/experience/hey_joe.py index <HASH>..<HASH> 100644 --- a/hendrix/experience/hey_joe.py +++ b/hendrix/experience/hey_joe.py @@ -36,7 +36,7 @@ class _ParticipantRegistry(object): recipients = self._participants_by_topic[topic] payload_with_topic = ...
Fixed bug where log wasn't formatted properly.
py
diff --git a/src/Exscriptd/RestDaemon.py b/src/Exscriptd/RestDaemon.py index <HASH>..<HASH> 100644 --- a/src/Exscriptd/RestDaemon.py +++ b/src/Exscriptd/RestDaemon.py @@ -97,6 +97,7 @@ class RestDaemon(Daemon): address = self.address + ':' + str(self.port) self.logger.info('REST daemon "' + self.name ...
exscriptd: add some stdout output indicating that the server is up.
py
diff --git a/parsl/providers/error.py b/parsl/providers/error.py index <HASH>..<HASH> 100644 --- a/parsl/providers/error.py +++ b/parsl/providers/error.py @@ -21,7 +21,7 @@ class ChannelRequired(ExecutionProviderException): class ScaleOutFailed(ExecutionProviderException): - ''' Generic catch. Scale out failed ...
Fix summary sentence of ScaleOutException (#<I>) Only the first sentence appears in table of contents, and the old first sentence was inappropriate for that.
py
diff --git a/kafka/admin/client.py b/kafka/admin/client.py index <HASH>..<HASH> 100644 --- a/kafka/admin/client.py +++ b/kafka/admin/client.py @@ -91,7 +91,8 @@ class KafkaAdminClient(object): partition leadership changes to proactively discover any new brokers or partitions. Default: 300000 ...
Update KafkaAdminClient Docs Updated to include SASL_PLAINTEXT and SASL_SSL as options for security_protocol.
py
diff --git a/pybromo/diffusion.py b/pybromo/diffusion.py index <HASH>..<HASH> 100644 --- a/pybromo/diffusion.py +++ b/pybromo/diffusion.py @@ -782,6 +782,7 @@ class ParticlesSimulation(object): self._timestamps.attrs['init_random_state'] = rs.get_state() self._timestamps.attrs['PyBroMo'] = __version__...
Save timestamps only at the end to ease disk activity
py
diff --git a/src/foremast/runner.py b/src/foremast/runner.py index <HASH>..<HASH> 100755 --- a/src/foremast/runner.py +++ b/src/foremast/runner.py @@ -250,8 +250,8 @@ def rebuild_pipelines(*args): if args: LOG.debug('Incoming arguments: %s', args) command_args, *_ = args - rebuild_all = co...
fix: Update to use CliArgs namedtuple
py
diff --git a/bookstore/utils.py b/bookstore/utils.py index <HASH>..<HASH> 100644 --- a/bookstore/utils.py +++ b/bookstore/utils.py @@ -1 +1,16 @@ -from notebook.utils import url_path_join +def url_path_join(*pieces): + """Join components of url into a relative url + Use to prevent double slash when joining subpat...
Add real url_path_join code from notebook to local utils module Code obtained from from <URL>
py
diff --git a/qnet/algebra/abstract_algebra.py b/qnet/algebra/abstract_algebra.py index <HASH>..<HASH> 100755 --- a/qnet/algebra/abstract_algebra.py +++ b/qnet/algebra/abstract_algebra.py @@ -168,17 +168,18 @@ class Expression(metaclass=ABCMeta): """Substitute all_symbols for other expressions. Args:...
Do substitution also in kwargs of Expression
py
diff --git a/indra/config.py b/indra/config.py index <HASH>..<HASH> 100644 --- a/indra/config.py +++ b/indra/config.py @@ -16,7 +16,7 @@ default_config_path = os.path.join(os.path.dirname(__file__), 'resources/default_config.ini') if not os.path.isfile(config_path): try: - ...
Fix os make config folder path
py
diff --git a/python/ray/tune/trial.py b/python/ray/tune/trial.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/trial.py +++ b/python/ray/tune/trial.py @@ -1,17 +1,18 @@ -from typing import Callable, Dict, Sequence, Union -import json - -import ray -import ray.cloudpickle as cloudpickle from collections import dequ...
[Tune] Sanitize trial checkpoint filename. (#<I>)
py
diff --git a/tests/integration_test.py b/tests/integration_test.py index <HASH>..<HASH> 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -28,6 +28,8 @@ import six # FIXME: missing tests for # export; history; import_image; insert; port; push; tag; get; load +DEFAULT_BASE_URL = os.environ.ge...
allow docker client to connect to a remote host to run the tests on a host without using the default unix socket, it's now possible to specify: DOCKER_HOST=tcp://localdocker:<I> env/bin/python setup.py test
py
diff --git a/synapse/tests/test_lib_persist.py b/synapse/tests/test_lib_persist.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_lib_persist.py +++ b/synapse/tests/test_lib_persist.py @@ -157,3 +157,37 @@ class PersistTest(SynTest): self.true(wait.is_set()) pdir.fini() + + def test...
Add a bad unicode test to the persist tests
py
diff --git a/scripts/setup.py b/scripts/setup.py index <HASH>..<HASH> 100644 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -11,7 +11,7 @@ requirements = [ setup( name='singularity-logfetch', - version='0.23.0', + version='0.24.0', description='Singularity log fetching and searching', author="...
bump logfetch version to <I>
py
diff --git a/tests/test_new.py b/tests/test_new.py index <HASH>..<HASH> 100644 --- a/tests/test_new.py +++ b/tests/test_new.py @@ -2677,7 +2677,7 @@ def test_new_transaction_onefileonedir(tmpdir): iso.close() -def test_new_add_fp_not_initialized(tmpdir): +def test_new_end_transaction_not_initialized(tmpdir): ...
Rename a test to be correct.
py
diff --git a/templates/genomics/steps/sequence_set.py b/templates/genomics/steps/sequence_set.py index <HASH>..<HASH> 100644 --- a/templates/genomics/steps/sequence_set.py +++ b/templates/genomics/steps/sequence_set.py @@ -24,7 +24,7 @@ class GetDownstream1000(Step): self.fasta_set = FastaInOrderAccess...
fixed early stopping bug in get downstream <I>
py
diff --git a/cassandra/policies.py b/cassandra/policies.py index <HASH>..<HASH> 100644 --- a/cassandra/policies.py +++ b/cassandra/policies.py @@ -40,8 +40,11 @@ class RoundRobinPolicy(LoadBalancingPolicy): self._position += 1 length = len(self._live_hosts) - pos %= length - return...
Avoid divide-by-zero when all hosts are down
py
diff --git a/holoviews/plotting/bokeh/callbacks.py b/holoviews/plotting/bokeh/callbacks.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/callbacks.py +++ b/holoviews/plotting/bokeh/callbacks.py @@ -131,6 +131,8 @@ class Callback(object): function trigger() {{ if (comm_state.event !=...
Use correct comm when callback is triggered
py
diff --git a/forms_builder/forms/forms.py b/forms_builder/forms/forms.py index <HASH>..<HASH> 100644 --- a/forms_builder/forms/forms.py +++ b/forms_builder/forms/forms.py @@ -55,7 +55,7 @@ FILTER_FUNCS = { FILTER_CHOICE_DOESNT_EQUAL: lambda val, field: val.lower() != field.lower(), FILTER_CHOICE_BETW...
Fix a problem with the construction for initial fields for "multi-fields" if the field is SELECT_MULTIPLE or CHECKBOX_MULTIPLE the initial values should be split and striped in order to match. Django only allows lists for this widgets. PEP8 format: 2 lines cleaned
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-rest-passwordreset', - version='1.0.0alpha3', + version='1.0.0', packages=find_packages(), ...
Releasing version <I>
py
diff --git a/pyrtl/simulation.py b/pyrtl/simulation.py index <HASH>..<HASH> 100644 --- a/pyrtl/simulation.py +++ b/pyrtl/simulation.py @@ -227,7 +227,12 @@ class Simulation(object): def _is_ready_to_execute(self, defined_set, net): """Return true if all of the arguments are ready""" - return all(...
temporary bug fix to "Bug with multiple memory ports"
py
diff --git a/axes/tests/settings.py b/axes/tests/settings.py index <HASH>..<HASH> 100644 --- a/axes/tests/settings.py +++ b/axes/tests/settings.py @@ -72,3 +72,5 @@ USE_TZ = False LOGIN_REDIRECT_URL = "/admin/" AXES_FAILURE_LIMIT = 10 + +DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
Add DEFAULT_AUTO_FIELD to test settings.
py
diff --git a/zxbpp.py b/zxbpp.py index <HASH>..<HASH> 100755 --- a/zxbpp.py +++ b/zxbpp.py @@ -567,6 +567,13 @@ def p_argstring_token(p): p[0].addToken(p[2]) +def p_argstring_argstring(p): + ''' argstring : argstring LLP arglist RRP + ''' + p[0] = p[1] + p[0].addToken(p[3]) + + # --- YYERROR de...
Fixed a missing grammar rule in the preprocessor (thanks to LTee)
py
diff --git a/google/auth/jwt.py b/google/auth/jwt.py index <HASH>..<HASH> 100644 --- a/google/auth/jwt.py +++ b/google/auth/jwt.py @@ -21,7 +21,7 @@ See `rfc7519`_ for more details on JWTs. To encode a JWT use :func:`encode`:: - from google.auth import crypto + from google.auth import crypt from google....
Fix typo on exemple of jwt usage (#<I>)
py
diff --git a/tests/test_trust_notebook.py b/tests/test_trust_notebook.py index <HASH>..<HASH> 100644 --- a/tests/test_trust_notebook.py +++ b/tests/test_trust_notebook.py @@ -2,6 +2,7 @@ import os import shutil import pytest from jupytext.contentsmanager import TextFileContentsManager +from jupytext.compare import c...
Use compare_notebooks to compare notebooks
py
diff --git a/intake/cli/server/server.py b/intake/cli/server/server.py index <HASH>..<HASH> 100644 --- a/intake/cli/server/server.py +++ b/intake/cli/server/server.py @@ -207,8 +207,22 @@ class ServerSourceHandler(tornado.web.RequestHandler): if self.auth.allow_access(head, source, self._catalog): ...
Don't attempt to serialise functions in server response
py
diff --git a/tensorforce/models/random_model.py b/tensorforce/models/random_model.py index <HASH>..<HASH> 100644 --- a/tensorforce/models/random_model.py +++ b/tensorforce/models/random_model.py @@ -37,8 +37,8 @@ class RandomModel(Model): actions[name] = (tf.random_uniform(shape=shape) < 0.5) ...
Fix variable override in random model.
py
diff --git a/tests/auto_generators/make_VMTests.py b/tests/auto_generators/make_VMTests.py index <HASH>..<HASH> 100644 --- a/tests/auto_generators/make_VMTests.py +++ b/tests/auto_generators/make_VMTests.py @@ -11,10 +11,10 @@ git clone https://github.com/ethereum/tests --depth=1 for i in ./tests/VMTests/*; do python ...
Update make_VMTests.py (#<I>)
py
diff --git a/hamster/applet.py b/hamster/applet.py index <HASH>..<HASH> 100755 --- a/hamster/applet.py +++ b/hamster/applet.py @@ -223,6 +223,12 @@ class HamsterApplet(object): dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) name = dbus.service.BusName(HAMSTER_URI, dbus.SessionBus()) ...
partial fix to all the idle mess - refresh right after computer comes back from idle (like after a sleep session or a whole-night-screensaver watching event) fixes bug <I> svn path=/trunk/; revision=<I>
py
diff --git a/satpy/scene.py b/satpy/scene.py index <HASH>..<HASH> 100644 --- a/satpy/scene.py +++ b/satpy/scene.py @@ -660,7 +660,10 @@ class Scene(MetadataObject): if boundary != 'exact': raise NotImplementedError("boundary modes appart from 'exact' are not implemented yet.") ...
scene.aggregate will now handle a SwathDefinition
py
diff --git a/src/toil/job.py b/src/toil/job.py index <HASH>..<HASH> 100644 --- a/src/toil/job.py +++ b/src/toil/job.py @@ -59,8 +59,8 @@ class Job(object): require to run. Cores is the number of CPU cores required. """ self.cores = cores - self.memory = human2bytes(str(memory)) if memo...
Throw exception if empty string is passed as a resource
py
diff --git a/superset/views/sql_lab.py b/superset/views/sql_lab.py index <HASH>..<HASH> 100644 --- a/superset/views/sql_lab.py +++ b/superset/views/sql_lab.py @@ -14,6 +14,8 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +...
depreciated api endpoint (#<I>)
py
diff --git a/event/event.py b/event/event.py index <HASH>..<HASH> 100644 --- a/event/event.py +++ b/event/event.py @@ -88,7 +88,11 @@ class Event(object): for c in cls.__bases__: if issubclass(c, Event): if c is Event: - return cls.__name__ + ...
Include module name in event typename to avoid conflict
py
diff --git a/sievelib/commands.py b/sievelib/commands.py index <HASH>..<HASH> 100644 --- a/sievelib/commands.py +++ b/sievelib/commands.py @@ -807,7 +807,7 @@ class EnvelopeCommand(TestCommand): class ExistsCommand(TestCommand): args_definition = [ {"name": "header-names", - "type": ["stringlist"...
Added "string" as valid exists arg. Fixes #<I>.
py
diff --git a/satpy/tests/reader_tests/test_clavrx.py b/satpy/tests/reader_tests/test_clavrx.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/test_clavrx.py +++ b/satpy/tests/reader_tests/test_clavrx.py @@ -376,7 +376,7 @@ class TestCLAVRXReaderGeo(unittest.TestCase): self.assertEqual(v.attrs['...
Since clavrx reader is storing all valid_ranges as lists after reading from file, upate valid_range test to list rather than tuple.
py
diff --git a/flask_sqlalchemy_cache/core.py b/flask_sqlalchemy_cache/core.py index <HASH>..<HASH> 100644 --- a/flask_sqlalchemy_cache/core.py +++ b/flask_sqlalchemy_cache/core.py @@ -9,7 +9,7 @@ http://docs.sqlalchemy.org/en/latest/orm/examples.html#module-examples.dogpile_c from hashlib import md5 from sqlalchemy....
Resolve deprecation warning
py
diff --git a/openquake/calculators/hazard/disagg/core.py b/openquake/calculators/hazard/disagg/core.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/disagg/core.py +++ b/openquake/calculators/hazard/disagg/core.py @@ -405,9 +405,9 @@ class DisaggHazardCalculator(haz_general.BaseHazardCalculatorNext): ...
calcs/hazard/disagg/core: Disagg hazard calc now uses the cached SiteCollection.
py
diff --git a/fauxtograph/__init__.py b/fauxtograph/__init__.py index <HASH>..<HASH> 100644 --- a/fauxtograph/__init__.py +++ b/fauxtograph/__init__.py @@ -1,5 +1,10 @@ from . import fauxtograph +from . import vaegan VAE = fauxtograph.VAE GAN = fauxtograph.GAN VAEGAN = fauxtograph.VAEGAN +get_paths = fauxtograph.g...
Added additional public functions to importable list.
py
diff --git a/oscrypto/_tls.py b/oscrypto/_tls.py index <HASH>..<HASH> 100644 --- a/oscrypto/_tls.py +++ b/oscrypto/_tls.py @@ -254,7 +254,7 @@ def _parse_tls_records(data): data_len = len(data) while pointer < data_len: # Don't try to parse any more once the ChangeCipherSpec is found - if data...
Fix detection of ChangeCipherSpec message during TLS record parsing
py
diff --git a/smart_open/tests/test_smart_open.py b/smart_open/tests/test_smart_open.py index <HASH>..<HASH> 100644 --- a/smart_open/tests/test_smart_open.py +++ b/smart_open/tests/test_smart_open.py @@ -538,8 +538,10 @@ class MultistreamsBZ2Test(unittest.TestCase): self.assertEqual(bz2f.read(), self.TEXT *...
Do not use skipIF from Py <I> to support Py <I>
py
diff --git a/torchvision/models/swin_transformer.py b/torchvision/models/swin_transformer.py index <HASH>..<HASH> 100644 --- a/torchvision/models/swin_transformer.py +++ b/torchvision/models/swin_transformer.py @@ -106,6 +106,7 @@ def shifted_window_attention( x = F.pad(input, (0, 0, 0, pad_r, 0, pad_b)) _, p...
fix Swin Transformer inplace mutation (#<I>) * fix inplace mutation * Different attn shouldn't share the same attribute * a simpler solution
py
diff --git a/tools/conda-recipe/run_test.py b/tools/conda-recipe/run_test.py index <HASH>..<HASH> 100644 --- a/tools/conda-recipe/run_test.py +++ b/tools/conda-recipe/run_test.py @@ -7,4 +7,6 @@ src_dir = os.getenv('SRC_DIR') nose_run = "nosetests pyemma -vv --with-coverage --cover-inclusive --cover-package=pyemma" \ ...
try to move .coverage to home
py
diff --git a/mtools/version.py b/mtools/version.py index <HASH>..<HASH> 100644 --- a/mtools/version.py +++ b/mtools/version.py @@ -1 +1 @@ -__version__ = '1.0.1dev' +__version__ = '1.0.1'
bumped version to <I>.
py
diff --git a/web3/middleware/stalecheck.py b/web3/middleware/stalecheck.py index <HASH>..<HASH> 100644 --- a/web3/middleware/stalecheck.py +++ b/web3/middleware/stalecheck.py @@ -61,8 +61,9 @@ def make_stalecheck_middleware(**kwargs): class StaleBlockchain(Exception): def __init__(self, block, allowable_delay): ...
stalecheck: include block in exception
py
diff --git a/spacy/cli/download.py b/spacy/cli/download.py index <HASH>..<HASH> 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -35,7 +35,7 @@ def download_cli( def download(model: str, direct: bool = False, *pip_args) -> None: - if not is_package("spacy") and "--no-deps" not in pip_args: + ...
Check for spacy-nightly package in download (#<I>) Also check for spacy-nightly in download so that `--no-deps` isn't set for normal nightly installs.
py
diff --git a/tasklib/task.py b/tasklib/task.py index <HASH>..<HASH> 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -1,12 +1,13 @@ from __future__ import print_function import copy +import datetime import importlib import json import logging import os import sys -from .serializing import SerializingObjec...
task: Do not rely on raw value of waiting status This makes waiting compatible with <I> and newer.
py
diff --git a/tests/test_04_automark.py b/tests/test_04_automark.py index <HASH>..<HASH> 100644 --- a/tests/test_04_automark.py +++ b/tests/test_04_automark.py @@ -39,6 +39,7 @@ def test_set_false(ctestdir): ctestdir.makefile('.ini', pytest=""" [pytest] automark_dependency = false + console...
Must apply fix for #<I> also when creating a customized ini file
py
diff --git a/tests/templates/generation_test.py b/tests/templates/generation_test.py index <HASH>..<HASH> 100644 --- a/tests/templates/generation_test.py +++ b/tests/templates/generation_test.py @@ -25,8 +25,14 @@ class SuccessPageTest(unittest.TestCase): response = '[{"year": "2015", "institution": "UC Soumya", "ur...
added assertions - clarified what the HTML files hsould contain
py
diff --git a/juju/application.py b/juju/application.py index <HASH>..<HASH> 100644 --- a/juju/application.py +++ b/juju/application.py @@ -162,9 +162,9 @@ class Application(model.ModelEntity): self.name, 'to' if scale else 'by', scale or scale_change) await app_facade.ScaleApplications(applicati...
Fix the typo in the param name The name of the param is ScaleApplicationParams not ScaleApplicationParam. This should have really be caught in a test, but for now fix this so we can get a release out.
py
diff --git a/modules/messaging.py b/modules/messaging.py index <HASH>..<HASH> 100644 --- a/modules/messaging.py +++ b/modules/messaging.py @@ -121,8 +121,8 @@ class Forum: # Deliver the message to any remote peers. for pipe in self.pipes: if pipe is not publication...
Remove a superfluous print statement. Nothing important happened in this commit.
py
diff --git a/restnuage/nurest_object.py b/restnuage/nurest_object.py index <HASH>..<HASH> 100644 --- a/restnuage/nurest_object.py +++ b/restnuage/nurest_object.py @@ -55,7 +55,7 @@ class NURESTObject(object): self.expose_attribute(local_name=u'last_updated_date', remote_name=u'lastUpdatedDate', attribute_type=...
renamed attribute to can_delete_children
py
diff --git a/m2bk/utils.py b/m2bk/utils.py index <HASH>..<HASH> 100644 --- a/m2bk/utils.py +++ b/m2bk/utils.py @@ -23,4 +23,7 @@ def chkstr(s, v): if type(s) != str: raise TypeError("{var} must be str".format(var=v)) if not s: - raise ValueError("{var} cannot be empty".format(var=v)) \ No newl...
debug as a utility function using pudb
py
diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/contexts.py +++ b/openquake/hazardlib/contexts.py @@ -481,7 +481,7 @@ class PmapMaker(object): for ctxs in acc.values(): # collapse only if all the sources are param...
Small renaming [skip CI]
py
diff --git a/tests/integration-tests/nose_integration_test.py b/tests/integration-tests/nose_integration_test.py index <HASH>..<HASH> 100644 --- a/tests/integration-tests/nose_integration_test.py +++ b/tests/integration-tests/nose_integration_test.py @@ -82,7 +82,7 @@ def test_coverage(venv): coverage_file = os....
#<I> added --cover-erase for nose coverage test
py
diff --git a/test/pulsar_objectstore_test.py b/test/pulsar_objectstore_test.py index <HASH>..<HASH> 100644 --- a/test/pulsar_objectstore_test.py +++ b/test/pulsar_objectstore_test.py @@ -5,6 +5,7 @@ from galaxy.util.bunch import Bunch from galaxy.objectstore import build_object_store_from_config from .test_utils im...
Skip now defunct pulsar object store test. It was removed from Galaxy.
py
diff --git a/engine/plugin/ui_methods.py b/engine/plugin/ui_methods.py index <HASH>..<HASH> 100644 --- a/engine/plugin/ui_methods.py +++ b/engine/plugin/ui_methods.py @@ -1,15 +1,19 @@ # -*- coding: utf-8 -*- # # dp for Tornado -# YoungYong Park (youngyongpark@gmail.com) -# 2014.11.21 +# YoungYong Pa...
nl2br, make more safety.
py
diff --git a/satpy/tests/reader_tests/test_utils.py b/satpy/tests/reader_tests/test_utils.py index <HASH>..<HASH> 100644 --- a/satpy/tests/reader_tests/test_utils.py +++ b/satpy/tests/reader_tests/test_utils.py @@ -301,7 +301,7 @@ class TestHelpers(unittest.TestCase): @mock.patch("os.remove") @mock.patch("sat...
add docstring to bz2 context manager
py
diff --git a/s3conf/storages.py b/s3conf/storages.py index <HASH>..<HASH> 100644 --- a/s3conf/storages.py +++ b/s3conf/storages.py @@ -72,9 +72,13 @@ class S3Storage(BaseStorage): else: raise - def _write_file(self, f, bucket, path_target): + def _write_file(self, f, bucket_name, p...
trying to solve some issues with digitalocean spaces
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( author = 'AtomHash', author_email = 'me@dylanharty.com', url = 'https://github.com/atomhash/evernode', - download_url = 'https://github.com/atomhash/evernode/archive/0.1.7.tar.gz', + download_u...
updated setup.py to download version <I>
py
diff --git a/test_whodunit.py b/test_whodunit.py index <HASH>..<HASH> 100644 --- a/test_whodunit.py +++ b/test_whodunit.py @@ -287,6 +287,14 @@ def test_merge_only_one_commit(): assert commit == commit1 +def test_merge_two_commits_from_same_author(): + commit1 = create_commit({'uuid': 'uuid-1'}) + commit...
More tests for whodunit to better cover.
py
diff --git a/osmnx/geocoder.py b/osmnx/geocoder.py index <HASH>..<HASH> 100644 --- a/osmnx/geocoder.py +++ b/osmnx/geocoder.py @@ -73,7 +73,7 @@ def geocode_to_gdf(query, which_result=None, buffer_dist=None): # if caller passed a list of queries but a scalar which_result value, then # turn which_result into...
handle None as well as int types
py
diff --git a/py/testdir_single_jvm/test_GLM_basic_predict.py b/py/testdir_single_jvm/test_GLM_basic_predict.py index <HASH>..<HASH> 100644 --- a/py/testdir_single_jvm/test_GLM_basic_predict.py +++ b/py/testdir_single_jvm/test_GLM_basic_predict.py @@ -73,7 +73,7 @@ class Basic(unittest.TestCase): GLMModel =...
missed a 2nd key to data_key here (generate_predict
py
diff --git a/tinytag/__main__.py b/tinytag/__main__.py index <HASH>..<HASH> 100755 --- a/tinytag/__main__.py +++ b/tinytag/__main__.py @@ -56,7 +56,7 @@ for i, filename in enumerate(filenames): try: if skip_unsupported: if not TinyTag.is_supported(filename) or os.path.isdir(filename): - ...
another new line for error messages on the CLI
py
diff --git a/indra/db/pre_assemble_script.py b/indra/db/pre_assemble_script.py index <HASH>..<HASH> 100644 --- a/indra/db/pre_assemble_script.py +++ b/indra/db/pre_assemble_script.py @@ -43,3 +43,18 @@ def preassemble_db_stmts(db, num_proc, *clauses): unique_stmts, match_key_maps = process_statements(stmts, poolsi...
Add method to create networkx graph.
py
diff --git a/src/ansiblelint/rules/YamllintRule.py b/src/ansiblelint/rules/YamllintRule.py index <HASH>..<HASH> 100644 --- a/src/ansiblelint/rules/YamllintRule.py +++ b/src/ansiblelint/rules/YamllintRule.py @@ -28,6 +28,8 @@ except ImportError: YAMLLINT_CONFIG = """ extends: default rules: + # https://github.com/ad...
Disable comments-identation yaml rule (#<I>) In order to avoid false positive results about comment identation, Keep in mind that these settings are used only if there is no .yamllint config inside the current repository. Users still have the option to override the default value and reactivate the rule if they w...
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -32,7 +32,14 @@ class Mock(MagicMock): def __getattr__(cls, name): return Mock() -MOCK_MODULES = ['icu', 'colormath', 'fuzzywuzzy'] +MOCK_MODULES = [ + 'icu', + 'colormath', + 'colormat...
Mocking away more imports for rtd.
py
diff --git a/SpiffWorkflow/bpmn2/BpmnWorkflow.py b/SpiffWorkflow/bpmn2/BpmnWorkflow.py index <HASH>..<HASH> 100644 --- a/SpiffWorkflow/bpmn2/BpmnWorkflow.py +++ b/SpiffWorkflow/bpmn2/BpmnWorkflow.py @@ -148,10 +148,14 @@ class BpmnCondition(Operator): class BpmnScriptEngine(object): def evaluate(self, task, exp...
Make evaluation of expressions more useful.
py
diff --git a/handshake.py b/handshake.py index <HASH>..<HASH> 100644 --- a/handshake.py +++ b/handshake.py @@ -134,7 +134,7 @@ class ServerHandshake(Handshake): # Only a supported protocol can be returned client_proto = split_stripped(headers['Sec-WebSocket-Protocol']) \ if 'Se...
Fixed issue where connection fails in webkit-based browsers
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.52.1" +_BASE_VERSION = "0.53.0" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/datapackage/datapackage.py b/datapackage/datapackage.py index <HASH>..<HASH> 100644 --- a/datapackage/datapackage.py +++ b/datapackage/datapackage.py @@ -26,9 +26,9 @@ class DataPackage(object): metadata (dict, str or file-like object, optional): The contents of the `datapackage.json`...
[#<I>] Update docstring
py
diff --git a/querybuilder/query.py b/querybuilder/query.py index <HASH>..<HASH> 100644 --- a/querybuilder/query.py +++ b/querybuilder/query.py @@ -332,6 +332,10 @@ class Where(object): # split on commas value = value.split(',') + # Ensure that we ha...
* Ensure that an in clause has a value
py
diff --git a/src/scs_core/aws/client/mqtt_client.py b/src/scs_core/aws/client/mqtt_client.py index <HASH>..<HASH> 100644 --- a/src/scs_core/aws/client/mqtt_client.py +++ b/src/scs_core/aws/client/mqtt_client.py @@ -23,6 +23,8 @@ class MQTTClient(object): classdocs """ + __KEEP_ALIVE_INTERVAL = 36...
Added exit-on-abandon to AWS MQTT client.
py
diff --git a/edisgo/grid/components.py b/edisgo/grid/components.py index <HASH>..<HASH> 100644 --- a/edisgo/grid/components.py +++ b/edisgo/grid/components.py @@ -101,7 +101,7 @@ class Load(Component): q_factor = tan(acos(0.95)) - avg_hourly_load = {k: v / hours_of_the_year + avg_hourly_load ...
PyPSA time series now in MW
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ deps = { "cached-property>=1.5.1,<2", "eth-bloom>=1.0.3,<2.0.0", "eth-keys>=0.4.0,<0.5.0", - "eth-typing>=3.0.0,<4.0.0", + "eth-typing>=3.1.0,<4.0.0", "eth-utils>=...
Update eth-typing to <I>
py
diff --git a/python/ray/scripts/scripts.py b/python/ray/scripts/scripts.py index <HASH>..<HASH> 100644 --- a/python/ray/scripts/scripts.py +++ b/python/ray/scripts/scripts.py @@ -238,8 +238,14 @@ def stop(): "awk '{ print $2 }') 2> /dev/null"], shell=True) # Find the PID of the jupyter proc...
Quick Fix for Killing Ray Notebooks (#<I>)
py
diff --git a/phoebe/frontend/usersettings.py b/phoebe/frontend/usersettings.py index <HASH>..<HASH> 100644 --- a/phoebe/frontend/usersettings.py +++ b/phoebe/frontend/usersettings.py @@ -132,6 +132,6 @@ def load_configfile(name, section=None, pararameter_sets=None): # Else, we have parameterSets! for key, val...
fixed small bug in usersettings.py/load_configfile
py
diff --git a/pdfconduit/conduit/utils/lib.py b/pdfconduit/conduit/utils/lib.py index <HASH>..<HASH> 100644 --- a/pdfconduit/conduit/utils/lib.py +++ b/pdfconduit/conduit/utils/lib.py @@ -16,19 +16,6 @@ def register_font(font='Vera.ttf'): print(ttfFile, 'can not be found') -def _image_directory(): - dire...
Moved _image_directory and available_images functions to gui module
py
diff --git a/django_qbe/savedqueries/admin.py b/django_qbe/savedqueries/admin.py index <HASH>..<HASH> 100644 --- a/django_qbe/savedqueries/admin.py +++ b/django_qbe/savedqueries/admin.py @@ -13,7 +13,8 @@ from .models import SavedQuery class SavedQueryAdmin(admin.ModelAdmin): - list_display = ('name', 'descript...
Adding query_hash to admin for savedqueries
py
diff --git a/dvc/repo/experiments/queue/local.py b/dvc/repo/experiments/queue/local.py index <HASH>..<HASH> 100644 --- a/dvc/repo/experiments/queue/local.py +++ b/dvc/repo/experiments/queue/local.py @@ -81,6 +81,7 @@ class LocalCeleryQueue(BaseStashQueue): "dvc_task.proc.tasks", ], ...
exp: enable late_ack to disable celery prefetch
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,8 @@ setup(name="python-oauth2", author="Markus Meyer", author_email="hydrantanderwand@gmail.com", url="https://github.com/wndhydrnt/python-oauth2", - packages=["oauth2", "oauth2.store", "oaut...
Include oauth2.store.dbapi in build
py
diff --git a/tornado/auth.py b/tornado/auth.py index <HASH>..<HASH> 100644 --- a/tornado/auth.py +++ b/tornado/auth.py @@ -44,7 +44,7 @@ Example usage for Google OAuth: code=self.get_argument('code')) # Save the user with e.g. set_secure_cookie else: - a...
Fix Google OAuth example (from <I> OAuth2Mixin->authorize_redirect is an ordinary synchronous function)
py
diff --git a/ceph_deploy/new.py b/ceph_deploy/new.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/new.py +++ b/ceph_deploy/new.py @@ -25,6 +25,18 @@ def generate_auth_key(): ) return base64.b64encode(header + key) +""" +Search result of getaddrinfo() for a non-localhost-net address +""" +def ge...
Try replacing gethostbyname with getaddrinfo/search-for-nonlocal
py