diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/carrot/__init__.py b/carrot/__init__.py index <HASH>..<HASH> 100644 --- a/carrot/__init__.py +++ b/carrot/__init__.py @@ -1,5 +1,6 @@ """Easy RabbitMQ/ZeroMQ (AMQP) messaging queue.""" -VERSION = (0, 2, 2) +VERSION = (0, 3, 0) __version__ = ".".join(map(str, VERSION)) __author__ = "Ask Solem" __contact...
Bumped version to <I> and set __docformat__ to restructured text
py
diff --git a/qiskit/extensions/standard/h.py b/qiskit/extensions/standard/h.py index <HASH>..<HASH> 100644 --- a/qiskit/extensions/standard/h.py +++ b/qiskit/extensions/standard/h.py @@ -59,12 +59,6 @@ def h(self, q): instructions.add(self.h((q, j))) return instructions - if isinstance(q, Qua...
remove typo in hadamard gate (#<I>)
py
diff --git a/pycm/pycm_output.py b/pycm/pycm_output.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_output.py +++ b/pycm/pycm_output.py @@ -255,8 +255,12 @@ def table_print(classes, table): :return: printable table as str ''' classes_len = len(classes) - class_max_length = max(map(len, map(str, classes...
fix : minor bug in print_table with large numbers fixed
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -215,6 +215,8 @@ def list_pkgs(*args): cmd = 'rpm -qa --queryformat "%{NAME}_|-%{VERSION}_|-%{RELEASE}\n"' ret = {} for line in __salt__['cmd.run'](cmd).sp...
double check rpm output to have the _|- per #<I>
py
diff --git a/openquake/server/views.py b/openquake/server/views.py index <HASH>..<HASH> 100644 --- a/openquake/server/views.py +++ b/openquake/server/views.py @@ -2,6 +2,7 @@ import shutil import json import logging import os +import traceback import tempfile import urlparse @@ -233,7 +234,7 @@ def run_calc(requ...
Managed the case of invalid zip file Former-commit-id: c<I>ba6a4e<I>ab<I>a3efbf<I>f<I>a<I>f<I>b
py
diff --git a/tests/base.py b/tests/base.py index <HASH>..<HASH> 100644 --- a/tests/base.py +++ b/tests/base.py @@ -41,7 +41,7 @@ def db_loader(engine, name='peewee_test', db_class=None, **params): def get_in_memory_db(**params): - return db_loader('sqlite3', ':memory:', **params) + return db_loader('sqlite3'...
Do not add thread-safety precautions to in-memory sqlite tests.
py
diff --git a/woven/ubuntu.py b/woven/ubuntu.py index <HASH>..<HASH> 100644 --- a/woven/ubuntu.py +++ b/woven/ubuntu.py @@ -196,8 +196,9 @@ def install_packages(rollback = False,overwrite=False): if env.verbosity: print env.host, "INSTALLING & CONFIGURING HOST PACKAGES:" #Remove apparmor -...
fix setupnode failure where apparmor is not installed by default in Ubuntu. Ironically setupnode fails to disable the non-existant apparmor
py
diff --git a/examples/tutorial_pandas.py b/examples/tutorial_pandas.py index <HASH>..<HASH> 100644 --- a/examples/tutorial_pandas.py +++ b/examples/tutorial_pandas.py @@ -12,7 +12,7 @@ def main(host='localhost', port=8086): user = 'root' password = 'root' dbname = 'demo' - protocol = 'json' + proto...
this tutorial did not write to the database with the protocol set to json. It worked when changed to line (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( license='MIT', packages=find_packages(exclude=('example', 'tests')), install_requires=[ - 'Django>=1.4.2,<1.4.99,>=1.7,<1.8.99', + 'Django>=1.4.2,<1.8.99,!=1.5,!=1.6', ...
Fixed issue with pip unable to install package
py
diff --git a/dataproperty/_preprocessor.py b/dataproperty/_preprocessor.py index <HASH>..<HASH> 100644 --- a/dataproperty/_preprocessor.py +++ b/dataproperty/_preprocessor.py @@ -39,6 +39,17 @@ class Preprocessor(object): self.line_break_handling = normalize_lbh(line_break_handling) self.is_escape_htm...
Add __repr__ method to Preprocessor class
py
diff --git a/src/RequestsLibrary/version.py b/src/RequestsLibrary/version.py index <HASH>..<HASH> 100644 --- a/src/RequestsLibrary/version.py +++ b/src/RequestsLibrary/version.py @@ -1 +1 @@ -VERSION = '0.6.4' +VERSION = '0.6.5'
Increased version to <I>
py
diff --git a/iktomi/web/url.py b/iktomi/web/url.py index <HASH>..<HASH> 100644 --- a/iktomi/web/url.py +++ b/iktomi/web/url.py @@ -102,12 +102,6 @@ class URL(str): def qs_get(self, key, default=None): return self.query.get(key, default=default) - def qs_getall(self, key): - return self.query.g...
qs_getall and qs_getone methods are useless
py
diff --git a/pyvista/plotting/renderer.py b/pyvista/plotting/renderer.py index <HASH>..<HASH> 100644 --- a/pyvista/plotting/renderer.py +++ b/pyvista/plotting/renderer.py @@ -1306,9 +1306,8 @@ class Renderer(_vtk.vtkRenderer): self.scale = [xscale, yscale, zscale] # Update the camera's coordinate sy...
♻️ Refactor code. (#<I>)
py
diff --git a/troposphere/ec2.py b/troposphere/ec2.py index <HASH>..<HASH> 100644 --- a/troposphere/ec2.py +++ b/troposphere/ec2.py @@ -1252,6 +1252,7 @@ class TransitGateway(AWSObject): "DefaultRouteTablePropagation": (str, False), "Description": (str, False), "DnsSupport": (str, False), + ...
Transit-Gateway MulticastSupport (#<I>) * Add MulticastSupport attribute
py
diff --git a/mlprimitives/adapters/networkx.py b/mlprimitives/adapters/networkx.py index <HASH>..<HASH> 100644 --- a/mlprimitives/adapters/networkx.py +++ b/mlprimitives/adapters/networkx.py @@ -13,6 +13,8 @@ LOGGER = logging.getLogger(__name__) def graph_pairs_feature_extraction(X, functions, node_columns, graph=None...
Prevent warning because of DataFrame slice modification
py
diff --git a/gitenberg/util/catalog.py b/gitenberg/util/catalog.py index <HASH>..<HASH> 100644 --- a/gitenberg/util/catalog.py +++ b/gitenberg/util/catalog.py @@ -187,5 +187,8 @@ class Rdfcache(object): pg_ids.append(pg_id) pg_id += 1 else: - more = False + ...
better handling of unused ids
py
diff --git a/subconvert/gui/MainWindow.py b/subconvert/gui/MainWindow.py index <HASH>..<HASH> 100644 --- a/subconvert/gui/MainWindow.py +++ b/subconvert/gui/MainWindow.py @@ -62,7 +62,7 @@ License: $license <h3>Authors</h3> <p> -Main programmer: $author<br/> +Development: $author<br/> Logo: $author<br/> Icons: <a...
Changed 'about screen' text
py
diff --git a/bebop/model.py b/bebop/model.py index <HASH>..<HASH> 100644 --- a/bebop/model.py +++ b/bebop/model.py @@ -69,7 +69,7 @@ class BooleanField(Field): class DateField(Field): solr_field_type = schema.Date -class Random(Field): +class RandomField(Field): solr_field_type = schema.Random class Sor...
[fix] Changing Random to RandomField to follow naming convention
py
diff --git a/pipenv/core.py b/pipenv/core.py index <HASH>..<HASH> 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1087,7 +1087,7 @@ def do_lock(verbose=False, system=False, clear=False, pre=False, keep_outdated=F lockfile['develop'].update({dep['name']: {'version': '=={0}'.format(dep['version'])}}) ...
sort hashes (#<I>)
py
diff --git a/tests/test_webapp_web_aikif.py b/tests/test_webapp_web_aikif.py index <HASH>..<HASH> 100644 --- a/tests/test_webapp_web_aikif.py +++ b/tests/test_webapp_web_aikif.py @@ -48,6 +48,7 @@ class WebAppWebAikif(unittest.TestCase): def test_07_page_programs(self): pass + print('TODO...
reminder that page_programs is not tested
py
diff --git a/spade/swi.py b/spade/swi.py index <HASH>..<HASH> 100644 --- a/spade/swi.py +++ b/spade/swi.py @@ -104,7 +104,7 @@ class SWIHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): t = SWIHandler.templates[template] else: try: - t = pyrate...
Fixed bug in swi regarding template directory location, again
py
diff --git a/scoop/_types.py b/scoop/_types.py index <HASH>..<HASH> 100644 --- a/scoop/_types.py +++ b/scoop/_types.py @@ -410,6 +410,6 @@ class FutureQueue(object): from scoop import _debug _debug.writeWorkerDebug(control.debug_stats, control.Q...
+ Forgot to catch a type of error in shutdown
py
diff --git a/test/test_utils.py b/test/test_utils.py index <HASH>..<HASH> 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -29,7 +29,7 @@ import textwrap # these functions are normally not available but can be imported # using their names for testing purposes -from sos.utils import env, logger, Workflow...
Replace sfix testmplemented progress bar with tqdm (close #<I>)
py
diff --git a/pydocmd/loader.py b/pydocmd/loader.py index <HASH>..<HASH> 100644 --- a/pydocmd/loader.py +++ b/pydocmd/loader.py @@ -51,7 +51,7 @@ class PythonLoader(object): assert section.identifier is not None obj, scope = import_object_with_scope(section.identifier) - section.title = obj.__name__ + ...
in PythonLoader, fallback to section.identifier if loaded obj has no __name__ attribute
py
diff --git a/optalg/opt_solver/iqp.py b/optalg/opt_solver/iqp.py index <HASH>..<HASH> 100644 --- a/optalg/opt_solver/iqp.py +++ b/optalg/opt_solver/iqp.py @@ -18,12 +18,13 @@ class OptSolverIQP(OptSolver): """ # Solver parameters - parameters = {'tol': 1e-4, # optimality tolerance - ...
added iqp linsolver param
py
diff --git a/rllib/agents/ddpg/ddpg_policy.py b/rllib/agents/ddpg/ddpg_policy.py index <HASH>..<HASH> 100644 --- a/rllib/agents/ddpg/ddpg_policy.py +++ b/rllib/agents/ddpg/ddpg_policy.py @@ -295,7 +295,8 @@ class DDPGTFPolicy(DDPGPostprocessing, TFPolicy): # Note that this encompasses both the policy and Q-val...
Checkpoint Adam momenta for DDPG (#<I>)
py
diff --git a/pyes/managers.py b/pyes/managers.py index <HASH>..<HASH> 100644 --- a/pyes/managers.py +++ b/pyes/managers.py @@ -218,8 +218,12 @@ class Indices(object): indices_metadata = state['metadata']['indices'] for index in sorted(indices_status.keys()): info = indices_status[index] -...
Fix a race condition on index' doc count retrieval managers.Indices.get_indices() could fail (and raise a KeyError) upon reading the 'num_docs' of an index just created. Catching the exception and setting the 'num_docs' to 0 (which is the actual value) fixes the problem.
py
diff --git a/odl/discr/tensor_ops.py b/odl/discr/tensor_ops.py index <HASH>..<HASH> 100644 --- a/odl/discr/tensor_ops.py +++ b/odl/discr/tensor_ops.py @@ -147,11 +147,10 @@ class PointwiseNorm(PointwiseTensorFieldOperator): 0 and 1 are currently not supported due to numerical instability. ...
MAINT: minor style fix to PointwiseNorm
py
diff --git a/demosys/scene/camera.py b/demosys/scene/camera.py index <HASH>..<HASH> 100644 --- a/demosys/scene/camera.py +++ b/demosys/scene/camera.py @@ -96,10 +96,10 @@ class Camera: self.yaw -= x_offset self.pitch += y_offset - if self.pitch > 80.0: - self.pitch = 80.0 - ...
Constrain camera pitch as little as possible for now
py
diff --git a/vstutils/__init__.py b/vstutils/__init__.py index <HASH>..<HASH> 100644 --- a/vstutils/__init__.py +++ b/vstutils/__init__.py @@ -1,2 +1,2 @@ # pylint: disable=django-not-available -__version__ = '1.2.0.dev11' +__version__ = '1.2.0.dev12'
Update dev version to <I>
py
diff --git a/src/comet.py b/src/comet.py index <HASH>..<HASH> 100644 --- a/src/comet.py +++ b/src/comet.py @@ -380,8 +380,8 @@ class CometJoyceClientRelay(JoyceRelay): if data is None and not self.token is None: data = [self.token] else: - data.append(self.token) - data ...
comet: client: fix order of sent messages
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,7 +3,6 @@ from crate.theme.rtd.conf import * project = u'Crate PDO' source_suffix = '.rst' html_theme_options.update({ - 'canonical_url_path': 'docs/projects/crate-pdo/', + 'canonical_url_path': 'do...
config change for new urls
py
diff --git a/tensor2tensor/layers/modalities.py b/tensor2tensor/layers/modalities.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/layers/modalities.py +++ b/tensor2tensor/layers/modalities.py @@ -693,7 +693,8 @@ class RealModality(modality.Modality): def bottom(self, x): with tf.variable_scope("real"): - ...
Make sure the types are floats in RealModality bottom. PiperOrigin-RevId: <I>
py
diff --git a/haas/testing.py b/haas/testing.py index <HASH>..<HASH> 100644 --- a/haas/testing.py +++ b/haas/testing.py @@ -4,6 +4,11 @@ # # This software may be modified and distributed under the terms # of the 3-clause BSD license. See the LICENSE.txt file for details. +__all__ = [ + 'expected_failure', + 'u...
Fix coverage and pyflakes in haas.testing
py
diff --git a/spambl.py b/spambl.py index <HASH>..<HASH> 100644 --- a/spambl.py +++ b/spambl.py @@ -367,8 +367,9 @@ class GoogleSafeBrowsing(object): if response.status_code == 200: yield chunk, response - - def contains_any(self, urls): + + @accepts_...
Modify interface and implementation of GoogleSafeBrowsing class The class is being modified to contain any_match and lookup_matching methods. The old methods contains_any and lookup are being renamed to these two methods, respectively. Their implementation is being modified with adding accepts_valid_urls decorator to ...
py
diff --git a/python/rez/cli/build.py b/python/rez/cli/build.py index <HASH>..<HASH> 100644 --- a/python/rez/cli/build.py +++ b/python/rez/cli/build.py @@ -308,7 +308,7 @@ def command(opts): build_mode.build_time = opts.time if not opts.variant_nums: - opts.variant_nums = [0] + opts.variant_num...
bugfix to "move the guts of rez-build into rez-release"
py
diff --git a/versions/models.py b/versions/models.py index <HASH>..<HASH> 100644 --- a/versions/models.py +++ b/versions/models.py @@ -1072,7 +1072,8 @@ class Versionable(models.Model): source = getattr(self, manager_field_name) # returns a VersionedRelatedManager instance # Destination: the clone, w...
One of my non-performance-relevant changes in clone_relations() seems to have introduced a bug, so I reverted this.
py
diff --git a/src/rez/tests/test_config.py b/src/rez/tests/test_config.py index <HASH>..<HASH> 100644 --- a/src/rez/tests/test_config.py +++ b/src/rez/tests/test_config.py @@ -232,11 +232,9 @@ class TestConfig(TestBase): # test basic env-var override packages_path = [ - "c:/foo bar/baz", -...
fixed linux-only bug in new test (':' is pathsep)
py
diff --git a/iktomi/db/sqla/__init__.py b/iktomi/db/sqla/__init__.py index <HASH>..<HASH> 100644 --- a/iktomi/db/sqla/__init__.py +++ b/iktomi/db/sqla/__init__.py @@ -56,6 +56,6 @@ def session_maker(databases, query_cls=Query, models_location='models', engine = create_engine(databases, **engine_params) ...
Pass engine_params to multidb_binds
py
diff --git a/great_expectations/data_context/data_context.py b/great_expectations/data_context/data_context.py index <HASH>..<HASH> 100644 --- a/great_expectations/data_context/data_context.py +++ b/great_expectations/data_context/data_context.py @@ -538,6 +538,7 @@ class BaseDataContext(object): return se...
evalparams restore the compiled flag to False
py
diff --git a/rachiopy/device.py b/rachiopy/device.py index <HASH>..<HASH> 100644 --- a/rachiopy/device.py +++ b/rachiopy/device.py @@ -65,13 +65,13 @@ class Device(object): payload = {'id': dev_id} return self.rachio.put(path, payload) - def pause(self, dev_id, duration): + def pauseZoneRun(se...
Update names Make the names match the API.
py
diff --git a/metpy/calc/tests/test_tools.py b/metpy/calc/tests/test_tools.py index <HASH>..<HASH> 100644 --- a/metpy/calc/tests/test_tools.py +++ b/metpy/calc/tests/test_tools.py @@ -241,6 +241,13 @@ def test_get_bound_pressure_height(pressure, bound, hgts, interp, expected): assert_array_almost_equal(bounds[1], e...
Add tests for bounds and depths with invalid units
py
diff --git a/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py b/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py index <HASH>..<HASH> 100644 --- a/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py +++ b/tools/run_tests/xds_k8s_test_driver/f...
Fix the backend service creation problem in xds k8s framework (#<I>)
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -130,7 +130,7 @@ html_theme = 'default' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file...
Sphinx: we don't have static HTML files at least for now commenting out html_static_path gets rid of a warning.
py
diff --git a/salt/beacons/diskusage.py b/salt/beacons/diskusage.py index <HASH>..<HASH> 100644 --- a/salt/beacons/diskusage.py +++ b/salt/beacons/diskusage.py @@ -63,8 +63,8 @@ def beacon(config): beacons: diskusage: - interval: 120 - - 'c:\': 90% - - 'd:\': 50% +...
Fix beacon documentation for the new beahavior mentioned in issue #<I>
py
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index <HASH>..<HASH> 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -364,12 +364,12 @@ def get_existing_cluster(conn, opts, cluster_name, die_on_error=True): slave_nodes = [] for res in reservations: active = [i for i in res.instances if is_active(i)]...
Fix issue with spark_ec2 seeing empty security groups Under unknown, but occasional, circumstances, reservation.groups is empty despite reservation.instances each having groups. This means that the spark_ec2 get_existing_clusters() method would fail to find any instances. To fix it, we simply use the instances' groups...
py
diff --git a/pygtkhelpers/delegates.py b/pygtkhelpers/delegates.py index <HASH>..<HASH> 100644 --- a/pygtkhelpers/delegates.py +++ b/pygtkhelpers/delegates.py @@ -246,6 +246,8 @@ class SlaveView(BaseDelegate): if toplevel is None: toplevel = get_first_builder_window(builder).child if topl...
add a todo comment for a confusion in delegate
py
diff --git a/django_extensions/management/commands/graph_models.py b/django_extensions/management/commands/graph_models.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/graph_models.py +++ b/django_extensions/management/commands/graph_models.py @@ -56,7 +56,7 @@ class Command(BaseCommand): ...
fix #<I> compare tuples instead of list and tuples
py
diff --git a/modin/pandas/__init__.py b/modin/pandas/__init__.py index <HASH>..<HASH> 100644 --- a/modin/pandas/__init__.py +++ b/modin/pandas/__init__.py @@ -223,9 +223,10 @@ elif execution_engine == "Dask": # pragma: no cover client = _get_global_client() if client is None: from distri...
Increase `n_workers` for Dask from default to number of cores (#<I>) * Resolves #<I> * Increases the number of workers for Dask to the number of cores
py
diff --git a/ads/tests/test_export.py b/ads/tests/test_export.py index <HASH>..<HASH> 100644 --- a/ads/tests/test_export.py +++ b/ads/tests/test_export.py @@ -3,6 +3,7 @@ Tests for ExportQuery """ import unittest import six +import os from .mocks import MockExportResponse @@ -29,7 +30,7 @@ class TestMetricsQuer...
ExportQuery: use os.path.join for http-mock in tests
py
diff --git a/src/retrace.py b/src/retrace.py index <HASH>..<HASH> 100755 --- a/src/retrace.py +++ b/src/retrace.py @@ -241,7 +241,7 @@ class Retry(object): else: self._limit = limit - _LOG.debug("Addling limiter %s to decorator", + _LOG.debug("Adding limiter %s to decorator", ...
Fixed a number of small typos in the log messages
py
diff --git a/msmtools/generation/tests/test_generation.py b/msmtools/generation/tests/test_generation.py index <HASH>..<HASH> 100644 --- a/msmtools/generation/tests/test_generation.py +++ b/msmtools/generation/tests/test_generation.py @@ -23,7 +23,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...
[generation] Fixed randomly failing generation test.
py
diff --git a/tests/integration/nupic/engine/temporal_memory_compatibility_test.py b/tests/integration/nupic/engine/temporal_memory_compatibility_test.py index <HASH>..<HASH> 100755 --- a/tests/integration/nupic/engine/temporal_memory_compatibility_test.py +++ b/tests/integration/nupic/engine/temporal_memory_compatibili...
Change temporalImp to tm_py for both networks and add comment about it being a temporary value until C++ TM is implemented
py
diff --git a/muttdown/main.py b/muttdown/main.py index <HASH>..<HASH> 100644 --- a/muttdown/main.py +++ b/muttdown/main.py @@ -163,7 +163,7 @@ def main(): cmd = c.sendmail.split() + ['-f', args.envelope_from] + args.addresses proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, shell=False) - ...
encode input before passing to sendmail_passthru fixes #<I>
py
diff --git a/gns3server/modules/project_manager.py b/gns3server/modules/project_manager.py index <HASH>..<HASH> 100644 --- a/gns3server/modules/project_manager.py +++ b/gns3server/modules/project_manager.py @@ -68,7 +68,9 @@ class ProjectManager: """ if project_id is not None and project_id in self....
Do not return an error when creating the same project multiple times (for now).
py
diff --git a/ipyrad/analysis/__main__.py b/ipyrad/analysis/__main__.py index <HASH>..<HASH> 100644 --- a/ipyrad/analysis/__main__.py +++ b/ipyrad/analysis/__main__.py @@ -188,6 +188,8 @@ def main(): ## store ipcluster info data._ipcluster["cores"] = args.cores + if args.cores: + data.cpus = args.c...
added cores arg to svd4tet
py
diff --git a/examples/learning_feedback_example.py b/examples/learning_feedback_example.py index <HASH>..<HASH> 100644 --- a/examples/learning_feedback_example.py +++ b/examples/learning_feedback_example.py @@ -46,7 +46,7 @@ while True: print('\n Is "{}" this a coherent response to "{}"? \n'.format(response, i...
second param passed which was causing issue <I>
py
diff --git a/embed_video/templatetags/embed_video_tags.py b/embed_video/templatetags/embed_video_tags.py index <HASH>..<HASH> 100644 --- a/embed_video/templatetags/embed_video_tags.py +++ b/embed_video/templatetags/embed_video_tags.py @@ -48,7 +48,7 @@ class VideoNode(Node): error_msg = 'Syntax error. Expected: ``...
Change the regex to allow only numbers
py
diff --git a/galpy/util/bovy_coords.py b/galpy/util/bovy_coords.py index <HASH>..<HASH> 100644 --- a/galpy/util/bovy_coords.py +++ b/galpy/util/bovy_coords.py @@ -2283,6 +2283,10 @@ def get_epoch_angles(epoch=2000.0): c= c.transform_to(apycoords.ICRS) dec_ngp= c.dec.to(units.rad).value ra...
Hardcode ICRS epoch angles in case astropy is not installed, because these are now used in many parts of the code
py
diff --git a/greenwich/raster.py b/greenwich/raster.py index <HASH>..<HASH> 100644 --- a/greenwich/raster.py +++ b/greenwich/raster.py @@ -651,10 +651,12 @@ class Raster(Comparable): warpsize = (vrt.RasterXSize, vrt.RasterYSize, len(self)) warptrans = vrt.GetGeoTransform() vrt = None - ...
Only close MemFileIO when created internally
py
diff --git a/zvmsdk/xcatclient.py b/zvmsdk/xcatclient.py index <HASH>..<HASH> 100644 --- a/zvmsdk/xcatclient.py +++ b/zvmsdk/xcatclient.py @@ -2354,8 +2354,10 @@ class XCATClient(client.ZVMClient): raise exception.zVMConfigException( msg=("Only support one Management networ...
Display the xcat management network congiguration When the error happens, give more info to the user Change-Id: Ied4c<I>d<I>fbc0b<I>e<I>da<I>cdcb8
py
diff --git a/src/rituals/acts/basic.py b/src/rituals/acts/basic.py index <HASH>..<HASH> 100644 --- a/src/rituals/acts/basic.py +++ b/src/rituals/acts/basic.py @@ -122,8 +122,8 @@ def build(ctx, docs=False): )) def freeze(ctx, local=False): """Freeze currently installed requirements.""" - cmd = 'pip freeze{}'....
:arrow_upper_right: suppress the pip version check warning
py
diff --git a/hdf5storage/Marshallers.py b/hdf5storage/Marshallers.py index <HASH>..<HASH> 100644 --- a/hdf5storage/Marshallers.py +++ b/hdf5storage/Marshallers.py @@ -740,8 +740,8 @@ class NumpyScalarArrayMarshaller(TypeMarshaller): esc_field = escaped_field_names[i] new_data = np.zero...
Changed two numpy array iterators to flat iterators.
py
diff --git a/satpy/readers/hy2_scat_l2b_h5.py b/satpy/readers/hy2_scat_l2b_h5.py index <HASH>..<HASH> 100644 --- a/satpy/readers/hy2_scat_l2b_h5.py +++ b/satpy/readers/hy2_scat_l2b_h5.py @@ -39,6 +39,11 @@ class HY2SCATL2BH5FileHandler(HDF5FileHandler): return datetime.strptime(self['/attr/Range_Ending_Time'],...
Need 'platform_name' as an attribute
py
diff --git a/examples/11_to_10_downgrade/openioc_11_to_10.py b/examples/11_to_10_downgrade/openioc_11_to_10.py index <HASH>..<HASH> 100644 --- a/examples/11_to_10_downgrade/openioc_11_to_10.py +++ b/examples/11_to_10_downgrade/openioc_11_to_10.py @@ -345,7 +345,7 @@ class ioc_manager: output_dir = os.path.absp...
openioc_<I>_to_<I>.py - Bugfix when writing downgraded IOCs to disk.
py
diff --git a/molo/core/context_processors.py b/molo/core/context_processors.py index <HASH>..<HASH> 100644 --- a/molo/core/context_processors.py +++ b/molo/core/context_processors.py @@ -1,22 +1,13 @@ from django.utils.translation import get_language_from_request -from django.core.cache import cache from molo.core.ut...
caching languages is not going to work
py
diff --git a/pysoa/common/transport/asgi/core.py b/pysoa/common/transport/asgi/core.py index <HASH>..<HASH> 100644 --- a/pysoa/common/transport/asgi/core.py +++ b/pysoa/common/transport/asgi/core.py @@ -46,13 +46,10 @@ class SentinelMasterConnectionList(object): self._maybe_refresh_masters() def _maybe_...
don't really need a separate should_refresh method
py
diff --git a/lib/versioninfo.py b/lib/versioninfo.py index <HASH>..<HASH> 100644 --- a/lib/versioninfo.py +++ b/lib/versioninfo.py @@ -36,9 +36,7 @@ def printVersionInfo(): 'pyraf', 'multidrizzle', 'pydrizzle', - 'upincd', - 'deriv', - ...
Version info modified to report on critical libraries/tasks, replacing 'deriv' and related tasks with 'makewcs'. WJH git-svn-id: <URL>
py
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index <HASH>..<HASH> 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -59,7 +59,9 @@ def parse_args(): "WARNING: must be 64-bit; small instances won't work") parser.add_option("-m", "--master-instance-type", default="", help="Master instance ...
Made region used by spark-ec2 configurable.
py
diff --git a/runtime-management/runtime-management-impl/src/main/resources/eval.py b/runtime-management/runtime-management-impl/src/main/resources/eval.py index <HASH>..<HASH> 100644 --- a/runtime-management/runtime-management-impl/src/main/resources/eval.py +++ b/runtime-management/runtime-management-impl/src/main/res...
cs_regex: added a flag to indicate if input should be split into lines before applying the regex changed function to return all the matches
py
diff --git a/pronto/entity.py b/pronto/entity.py index <HASH>..<HASH> 100644 --- a/pronto/entity.py +++ b/pronto/entity.py @@ -126,6 +126,8 @@ class Entity: @property def annotations(self) -> FrozenSet[PropertyValue]: + """`frozenset` of `PropertyValue`: Annotations relevant to the entity. + "...
Add missing docstring to some `Entity` properties [ci skip]
py
diff --git a/waliki/git/views.py b/waliki/git/views.py index <HASH>..<HASH> 100644 --- a/waliki/git/views.py +++ b/waliki/git/views.py @@ -69,9 +69,14 @@ def diff(request, slug, old, new, raw=False): def whatchanged(request, pag=1): changes = [] + # The argument passed for pag might be a string, but we want ...
fixed roundoff error for whatchanged pagination
py
diff --git a/creamas/core/environment.py b/creamas/core/environment.py index <HASH>..<HASH> 100644 --- a/creamas/core/environment.py +++ b/creamas/core/environment.py @@ -115,11 +115,15 @@ class Environment(Container): def get_agent(self, addr): """Get agent in given address. - :raises ValueError...
Refactored Environment.get_agent to use Environment._base_url as a reference.
py
diff --git a/airflow/utils/db.py b/airflow/utils/db.py index <HASH>..<HASH> 100644 --- a/airflow/utils/db.py +++ b/airflow/utils/db.py @@ -661,6 +661,7 @@ def check_conn_id_duplicates(session=None) -> Iterable[str]: dups = session.query(Connection.conn_id).group_by(Connection.conn_id).having(func.count() > 1)....
Fix errors upgrading from Airflow <I> (#<I>) If either of those checks failed the session was left in a transaction with a failure so couldn't be used for future tests. And the second check (conn_type_null) _always_ failed on <I>, because even thought the table existed, the `description` column which the model e...
py
diff --git a/discord/colour.py b/discord/colour.py index <HASH>..<HASH> 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -65,7 +65,7 @@ class Colour: return not self.__eq__(other) def __str__(self): - return '#' + format(self.value, 'x') + return '#{:0>6x}'.format(self.value) ...
Fix Colour.__str__ to actually pad zeroes.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ if sys.version_info[:2] < (2, 4): try: from setuptools import setup params = { - 'install_requires': [ 'pyasn1>=0.1.2' ], + 'install_requires': [ 'pyasn1>=0.1.8' ], 'zip_safe': ...
require pyasn1 <I>+ just to push package maintainers to upgrade - there is no actual technical requirement for that
py
diff --git a/ibm_s3transfer/__init__.py b/ibm_s3transfer/__init__.py index <HASH>..<HASH> 100755 --- a/ibm_s3transfer/__init__.py +++ b/ibm_s3transfer/__init__.py @@ -143,7 +143,7 @@ from ibm_s3transfer.exceptions import RetriesExceededError, S3UploadFailedError __author__ = 'IBM' -__version__ = '2.3.3' +__version...
Update version to <I>.dev1
py
diff --git a/yoti_python_sdk/age_verification.py b/yoti_python_sdk/age_verification.py index <HASH>..<HASH> 100644 --- a/yoti_python_sdk/age_verification.py +++ b/yoti_python_sdk/age_verification.py @@ -1,8 +1,5 @@ -from yoti_python_sdk.attribute import Attribute - - class AgeVerification(object): - def __init__(se...
SDK-<I>: Fix syntax for Python <I> support and add some unit tests for age verification
py
diff --git a/command/sdist.py b/command/sdist.py index <HASH>..<HASH> 100644 --- a/command/sdist.py +++ b/command/sdist.py @@ -347,14 +347,14 @@ class sdist (Command): * the build tree (typically "build") * the release tree itself (only an issue if we ran "sdist" previously with --kee...
#<I>: ignore other VC directories other than CVS and SVN's too.
py
diff --git a/hvac/v1/__init__.py b/hvac/v1/__init__.py index <HASH>..<HASH> 100644 --- a/hvac/v1/__init__.py +++ b/hvac/v1/__init__.py @@ -606,7 +606,7 @@ class Client(object): if role: params['role'] = role - return self.auth('/v1/auth/{0}/login'.format(mount_point), json=params, use_tok...
Remove redundant .json() innvocation. The auth method already unmarshals the response body into a dict from JSON.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,8 @@ #!/usr/bin/env python +# The VERSION variable is automagically changed +# by release.sh. Make sure you understand how +# that script works if you want to change this VERSION='0.0.13' from setuptools import...
Add a note in setup.py
py
diff --git a/lambdas/es/indexer/document_queue.py b/lambdas/es/indexer/document_queue.py index <HASH>..<HASH> 100644 --- a/lambdas/es/indexer/document_queue.py +++ b/lambdas/es/indexer/document_queue.py @@ -121,7 +121,7 @@ class DocumentQueue: "_id": f"{handle}:{package_hash}", "handle...
Revert field name change (#<I>)
py
diff --git a/pythran/analyses/aliases.py b/pythran/analyses/aliases.py index <HASH>..<HASH> 100644 --- a/pythran/analyses/aliases.py +++ b/pythran/analyses/aliases.py @@ -602,7 +602,7 @@ class Aliases(ModuleAnalysis): node.return_alias = merge_return_aliases def visit_Assign(self, node): - ''...
\o/ was not intended as a backslash-escape. Tell python. Avoid SyntaxWarnings due to invalid backslash-escapes.
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -1094,10 +1094,8 @@ output"), def __eq__(self, other): - try: - return str(self) == str(other) - except: - return False + return str(self) == str(other) + __hash__ = None # Avoid D...
exceptions should propagate in __eq__
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ try: import pypandoc long_description = pypandoc.convert(README, 'rst') except: - long_description = open(README).read() + long_description = '' setup( name='yahooscraper',
Don't fallback on opening README -- may not exist
py
diff --git a/pancloud/credentials.py b/pancloud/credentials.py index <HASH>..<HASH> 100644 --- a/pancloud/credentials.py +++ b/pancloud/credentials.py @@ -107,6 +107,17 @@ class Credentials(object): if len(kwargs) > 0: raise UnexpectedKwargsError(kwargs) + def __repr__(self): + ...
Add __repr__ to Credentials class and mask secrets (#<I>)
py
diff --git a/ratcave/mesh.py b/ratcave/mesh.py index <HASH>..<HASH> 100644 --- a/ratcave/mesh.py +++ b/ratcave/mesh.py @@ -171,9 +171,7 @@ class Mesh(mixins.Picklable): # Bind Cubemap if mesh is to be rendered with the cubemap. shader.uniformi('hasCubeMap', int(self.cubemap)) ...
removed cubemap code that checks the window and scene--the FBO destination should do that already, and my decision to move to a userdata input will allow us to explicitly send data to the Shader
py
diff --git a/filer/models/filemodels.py b/filer/models/filemodels.py index <HASH>..<HASH> 100644 --- a/filer/models/filemodels.py +++ b/filer/models/filemodels.py @@ -1,6 +1,10 @@ #-*- coding: utf-8 -*- from __future__ import unicode_literals +import django +import hashlib +import os + from django.core import urlr...
Updated get_admin_url_path to work with django <I> deprecation of _meta.module_name
py
diff --git a/examples/app.py b/examples/app.py index <HASH>..<HASH> 100644 --- a/examples/app.py +++ b/examples/app.py @@ -28,6 +28,7 @@ Create database and tables:: $ cd examples $ export FLASK_APP=app.py + $ export FLASK_DEBUG=1 $ mkdir -p instance $ flask db init $ flask db create @@ -39,7 +4...
docs: debugging instructions fix * Fixes debugging instructions in example app. (closes #<I>)
py
diff --git a/aquarius/events/events_monitor.py b/aquarius/events/events_monitor.py index <HASH>..<HASH> 100644 --- a/aquarius/events/events_monitor.py +++ b/aquarius/events/events_monitor.py @@ -387,12 +387,13 @@ class EventsMonitor: def get_event_data(self, event): tx_id = event.transactionHash.hex() +...
fix getting sender address from updated metadata event.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ else: #library_dirs=['./mupdf/platform/win32/x64/Release'], sources=['./fitz/fitz_wrap.c',]) -setup(name = 'fitz', +setup(name = 'PyMuPDF', version = "1.1...
Change "name" parameter in "setup" method For proper egg-entries it should be "PyMuPDF" and not "fitz" (for some reason previously undetected ...)
py
diff --git a/projects/str.py b/projects/str.py index <HASH>..<HASH> 100644 --- a/projects/str.py +++ b/projects/str.py @@ -304,6 +304,8 @@ def mendelian2(args): style = {"Correct": correct, "Error": error, "Missing": missing}[col] ws.write(r, c, converter(col), styl...
[projects] Freeze top row in str
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,8 @@ setup( setup_requires=['pytest-runner'], tests_require=['mock', 'pytest', 'sh>=1.08'], extras_require={ - 'yaml': ['PyYAML>=3.10'] + 'yaml': ['PyYAML>=3.10'], + ':python_versi...
feat(dependencies): fix SNI errors on python2 (#<I>) See: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,16 +3,21 @@ import subprocess from setuptools import setup, find_packages +CWD = os.path.dirname(__file__) + + def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() + return open(...
Include version in __init__.py
py
diff --git a/juju/bundle.py b/juju/bundle.py index <HASH>..<HASH> 100644 --- a/juju/bundle.py +++ b/juju/bundle.py @@ -683,10 +683,10 @@ class CreateOfferChange(ChangeInfo): def __str__(self): endpoints = "" if self.endpoints is not None: - endpoints = self.endpoints.join(",") - ...
Ensure we handle empty endpoints The following cleans up the formatting if there is empty endpoints
py
diff --git a/alerta/utils/audit.py b/alerta/utils/audit.py index <HASH>..<HASH> 100644 --- a/alerta/utils/audit.py +++ b/alerta/utils/audit.py @@ -47,8 +47,8 @@ class AuditTrail: def _log_response(self, app: Flask, category: str, event: str, message: str, user: str, customers: List[str], s...
Set audit log level to info, not debug (#<I>)
py
diff --git a/raiden/transfer/node.py b/raiden/transfer/node.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/node.py +++ b/raiden/transfer/node.py @@ -501,14 +501,8 @@ def handle_token_network_action( def handle_delivered(chain_state: ChainState, state_change: ReceiveDelivered) -> TransitionResult: """ Check ...
Instantiate QueueIdentifier with the state_change data
py
diff --git a/file_config/handlers/toml.py b/file_config/handlers/toml.py index <HASH>..<HASH> 100644 --- a/file_config/handlers/toml.py +++ b/file_config/handlers/toml.py @@ -102,6 +102,8 @@ class TOMLHandler(BaseHandler): :param module toml: The ``toml`` module :param dict dictionary: The dictionar...
Adding docstring line for inline_tables in toml dumper
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,8 @@ requirements = [ 'matplotlib', 'pyyaml', 'multiprocess', - 'setproctitle' + 'setproctitle', + 'joblib' ] setup(name='core',
Add joblib as dependency in setup.py
py
diff --git a/dask_kubernetes/classic/kubecluster.py b/dask_kubernetes/classic/kubecluster.py index <HASH>..<HASH> 100644 --- a/dask_kubernetes/classic/kubecluster.py +++ b/dask_kubernetes/classic/kubecluster.py @@ -353,7 +353,7 @@ class KubeCluster(SpecCluster): Run the scheduler as "local" or "remote". ...
fix typo in docstring (#<I>)
py