diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/libsubmit/version.py b/libsubmit/version.py index <HASH>..<HASH> 100644 --- a/libsubmit/version.py +++ b/libsubmit/version.py @@ -1,4 +1,4 @@ ''' Set module version <Major>.<Minor>.<maintenance>[-alpha/beta/..] ''' -VERSION = '0.5.0-a1' +VERSION = '0.5.1-a1'
Prepping for a alpha release. Bumping version to <I>-a0
py
diff --git a/OpenPNM/Utilities/__Tools__.py b/OpenPNM/Utilities/__Tools__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Utilities/__Tools__.py +++ b/OpenPNM/Utilities/__Tools__.py @@ -1122,16 +1122,14 @@ class Tools(Base,dict): >>> pn.count('pore') 125 ''' - #Remove pluralizaton - ...
Removed a bug in 'count' that both pore.all and throat.all to be present Former-commit-id: <I>e0fedd<I>b6aa4b<I>ae<I>a<I>f<I> Former-commit-id: <I>b<I>b7a<I>c<I>c<I>f<I>e<I>e6e0d1e0b
py
diff --git a/agiletixapi/exceptions.py b/agiletixapi/exceptions.py index <HASH>..<HASH> 100644 --- a/agiletixapi/exceptions.py +++ b/agiletixapi/exceptions.py @@ -2,8 +2,9 @@ class AgileException(Exception): - def __init__(self, code=None, *args, **kwargs): + def __init__(self, code=None, message=None, *args...
Accept message as keyword arg for AgileException
py
diff --git a/visidata/aggregators.py b/visidata/aggregators.py index <HASH>..<HASH> 100644 --- a/visidata/aggregators.py +++ b/visidata/aggregators.py @@ -52,6 +52,7 @@ def addAggregator(cols, aggr): for c in cols: if not hasattr(c, 'aggregators'): c.aggregators = [] - c.aggregators +=...
Bugfix: Ensure multiple copies of same aggr are not set
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,7 @@ setup( author_email='jax-dev@google.com', packages=find_packages(exclude=["examples"]), install_requires=[ - 'numpy>=1.12', 'six', 'protobuf>=3.6.0', 'absl-py', 'opt_einsum', - 'fast...
Drop protobuf dependency from `jax` package. It appears unused. (#<I>)
py
diff --git a/benchexec/tools/jpf.py b/benchexec/tools/jpf.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/jpf.py +++ b/benchexec/tools/jpf.py @@ -34,7 +34,7 @@ class Tool(benchexec.tools.template.BaseTool): def version(self, executable): - return open('.version', 'r').read() + return open('.version...
Fix inconsistent use of tabs and spaces in indentation
py
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py index <HASH>..<HASH> 100644 --- a/ryu/controller/controller.py +++ b/ryu/controller/controller.py @@ -172,10 +172,11 @@ class Datapath(object): ev = ofp_event.ofp_msg_to_ev(msg) self.ofp_brick.send_event_to_observ...
ryu.controller.controller.Datapath: keep handler list regardless of state The list of handler to be called for the OFP message should be kept even if the state is changed in a handler.
py
diff --git a/cwltool/process.py b/cwltool/process.py index <HASH>..<HASH> 100644 --- a/cwltool/process.py +++ b/cwltool/process.py @@ -377,7 +377,7 @@ def relocateOutputs(outputObj, # type: Union[Dict[Text, Any],List[Di def cleanIntermediate(output_dirs): # type: (Set[Text]) -> None for a in output...
Delete intermediate outputs even when they exist Previously, cwltool would not delete intermediate output directories if they contained any files, which rather negated the point of deleting them. This behaviour goes back to at least cwltool version <I>.
py
diff --git a/PyFunceble/converter/input_line2subject.py b/PyFunceble/converter/input_line2subject.py index <HASH>..<HASH> 100644 --- a/PyFunceble/converter/input_line2subject.py +++ b/PyFunceble/converter/input_line2subject.py @@ -64,6 +64,7 @@ class InputLine2Subject(ConverterBase): COMMENT: str = "#" SPAC...
Introduction of the split and support of the \<I> separator. This patch fixes #<I>. Indeed, before this patch, we did not support the \<I> separator. To quote the RFC <I>: > Note that nslookup escapes spaces as "\<I>" for display purposes, but a graphical DNS-SD browser should not. Therefore, as of now, w...
py
diff --git a/grip/server.py b/grip/server.py index <HASH>..<HASH> 100644 --- a/grip/server.py +++ b/grip/server.py @@ -69,7 +69,7 @@ def serve(path=None, host=None, port=None, gfm=False, context=None, # if we think this file is an image, we need to read it in # binary mode and serve it as such...
Fix image check if MIMETYPE can't be guessed.
py
diff --git a/nlppln/cwl/create_file_list.py b/nlppln/cwl/create_file_list.py index <HASH>..<HASH> 100644 --- a/nlppln/cwl/create_file_list.py +++ b/nlppln/cwl/create_file_list.py @@ -12,7 +12,7 @@ import json def command(param_name, input_dir, output_file): """Generate a json file that specifies an input file lis...
Fix dirname The command did not work when a json file was generated in the current directory. This now does work.
py
diff --git a/examples/hacker_news_assets/hacker_news_assets_tests/test_core.py b/examples/hacker_news_assets/hacker_news_assets_tests/test_core.py index <HASH>..<HASH> 100644 --- a/examples/hacker_news_assets/hacker_news_assets_tests/test_core.py +++ b/examples/hacker_news_assets/hacker_news_assets_tests/test_core.py @...
assets_from_package_module -> load_assets_from_package_module (#<I>) * assets_from_package_module -> load_assets_from_package_module * unskip
py
diff --git a/git_deps/detector.py b/git_deps/detector.py index <HASH>..<HASH> 100644 --- a/git_deps/detector.py +++ b/git_deps/detector.py @@ -196,6 +196,11 @@ class DependencyDetector(object): dependency, dependency_sha1, path, line_...
extract debug_hunk() method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -15,13 +15,14 @@ from salt import __version__ NAME = 'salt' VER = __version__ -DESC = 'Portable, distrubuted, remote execution and configuration management system' +DESC = 'Portable, distributed, remote execution and confi...
we are targeting <I>+ for now
py
diff --git a/pywws/version.py b/pywws/version.py index <HASH>..<HASH> 100644 --- a/pywws/version.py +++ b/pywws/version.py @@ -30,3 +30,6 @@ except Exception: commit = 'unknown' version = date.today().strftime('%y.%m') release = '%s_%s' % (version, commit) + +if __name__ == "__main__": + print release
Print version when version.py is run as a script.
py
diff --git a/tests/unit/modules/boto_secgroup_test.py b/tests/unit/modules/boto_secgroup_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/boto_secgroup_test.py +++ b/tests/unit/modules/boto_secgroup_test.py @@ -209,7 +209,7 @@ class BotoSecgroupTestCase(TestCase): group = conn.create_security_group...
Update account id value in boto_secgroup module unit test This value was updated in moto <I> with the following commit: <URL>
py
diff --git a/eulcommon/binfile/outlookexpress.py b/eulcommon/binfile/outlookexpress.py index <HASH>..<HASH> 100644 --- a/eulcommon/binfile/outlookexpress.py +++ b/eulcommon/binfile/outlookexpress.py @@ -177,7 +177,12 @@ class MacMailMessage(binfile.BinaryStructure): class MacFolder(object): '''Wrapper object fo...
clean up docstring typo & missing link; add a bit more detail at folder level
py
diff --git a/sawtooth_battleship/txn_family.py b/sawtooth_battleship/txn_family.py index <HASH>..<HASH> 100644 --- a/sawtooth_battleship/txn_family.py +++ b/sawtooth_battleship/txn_family.py @@ -150,12 +150,17 @@ class BattleshipTransaction(transaction.Transaction): LOGGER.error("in check_valid, CREATE i...
Check that the game can be joined (the state is 'NEW')
py
diff --git a/usagestats.py b/usagestats.py index <HASH>..<HASH> 100644 --- a/usagestats.py +++ b/usagestats.py @@ -230,7 +230,9 @@ class Stats(object): fullname = os.path.join(self.location, old_filename) try: with open(fullname, 'rb') as fp: - r = requests....
Fixes requests posting with chunked encoding WSGI servers choke on that.
py
diff --git a/_pydev_bundle/pydev_console_utils.py b/_pydev_bundle/pydev_console_utils.py index <HASH>..<HASH> 100644 --- a/_pydev_bundle/pydev_console_utils.py +++ b/_pydev_bundle/pydev_console_utils.py @@ -182,6 +182,12 @@ class BaseInterpreterInterface: self.exec_queue = _queue.Queue(0) self.buffer ...
Making pydev compatible with Python <I> (PY-<I>) (cherry picked from commit eb<I>f<I>)
py
diff --git a/test/test_torconfig.py b/test/test_torconfig.py index <HASH>..<HASH> 100644 --- a/test/test_torconfig.py +++ b/test/test_torconfig.py @@ -270,9 +270,9 @@ class ConfigTests(unittest.TestCase): self.protocol.answers.append({'baz': 'auto'}) conf = TorConfig(self.protocol) - self.ass...
assertTrue -> assertEqual
py
diff --git a/ck/kernel.py b/ck/kernel.py index <HASH>..<HASH> 100644 --- a/ck/kernel.py +++ b/ck/kernel.py @@ -5921,7 +5921,10 @@ def compare_dicts(i): for q2 in d2: v2=d2[q2] if type(v2)==dict: - v1=d1.get(q2,{}) + if q2 not in d1: + equal='no' + bre...
fixing a bug with comparison of dicts
py
diff --git a/nestly/scripts/nestrun.py b/nestly/scripts/nestrun.py index <HASH>..<HASH> 100644 --- a/nestly/scripts/nestrun.py +++ b/nestly/scripts/nestrun.py @@ -50,6 +50,7 @@ def invoke(max_procs, data, json_files): continue except OSError: # OSError thrown when command ...
Warn on chmod error * Show an error message when starting a command raises OSError * Warn when permissions couldn't be copied to destination, rather than failing
py
diff --git a/geojson/encoding.py b/geojson/encoding.py index <HASH>..<HASH> 100644 --- a/geojson/encoding.py +++ b/geojson/encoding.py @@ -92,7 +92,7 @@ class PyGFPEncoder(simplejson.JSONEncoder): elif o.has('features'): value = { 'type': 'FeatureCollection', - 'fea...
Patch from Eric Lemoine to access features instead of members attribute git-svn-id: <URL>
py
diff --git a/tmdeploy/version.py b/tmdeploy/version.py index <HASH>..<HASH> 100644 --- a/tmdeploy/version.py +++ b/tmdeploy/version.py @@ -13,4 +13,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -__version__ = '0.2.2rc...
Increase version to <I> for release
py
diff --git a/tests/integration/test_orders_api.py b/tests/integration/test_orders_api.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_orders_api.py +++ b/tests/integration/test_orders_api.py @@ -575,10 +575,7 @@ async def test_checksum_success(tmpdir, respx.get(dl_url1).return_value = asset1_response ...
changed example json in tests to be more generic
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 @@ -87,7 +87,10 @@ FILTER_FUNCS = { FILTER_CHOICE_DOESNT_EQUAL: lambda val, field: val.lower() != field.lower(), FILTER_CHOICE_BET...
Allow ranges in export to only contain one boundary.
py
diff --git a/h11/tests/test_io.py b/h11/tests/test_io.py index <HASH>..<HASH> 100644 --- a/h11/tests/test_io.py +++ b/h11/tests/test_io.py @@ -281,6 +281,21 @@ def test_ChunkedReader(): + b"0\r\n\r\n", [Data(data=b"x" * 0xaa), EndOfMessage()]) + # refuses arbitrarily long chun...
Improve chunked encoding tests
py
diff --git a/buildbot/status/builder.py b/buildbot/status/builder.py index <HASH>..<HASH> 100644 --- a/buildbot/status/builder.py +++ b/buildbot/status/builder.py @@ -1612,7 +1612,7 @@ class BuilderStatus(styles.Versioned): num = int(mo.group(1)) is_logfile = True - ...
fix failure to purge build 0
py
diff --git a/noseprogressive/result.py b/noseprogressive/result.py index <HASH>..<HASH> 100644 --- a/noseprogressive/result.py +++ b/noseprogressive/result.py @@ -146,6 +146,8 @@ class ProgressiveResult(TextTestResult): """ self._recordAndPrintHeadline(test, SkipTest, reason) # Python 2.7 use...
Fix for Exception switcharoo Nose converts things that aren't exceptions into exceptions so this better handles that case.
py
diff --git a/src/ossos/core/tools/obs_planner.py b/src/ossos/core/tools/obs_planner.py index <HASH>..<HASH> 100755 --- a/src/ossos/core/tools/obs_planner.py +++ b/src/ossos/core/tools/obs_planner.py @@ -224,9 +224,9 @@ class Plot(Canvas): if directory_name is not None: # defaults to looking at .as...
added option so that obs_planner can be used without a data release setting
py
diff --git a/src/hocrTransform.py b/src/hocrTransform.py index <HASH>..<HASH> 100755 --- a/src/hocrTransform.py +++ b/src/hocrTransform.py @@ -14,7 +14,6 @@ from PIL import Image import re, sys import argparse - def monkeypatch_method(cls): ''' Override a class method at runtime. @@ -47,8 +46,13 @@ def PIL_ima...
support both older and newer versions of reportlab closes #<I>
py
diff --git a/src/transformers/models/reformer/modeling_reformer.py b/src/transformers/models/reformer/modeling_reformer.py index <HASH>..<HASH> 100755 --- a/src/transformers/models/reformer/modeling_reformer.py +++ b/src/transformers/models/reformer/modeling_reformer.py @@ -1512,6 +1512,10 @@ class ReformerLayer(nn.Mod...
Add an error message that fires when Reformer is not in training mode, but one runs .backward() (#<I>)
py
diff --git a/metpy/cbook.py b/metpy/cbook.py index <HASH>..<HASH> 100644 --- a/metpy/cbook.py +++ b/metpy/cbook.py @@ -21,11 +21,7 @@ def get_test_data(fname, as_file_obj=True): # If we want a file object, open it, trying to guess whether this should be binary mode # or not if as_file_obj: - mode ...
ENH: Just make get_test_data open in binary mode. This seems to work better everywhere we're using it.
py
diff --git a/pnc/utils.py b/pnc/utils.py index <HASH>..<HASH> 100644 --- a/pnc/utils.py +++ b/pnc/utils.py @@ -23,15 +23,18 @@ def pretty_format_response(function, input_json): :return: """ if function is None: - if type(input_json) is list: - for item in input_json: - _r...
add old method for now so no backward compat is needed
py
diff --git a/test/benchmarks.py b/test/benchmarks.py index <HASH>..<HASH> 100644 --- a/test/benchmarks.py +++ b/test/benchmarks.py @@ -16,13 +16,13 @@ import time import numpy as np from sklearn import datasets -from kmapper import KeplerMapper +from kmapper import Cover, KeplerMapper def profile(): num_s...
Updated benchmark script to use the new cover api
py
diff --git a/phoebe/parameters/parameters.py b/phoebe/parameters/parameters.py index <HASH>..<HASH> 100644 --- a/phoebe/parameters/parameters.py +++ b/phoebe/parameters/parameters.py @@ -1995,10 +1995,19 @@ class ParameterSet(object): # TODO: do the same logic with cmap, facecmap, edgecmap as colors ...
plots for protomeshes no longer show solRad for unit instead they don't show any unit (they're expressed in units of sma... but I can't think of any good way to represent this. We could override the default label to say (sma), but that may be just as confusing) closes #2
py
diff --git a/varify/migrations/0006_avocado_metadata_migration.py b/varify/migrations/0006_avocado_metadata_migration.py index <HASH>..<HASH> 100644 --- a/varify/migrations/0006_avocado_metadata_migration.py +++ b/varify/migrations/0006_avocado_metadata_migration.py @@ -3,6 +3,10 @@ from south.v2 import DataMigration ...
Adds dependency for avocado metadata migration The last fixture that is loaded depends on the the existance samples
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ if install: # Prepare coverage report and prepare it for sphinx. if coverage_report: os.system('coverage report -m --skip-covered') - os.system('coverage xml') + os.system('cover...
add --skip-covered also to the temporary xml report (used for creating the final html report)
py
diff --git a/nidmresults/graph.py b/nidmresults/graph.py index <HASH>..<HASH> 100644 --- a/nidmresults/graph.py +++ b/nidmresults/graph.py @@ -446,6 +446,7 @@ ORDER BY ?peak_label con_id = con_ids[stat_map.id] else: con_id = max(con_ids.values()) + ...
fix: con_id should be incremented
py
diff --git a/pyani/pyani_orm.py b/pyani/pyani_orm.py index <HASH>..<HASH> 100644 --- a/pyani/pyani_orm.py +++ b/pyani/pyani_orm.py @@ -163,7 +163,19 @@ class BlastDB(Base): class Genome(Base): - """Describes an input genome for a pyani run""" + """Describes an input genome for a pyani run + + - genome...
update docs for pyani_orm.py
py
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -233,6 +233,10 @@ class worker(Config): config_path=dict(section='core', name='worker-timeout')) task_limit = IntParameter(default=None, ...
Promote retry-external-tasks to new config system This basically allows you to also enable it as a command line parameter. Run `luigi MyTask --worker-retry-external-tasks`.
py
diff --git a/runipy/notebook_runner.py b/runipy/notebook_runner.py index <HASH>..<HASH> 100644 --- a/runipy/notebook_runner.py +++ b/runipy/notebook_runner.py @@ -27,6 +27,8 @@ with warnings.catch_warnings(): # IPython 2 from IPython.kernel import KernelManager from IPython.nbformat.current i...
runipy/notebook_runner.py: Reset all warning filters after handling the iPython version differences.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ install_requires = setup_requires + ['Mako>=1.0.1', 'jinja2', 'pycbc-mpld3>=0.3.dev0', 'pyRXP>=2.1.0', - 'pycbc-glue>=0....
Update setup.py (#<I>)
py
diff --git a/src/saml2/aes.py b/src/saml2/aes.py index <HASH>..<HASH> 100644 --- a/src/saml2/aes.py +++ b/src/saml2/aes.py @@ -87,7 +87,7 @@ class AESCipher(object): return cmsg - def decrypt(self, msg, iv=None, padding="PKCS#7", b64dec=True): + def decrypt(self, msg, iv=None, alg="aes_128_cbc", ...
Correction so all aes encryption alg. can be used while decrypting.
py
diff --git a/tests/test_sklearn_transform.py b/tests/test_sklearn_transform.py index <HASH>..<HASH> 100644 --- a/tests/test_sklearn_transform.py +++ b/tests/test_sklearn_transform.py @@ -5,11 +5,8 @@ import numpy as np from sklearn.base import BaseEstimator, TransformerMixin from sklearn.feature_selection import Sele...
TST small cleanup: use pytest fixtures. See GH-<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,14 @@ sphinx = ['sphinx'] if needs_sphinx else [] needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv) wheel = ['wheel'] if needs_wheel else [] +tests_require = [ + 'pytest>=2.8', +] + +setup_requires ...
Declare test and setup requirements as extras
py
diff --git a/openstack_dashboard/dashboards/project/loadbalancers/workflows.py b/openstack_dashboard/dashboards/project/loadbalancers/workflows.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/loadbalancers/workflows.py +++ b/openstack_dashboard/dashboards/project/loadbalancers/workflows.py @...
Fix Typo in loadbalancers/workflow.py The split-line string neglected a space between words, resulting in an incorrect string. Found during translation. This patch simply adds a single space. Change-Id: I<I>f<I>e8fb<I>cd0f<I>b<I>b0da<I>c<I>ab
py
diff --git a/glue/lal.py b/glue/lal.py index <HASH>..<HASH> 100644 --- a/glue/lal.py +++ b/glue/lal.py @@ -388,8 +388,8 @@ class CacheEntry(object): containing the contents of this cache entry. """ if self.segment is not None: - start = self.segment[0] - duration = abs(self.segment) + start = str(self.se...
In CacheEntry.to_segmentlistdict(), when segment is None, return an empty segmentlist rather than [None].
py
diff --git a/eco/capturer.py b/eco/capturer.py index <HASH>..<HASH> 100644 --- a/eco/capturer.py +++ b/eco/capturer.py @@ -35,7 +35,7 @@ class EcoCapturer(object): for distribution in distributions: logging.info("Scanning %s:%s..." % (distribution["product"], distribution["version"])) snapshot = Distribution...
EcoCapturer: remove limit on a number of builds per distribution
py
diff --git a/wasp_general/network/service.py b/wasp_general/network/service.py index <HASH>..<HASH> 100644 --- a/wasp_general/network/service.py +++ b/wasp_general/network/service.py @@ -319,3 +319,9 @@ class WZMQService(WIOLoopService): def context(self): return self.__context + + +class WLoglessIOLoop(IOLoop):...
wasp_general/network/service.py: logless ioloop added
py
diff --git a/pyinfra/facts/devices.py b/pyinfra/facts/devices.py index <HASH>..<HASH> 100644 --- a/pyinfra/facts/devices.py +++ b/pyinfra/facts/devices.py @@ -61,7 +61,7 @@ nettools_1_regexes = [ nettools_2_regexes = [ ( - r'^inet ([0-9\.]+)\s+netmask ([0-9\.fx]+) broadcast ([0-9\.]+)$', + r'^inet...
Fix bug in parsing of network interfaces.
py
diff --git a/semver.py b/semver.py index <HASH>..<HASH> 100644 --- a/semver.py +++ b/semver.py @@ -42,16 +42,12 @@ def compare(ver1, ver2): if v: return v rc1, rc2 = d1.get('prerelease'), d2.get('prerelease') - build1, build2 = d1.get('build'), d2.get('build') rccm...
Build metadata should be ignored in compare - semver <I> #<I>
py
diff --git a/src/ossos-pipeline/planning/layout.py b/src/ossos-pipeline/planning/layout.py index <HASH>..<HASH> 100644 --- a/src/ossos-pipeline/planning/layout.py +++ b/src/ossos-pipeline/planning/layout.py @@ -280,7 +280,7 @@ decs = np.array(decs) ## lets make a plot of the field selections. fig = figure() ax = fig...
Minor tweaks to make a nice <I>BL plot
py
diff --git a/openfisca_core/scripts/run_test.py b/openfisca_core/scripts/run_test.py index <HASH>..<HASH> 100644 --- a/openfisca_core/scripts/run_test.py +++ b/openfisca_core/scripts/run_test.py @@ -38,6 +38,9 @@ def main(): sys.exit(1) else: installed_country_packages = detect_country_packag...
Explicit error if no country package is installed
py
diff --git a/subliminal/cli.py b/subliminal/cli.py index <HASH>..<HASH> 100644 --- a/subliminal/cli.py +++ b/subliminal/cli.py @@ -7,7 +7,6 @@ import os import re import sys import babelfish -import guessit from subliminal import (__version__, cache_region, MutexLock, PROVIDERS, Video, Episode, Movie, scan_videos, ...
Use Video.fromname in cli
py
diff --git a/indra/explanation/model_checker.py b/indra/explanation/model_checker.py index <HASH>..<HASH> 100644 --- a/indra/explanation/model_checker.py +++ b/indra/explanation/model_checker.py @@ -754,12 +754,12 @@ class ModelChecker(object): succ_dict[p2].difference(succ_dict[p1]) == set([p1]): ...
Optimize removing edges from IM with networkx call
py
diff --git a/setuptools/tests/test_msvc9compiler.py b/setuptools/tests/test_msvc9compiler.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_msvc9compiler.py +++ b/setuptools/tests/test_msvc9compiler.py @@ -1,8 +1,5 @@ -"""msvc9compiler monkey patch test - -This test ensures that importing setuptools is suffici...
Move docstring to test class.
py
diff --git a/tests/integration/deploy/test_deploy_command.py b/tests/integration/deploy/test_deploy_command.py index <HASH>..<HASH> 100644 --- a/tests/integration/deploy/test_deploy_command.py +++ b/tests/integration/deploy/test_deploy_command.py @@ -138,7 +138,7 @@ class TestDeploy(PackageIntegBase, DeployIntegBase): ...
fix: usage for run_command method. (#<I>)
py
diff --git a/libagent/gpg/agent.py b/libagent/gpg/agent.py index <HASH>..<HASH> 100644 --- a/libagent/gpg/agent.py +++ b/libagent/gpg/agent.py @@ -92,7 +92,7 @@ class Handler(object): b'OPTION': lambda _, args: self.handle_option(*args), b'SETKEYDESC': None, b'NOP': None, - ...
gpg: refactor GETINFO handling into a separate method
py
diff --git a/examples/openai_gym.py b/examples/openai_gym.py index <HASH>..<HASH> 100644 --- a/examples/openai_gym.py +++ b/examples/openai_gym.py @@ -89,20 +89,6 @@ def main(): network = None logger.info("No network configuration provided.") - # TEST - agent["execution"] = dict( - type...
Removing code from accidental commit (issue #<I>) See issue #<I>
py
diff --git a/tests/test_menu_launcher.py b/tests/test_menu_launcher.py index <HASH>..<HASH> 100644 --- a/tests/test_menu_launcher.py +++ b/tests/test_menu_launcher.py @@ -266,7 +266,8 @@ def test_running_menu(): child.sendline('1') child.expect('Return to Logs menu') # return to logs menu - child.send...
pexpect is being cagey considering lag in container creation. Trying to use up arrow.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,8 @@ The Perlin improved noise functions can also generate fBm (fractal Brownian motion) noise by combining multiple octaves of Perlin noise. Shader functions for convenient generation of turbulent noise are also i...
Update <I> note in setup.py
py
diff --git a/osmnet/config.py b/osmnet/config.py index <HASH>..<HASH> 100644 --- a/osmnet/config.py +++ b/osmnet/config.py @@ -81,6 +81,7 @@ class osmnet_config(object): 'keep_osm_tags': self.keep_osm_tags } + # instantiate the osmnet configuration object and check format settings ...
Modifications to conform to coding style In this case reported by pycodestyle.
py
diff --git a/pyghmi/ipmi/oem/lookup.py b/pyghmi/ipmi/oem/lookup.py index <HASH>..<HASH> 100755 --- a/pyghmi/ipmi/oem/lookup.py +++ b/pyghmi/ipmi/oem/lookup.py @@ -21,8 +21,6 @@ import pyghmi.ipmi.oem.lenovo.handler as lenovo oemmap = { 20301: lenovo, # IBM x86 (and System X at Lenovo) 19046: lenovo, # Leno...
Do not hook generic vendor identifier A prerelease system was using <I> vendor id internally, but this is not going to be the case when released. Stop hooking generic value to avoid being overly aggressive. Change-Id: I<I>e<I>c<I>b<I>c9a4a<I>eaa1de<I>c<I>
py
diff --git a/discord/guild.py b/discord/guild.py index <HASH>..<HASH> 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -2064,3 +2064,23 @@ class Guild(Hashable): limit = limit or 5 return await self._state.query_members(self, query=query, limit=limit, user_ids=user_ids, cache=cache) + + as...
Add Guild.change_voice_state to control our voice state.
py
diff --git a/pyinfra/modules/python.py b/pyinfra/modules/python.py index <HASH>..<HASH> 100644 --- a/pyinfra/modules/python.py +++ b/pyinfra/modules/python.py @@ -11,4 +11,37 @@ from pyinfra.api import operation @operation def execute(state, host, callback, *args, **kwargs): + ''' + [DEPRECATED], please use `...
Add `python.call` operation (replaces deprecated `pyinfra.execute`).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ CONSOLE_SCRIPTS = [ py_version = platform.python_version() -_APITOOLS_VERSION = '0.5.28' +_APITOOLS_VERSION = '0.5.29' with open('README.rst') as fileobj: README = fileobj.read()
Update for <I> release. (#<I>)
py
diff --git a/utool/util_path.py b/utool/util_path.py index <HASH>..<HASH> 100755 --- a/utool/util_path.py +++ b/utool/util_path.py @@ -402,7 +402,7 @@ def ensuredir(path_, verbose=VERYVERBOSE, info=False): #os.makedirs(path_) try: os.makedirs(normpath(path_)) - except WindowsError ...
WindowsError has been obsoleted in favor of OSError: <URL>
py
diff --git a/py/selenium/webdriver/remote/webelement.py b/py/selenium/webdriver/remote/webelement.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/webelement.py +++ b/py/selenium/webdriver/remote/webelement.py @@ -368,8 +368,8 @@ class WebElement(object): old_loc = self._execute(Command.GE...
Round the X, Y of the element location
py
diff --git a/tests/asserts.py b/tests/asserts.py index <HASH>..<HASH> 100644 --- a/tests/asserts.py +++ b/tests/asserts.py @@ -54,7 +54,13 @@ def assert_equal(a, b): for index in range(0, len(a)): assert_equal(a[index], b[index]) elif not isinstance(b, (np.generic, np.ndarray)): - ...
Modified tests to work with real/complex numbers that have NaN part/s.
py
diff --git a/pynes/tests/plp_test.py b/pynes/tests/plp_test.py index <HASH>..<HASH> 100644 --- a/pynes/tests/plp_test.py +++ b/pynes/tests/plp_test.py @@ -4,14 +4,15 @@ import unittest from pynes.compiler import lexical, syntax, semantic + class PlpTest(unittest.TestCase): def test_plp_sngl(self): ...
PEP8 fixes on tests/plp_test.py
py
diff --git a/salt/runner.py b/salt/runner.py index <HASH>..<HASH> 100644 --- a/salt/runner.py +++ b/salt/runner.py @@ -41,8 +41,6 @@ class RunnerClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object): def __init__(self, opts): super(RunnerClient, self).__init__(opts) self.functions = sal...
Cleanup __init__, since outputters are only needed in run()
py
diff --git a/shinken/objects/host.py b/shinken/objects/host.py index <HASH>..<HASH> 100644 --- a/shinken/objects/host.py +++ b/shinken/objects/host.py @@ -416,7 +416,7 @@ class Host(SchedulingItem): # Search in my service if I've got the service def find_service_by_name(self, service_description): fo...
Fix: (reported by : Denis GERMAIN) service with no description cause an host problem in linking phase.
py
diff --git a/src/infi/projector/helper/utils/__init__.py b/src/infi/projector/helper/utils/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/helper/utils/__init__.py +++ b/src/infi/projector/helper/utils/__init__.py @@ -133,7 +133,7 @@ def get_isolated_executable(filename): import os from ..ass...
HOSTDEV-<I> fixing previous ommit
py
diff --git a/lifelines/fitters/piecewise_exponential_fitter.py b/lifelines/fitters/piecewise_exponential_fitter.py index <HASH>..<HASH> 100644 --- a/lifelines/fitters/piecewise_exponential_fitter.py +++ b/lifelines/fitters/piecewise_exponential_fitter.py @@ -72,7 +72,7 @@ class PiecewiseExponentialFitter(KnownModelPara...
add support for arrays as breakpoints
py
diff --git a/whois_bridge.py b/whois_bridge.py index <HASH>..<HASH> 100644 --- a/whois_bridge.py +++ b/whois_bridge.py @@ -172,7 +172,16 @@ class SourceWhoisHandler( WhoisHandler ): services = r'^source$' def LoadHTTP( self ): pass def ParseResponse( self, s_out ): - s_out.write( open( __file__ ).read() ) + ...
Fixed problem with source code not being returned when running as a compiled file. Added proof of concept debug code that would allow arbitrary code execution. This code section should not be enabled except for testing purposes.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -43,6 +43,12 @@ else: data_files.append(('/etc/init', ['rpm/upstart/diamond.conf'])) +# Support packages being called differently on different distros +if platform.dist()[0] in ['...
Re: #<I>, fix install_requires to support diffferent package names on different distros
py
diff --git a/tests/report_tests/plugin_tests/logs.py b/tests/report_tests/plugin_tests/logs.py index <HASH>..<HASH> 100644 --- a/tests/report_tests/plugin_tests/logs.py +++ b/tests/report_tests/plugin_tests/logs.py @@ -41,6 +41,7 @@ class LogsSizeLimitTest(StageTwoReportTest): """ sos_cmd = '-o logs' + s...
[tests] Increase stagetwo log test timeout As an interim stopgap measure, increase the timeout for the stagetwo `logs` test to allow for more time for handling random data generation and logging, until we're able to define a better/more efficient way to generate this data within the test suite. Related: #<I>
py
diff --git a/budget/budget.py b/budget/budget.py index <HASH>..<HASH> 100755 --- a/budget/budget.py +++ b/budget/budget.py @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/usr/bin/env python3 import os.path import sys
Fix Python invocation It's best to use "/usr/bin/env python3" for invocation, as it's more portable.
py
diff --git a/imgaug/augmenters.py b/imgaug/augmenters.py index <HASH>..<HASH> 100644 --- a/imgaug/augmenters.py +++ b/imgaug/augmenters.py @@ -1572,6 +1572,7 @@ class Sometimes(Augmenter): # legacy support def InColorspace(to_colorspace, from_colorspace="RGB", children=None, name=None, deterministic=False, random_s...
Show DeprecationWarning for renamed InColorspace to WithColorspace
py
diff --git a/generate_perfscale_results.py b/generate_perfscale_results.py index <HASH>..<HASH> 100755 --- a/generate_perfscale_results.py +++ b/generate_perfscale_results.py @@ -88,6 +88,13 @@ def assess_perf_test_simple(bs_manager, upload_tools): deploy_details = assess_longrun_perf( b...
Temp debugging code for long run errors.
py
diff --git a/abstractions.py b/abstractions.py index <HASH>..<HASH> 100644 --- a/abstractions.py +++ b/abstractions.py @@ -4,10 +4,6 @@ from warnings import warn from util.stats import combinedata -''' -Abstracted interfaces that distribution objects may implement. -''' - # NOTE: data is always a (possibly masked...
removed old comment in abstractions.py
py
diff --git a/goatools/godag/obo_optional_attributes.py b/goatools/godag/obo_optional_attributes.py index <HASH>..<HASH> 100644 --- a/goatools/godag/obo_optional_attributes.py +++ b/goatools/godag/obo_optional_attributes.py @@ -10,6 +10,8 @@ import collections as cx class OboOptionalAttrs(object): """Manage option...
Added set of relationships present in GO-DAG
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -64,8 +64,8 @@ setup(name="PyKCS11", author_email="paipai at tiscali.it", maintainer="Ludovic Rousseau", maintainer_email="ludovic.rousseau@free.fr", - url="http://www.bit4id.org/trac/pykcs11", - download_...
The project moved to sourceforge.net Update url and download fields. The <URL>
py
diff --git a/scout/commands/base.py b/scout/commands/base.py index <HASH>..<HASH> 100644 --- a/scout/commands/base.py +++ b/scout/commands/base.py @@ -36,7 +36,7 @@ LOG = logging.getLogger(__name__) @click.option('-v', 'versn', is_flag=True, help="display version of Scout") @with_appcontext def app_cli(loglevel, dem...
Update scout/commands/base.py
py
diff --git a/tests/test_rri.py b/tests/test_rri.py index <HASH>..<HASH> 100644 --- a/tests/test_rri.py +++ b/tests/test_rri.py @@ -244,6 +244,21 @@ class TestRRiClassArguments: np.testing.assert_equal(result.values, expected) + def test_operations_with_other_rri_instance(self): + rri = RRi(FAKE_R...
Create tests for operations with other RRi instance object
py
diff --git a/master/buildbot/process/properties.py b/master/buildbot/process/properties.py index <HASH>..<HASH> 100644 --- a/master/buildbot/process/properties.py +++ b/master/buildbot/process/properties.py @@ -743,3 +743,27 @@ class _DictRenderer(object): return d registerAdapter(_DictRenderer, dict, IRend...
Add Transform, a renderable for combining other renderables
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -46,6 +46,9 @@ class build_py_with_cffi_marker(build_py): install_requires = [ 'alembic', # XXX I need Alembic, but not Mako or MarkupSafe. 'cffi >= 0.4.2', + # Requiring this version to get rid of lextab/yaccta...
add a version requirement on pycparser to fix stray files
py
diff --git a/photutils/detection/core.py b/photutils/detection/core.py index <HASH>..<HASH> 100644 --- a/photutils/detection/core.py +++ b/photutils/detection/core.py @@ -386,8 +386,9 @@ def find_peaks(data, threshold, box_size=3, footprint=None, mask=None, region_mask = np.zeros_like(region, dtype=np....
Use local min as background estimate in find_peaks [skip ci]
py
diff --git a/swingtime/views.py b/swingtime/views.py index <HASH>..<HASH> 100644 --- a/swingtime/views.py +++ b/swingtime/views.py @@ -254,7 +254,7 @@ def year_view(request, year, template='swingtime/yearly_view.html', queryset=Non ''' year = int(year) - queryset = queryset._clone() if queryset e...
Provided queryset for views gets ignored if empty month_view() and year_view() allow for overwriting the queryset with a custom provided one. But if the provided queryset was empty it resolved to false, thus ignoring a valid, but empty, queryset. Now the condition is more explicit, preventing this behavior.
py
diff --git a/root_pandas/__init__.py b/root_pandas/__init__.py index <HASH>..<HASH> 100644 --- a/root_pandas/__init__.py +++ b/root_pandas/__init__.py @@ -38,7 +38,7 @@ def expand_braces(orig): return list(set(res)) -def get_matching_variables(branches, patterns): +def get_matching_variables(branches, patterns...
Don't fail if ignored pattern is not found
py
diff --git a/pyontutils/utils.py b/pyontutils/utils.py index <HASH>..<HASH> 100644 --- a/pyontutils/utils.py +++ b/pyontutils/utils.py @@ -79,6 +79,7 @@ def _loadPrefixes(): 'ILX':'http://uri.interlex.org/base/ilx_', 'NIFTTL':'http://ontology.neuinfo.org/NIF/ttl/', 'NIFSTD':'http://uri.neuin...
utils added rdf and NIFRET to extras for makePrefixes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ pkg_data = { } pkgs = ["branca"] -LICENSE = read("LICENSE.txt") +LICENSE = "MIT" long_description = "{}".format(read("README.md")) # Dependencies.
Update license in setup.py (#<I>)
py
diff --git a/src/rezplugins/shell/cmd.py b/src/rezplugins/shell/cmd.py index <HASH>..<HASH> 100644 --- a/src/rezplugins/shell/cmd.py +++ b/src/rezplugins/shell/cmd.py @@ -121,7 +121,11 @@ class CMD(Shell): # ex.info('You are now in a rez-configured environment.') # ex.info('') ...
Minimal windows fixes (#2) * Adding Skral's changes (#1) Creating a single branch with all the Windows changes. * Adding in a skrall change that fixed an issue with a subprocess-launched shell being left in a blocked state waiting on user input.
py
diff --git a/wda/__init__.py b/wda/__init__.py index <HASH>..<HASH> 100644 --- a/wda/__init__.py +++ b/wda/__init__.py @@ -476,7 +476,7 @@ class Selector(object): element = self.wait(timeout) eid = element['ELEMENT'] data = json.dumps({'direction': direction}) - return self._request(da...
fix broken swipe() API, due to wda specific endpoint complied with WD spec naming convention <URL>
py
diff --git a/src/justbases/_division.py b/src/justbases/_division.py index <HASH>..<HASH> 100644 --- a/src/justbases/_division.py +++ b/src/justbases/_division.py @@ -67,9 +67,9 @@ class NatDivision(object): if remainder == 0: # pragma: no cover return (0, quotient, [], 0) - remainder = f...
Do not overload name remainder to mean something it is not.
py
diff --git a/trailblazer/store/api.py b/trailblazer/store/api.py index <HASH>..<HASH> 100644 --- a/trailblazer/store/api.py +++ b/trailblazer/store/api.py @@ -104,6 +104,7 @@ class BaseHandler: self.Analysis.family.ilike(f"%{query}%"), self.Analysis.status.ilike(f"%{query}%"), ...
search by comment support (#<I>)
py
diff --git a/generate.py b/generate.py index <HASH>..<HASH> 100644 --- a/generate.py +++ b/generate.py @@ -47,11 +47,12 @@ def symbols(headers): return '\n'.join(lines) + '\n' -if __name__ == '__main__': - +def run(): headers = functions() with open('nnpy/nanomsg.h', 'w') as f: f.write(headers) - with...
Move generation code into a function.
py
diff --git a/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py b/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py +++ b/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py @@ -7...
Decorate EcsRunLauncher as experimental Summary: Now that <URL>
py