diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "2.7.2" +_BASE_VERSION = "2.7.3" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/unyt/tests/test_linters.py b/unyt/tests/test_linters.py index <HASH>..<HASH> 100644 --- a/unyt/tests/test_linters.py +++ b/unyt/tests/test_linters.py @@ -33,7 +33,7 @@ def test_black(): stderr=subprocess.PIPE, ) output = p.communicate() - if p.returncode and "No module named black" no...
this needs to be bytes on py<I> and <I>
py
diff --git a/anndata/_core/anndata.py b/anndata/_core/anndata.py index <HASH>..<HASH> 100644 --- a/anndata/_core/anndata.py +++ b/anndata/_core/anndata.py @@ -1124,7 +1124,8 @@ class AnnData(metaclass=utils.DeprecationMixinMeta): if not is_categorical_dtype(df_full[k]): continue ...
Fix setting with copy warning (#<I>)
py
diff --git a/bcbio/variation/vardict.py b/bcbio/variation/vardict.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/vardict.py +++ b/bcbio/variation/vardict.py @@ -95,10 +95,7 @@ def _run_vardict_caller(align_bams, items, ref_file, assoc_files, vcfutils.merge_variant_files(orig_files=sample_vcf_name...
Avoid annotating VarDict calls with GATK due to intermittent issues with large files.
py
diff --git a/envvars/__init__.py b/envvars/__init__.py index <HASH>..<HASH> 100644 --- a/envvars/__init__.py +++ b/envvars/__init__.py @@ -27,6 +27,21 @@ def get(key, default=None): return os.environ.get(key.upper(), default) +def save(filepath=None, **kwargs): + """ + Saves a list of keyword arg...
Added save function for exporting environment variables.
py
diff --git a/test/unit/Utilities/IOTest.py b/test/unit/Utilities/IOTest.py index <HASH>..<HASH> 100644 --- a/test/unit/Utilities/IOTest.py +++ b/test/unit/Utilities/IOTest.py @@ -55,7 +55,7 @@ class IOTest: assert sp.shape(net['pore.coords']) == (27, 3) assert sp.shape(net['throat.conns']) == (54, 2) ...
Minor tweak in test that would always pass
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ install_requires = [ "cookies; python_version < '3.4'", "mock; python_version < '3.3'", "requests>=2.0", + "urllib3>=1.25.10", "six", ]
Add requirement for urllib3 This upgrades urllib3 to a version that provides the cookie interfaces that this library depends on. Earlier versions lack a get_all() method on HTTPHeaderDict Refs #<I>
py
diff --git a/tests/testviews.py b/tests/testviews.py index <HASH>..<HASH> 100644 --- a/tests/testviews.py +++ b/tests/testviews.py @@ -179,8 +179,6 @@ class GridLayoutTest(CompositeTest): grid = GridLayout([self.view1, self.view2, self.view3, self.view2]) self.assertEqual(grid.shape, (1,4)) - def...
Removed incomplete unit test of GridLayout
py
diff --git a/compiler/quilt/test/test_import.py b/compiler/quilt/test/test_import.py index <HASH>..<HASH> 100644 --- a/compiler/quilt/test/test_import.py +++ b/compiler/quilt/test/test_import.py @@ -183,12 +183,12 @@ class ImportTest(QuiltTestCase): def test_set_non_node_attr(self): mydir = os.path.dirnam...
Don't reuse imports in unittests. (#<I>) Python is allowed to cache them across different tests. TODO: Better solution for this.
py
diff --git a/django_mailbox/__init__.py b/django_mailbox/__init__.py index <HASH>..<HASH> 100644 --- a/django_mailbox/__init__.py +++ b/django_mailbox/__init__.py @@ -1 +1 @@ -__version__ = '4.4.1' +__version__ = '4.4.2'
Release <I>; fixes a minor Python3 glitch in a recent migration. Fixes #<I>.
py
diff --git a/src/foremast/securitygroup/create_securitygroup.py b/src/foremast/securitygroup/create_securitygroup.py index <HASH>..<HASH> 100644 --- a/src/foremast/securitygroup/create_securitygroup.py +++ b/src/foremast/securitygroup/create_securitygroup.py @@ -271,8 +271,15 @@ class SpinnakerSecurityGroup(object): ...
fix: Cross acount SG within same account We need to ensure that we do not attempt cross account security lookups when the account is the same as the app. We should only trigger that lookup when the app and SG are different.
py
diff --git a/stanza/server/java_protobuf_requests.py b/stanza/server/java_protobuf_requests.py index <HASH>..<HASH> 100644 --- a/stanza/server/java_protobuf_requests.py +++ b/stanza/server/java_protobuf_requests.py @@ -4,7 +4,7 @@ from stanza.server.client import resolve_classpath def send_request(request, response_...
Update doc to reflect the newly factored out usage of this method
py
diff --git a/andes/plot.py b/andes/plot.py index <HASH>..<HASH> 100644 --- a/andes/plot.py +++ b/andes/plot.py @@ -108,7 +108,7 @@ class TDSData(object): Parameters ---------- query : str - The string for querying variables + The string for querying variables. Multiple c...
Allow xargs or find to work with comma-separated multiple search conditions
py
diff --git a/tests/test_model.py b/tests/test_model.py index <HASH>..<HASH> 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -55,7 +55,7 @@ class MockDatabase(object): import MySQLdb driver = 'mysql+mysqldb' except ImportError: - driver = 'mysql' + d...
[tests] Fix error with MySQL driver on Python 3
py
diff --git a/atlassian/bitbucket.py b/atlassian/bitbucket.py index <HASH>..<HASH> 100644 --- a/atlassian/bitbucket.py +++ b/atlassian/bitbucket.py @@ -117,7 +117,6 @@ class Bitbucket(AtlassianRestAPI): """ url = 'rest/api/1.0/projects/{project_key}/permissions/users?name={username}'.format( ...
Fix undefined name 'permission' in project_remove_user_permissions
py
diff --git a/pelix/ipopo/core.py b/pelix/ipopo/core.py index <HASH>..<HASH> 100644 --- a/pelix/ipopo/core.py +++ b/pelix/ipopo/core.py @@ -114,6 +114,10 @@ def _load_bundle_factories(bundle): for inspect_member in inspect.getmembers(module, inspect.isclass): # Get the class in the result tuple fa...
Don't register factories imported from other bundles If a bundle imports a factory class from another bundle (e.g. from foo import BarFactory), do not try to register it automatically. If a developer wants to register this factory, he will have to do so in the bundle activator. Fixes #<I>
py
diff --git a/chess/uci.py b/chess/uci.py index <HASH>..<HASH> 100644 --- a/chess/uci.py +++ b/chess/uci.py @@ -120,17 +120,17 @@ class UciNewGameCommand(IsReadyCommand): super(UciNewGameCommand, self)._execute(engine) -class DebugCommand(IsReadyCommand): +class DebugCommand(Command): def __init__(self...
Do not wait for readyok after debug command
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='gomatic', - version='0.4.2', + version='0.4.3', description='API for configuring GoCD', url='https://github.com/SpringerSBM/gomat...
ivan/hilverd - update version number - now always sorts environment variable elements
py
diff --git a/ltdconveyor/fastly.py b/ltdconveyor/fastly.py index <HASH>..<HASH> 100644 --- a/ltdconveyor/fastly.py +++ b/ltdconveyor/fastly.py @@ -34,9 +34,11 @@ def purge_key(surrogate_key, service_id, api_key): Notes ----- This function uses Fastly's ``/service/{service}/purge/{key}`` endpoint. - ...
Add note mentioning fastly-py
py
diff --git a/lib/websearch_external_collections.py b/lib/websearch_external_collections.py index <HASH>..<HASH> 100644 --- a/lib/websearch_external_collections.py +++ b/lib/websearch_external_collections.py @@ -286,6 +286,8 @@ def external_collection_apply_changes(changes_list): # Misc functions def external_collecti...
WebSearch: external collection search fix * Fixes external collection's print_external_results_overview() when current_collection is None.
py
diff --git a/encrypted_fields/__init__.py b/encrypted_fields/__init__.py index <HASH>..<HASH> 100644 --- a/encrypted_fields/__init__.py +++ b/encrypted_fields/__init__.py @@ -1,3 +1,3 @@ -__version__ = '0.1.2' +__version__ = '0.1.333' from .fields import *
rev version to push float fields to pip
py
diff --git a/FlowCytometryTools/GUI/gui.py b/FlowCytometryTools/GUI/gui.py index <HASH>..<HASH> 100755 --- a/FlowCytometryTools/GUI/gui.py +++ b/FlowCytometryTools/GUI/gui.py @@ -92,6 +92,9 @@ class GUIEmbedded(GeneratedWireframe): def btn_create_horizontal_threshold_gate(self, event): self.fc_toolbar.cre...
connected button to delete gates in wx
py
diff --git a/monty/json.py b/monty/json.py index <HASH>..<HASH> 100644 --- a/monty/json.py +++ b/monty/json.py @@ -258,7 +258,7 @@ def jsanitize(obj, strict=False, allow_bson=False): Returns: Sanitized dict that can be json serialized. """ - if allow_bson and (isinstance(obj, datetime.datetime) or...
keep bytes as bytes if allow_bson=True
py
diff --git a/bottlenose/api.py b/bottlenose/api.py index <HASH>..<HASH> 100644 --- a/bottlenose/api.py +++ b/bottlenose/api.py @@ -31,10 +31,10 @@ from exceptions import Exception SERVICE_DOMAINS = { 'CA': ('ecs.amazonaws.ca', 'xml-ca.amznxslt.com'), - 'CN': ('ecs.amazonaws.cn', 'xml-cn.amznxslt.com'), + ...
update webservice locations, they were referenced incorrectly
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -911,14 +911,13 @@ def prepend_root_dir(opts, path_options): 'root_dir' option. ''' root_dir = os.path.abspath(opts['root_dir']) + root_opt = opts['root_dir'].rstrip(os.pathsep) f...
Be more careful about stripping away root_dir from directory options Closes #<I>
py
diff --git a/safe/storage/utilities.py b/safe/storage/utilities.py index <HASH>..<HASH> 100644 --- a/safe/storage/utilities.py +++ b/safe/storage/utilities.py @@ -17,7 +17,7 @@ from safe.common.exceptions import BoundingBoxError, InaSAFEError # Default attribute to assign to vector layers -DEFAULT_ATTRIBUTE = 'Aff...
Changed default attribute to something less likely to clash with real attribute names
py
diff --git a/can/io/blf.py b/can/io/blf.py index <HASH>..<HASH> 100644 --- a/can/io/blf.py +++ b/can/io/blf.py @@ -87,7 +87,11 @@ class BLFReader(object): header = FILE_HEADER_STRUCT.unpack(data) #print(header) assert header[0] == b"LOGG", "Unknown file format" + self.file_size = heade...
Add object_count to BLFReader (#<I>) Add length to BLFReader by object_count Add header information as variables
py
diff --git a/s3direct/tests.py b/s3direct/tests.py index <HASH>..<HASH> 100644 --- a/s3direct/tests.py +++ b/s3direct/tests.py @@ -146,9 +146,10 @@ class WidgetTestCase(TestCase): self.assertEqual(policy_dict['server_side_encryption'], u'AES256') +@override_settings(AWS_ACCESS_KEY_ID='abc', AWS_SECRET_ACCE...
Test signing with known AWS keys.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -269,3 +269,4 @@ texinfo_documents = [ # -- Options for autodoc output ------------------------------------------ autoclass_content = 'both' +autodoc_member_order = 'bysource'
Order docs by source, not alphabetically
py
diff --git a/malaffinity/malaffinity.py b/malaffinity/malaffinity.py index <HASH>..<HASH> 100644 --- a/malaffinity/malaffinity.py +++ b/malaffinity/malaffinity.py @@ -145,13 +145,6 @@ class MALAffinity: if not len(scores[key]) == 2: del scores[key] - # Handle cases where the share...
Move the "shared rated anime threshold" check to the `calculate_affinity` method Was misplaced, doesn't actually matter if shared rated is less than <I> if you're just doing a comparison. Now, it'll only raise that if shared rated is less than <I> and you're trying to calculate affinity.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ import errno from os.path import dirname, abspath from os.path import split as psplit, join as pjoin from setuptools import setup +from pkg_resources import parse_version from Cython.Distutils import build_ext...
use pkg_resources to cleanup version
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,9 +30,11 @@ setup( 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ...
Update Python versions in setup.py
py
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -80,7 +80,7 @@ SSH_SHIM = '''/bin/sh << 'EOF' fi if [ -f /tmp/.salt/salt-thin.tgz ] then - [ $({{2}}sum /tmp...
Comply with POSIX shell syntax. Fixes #<I>.
py
diff --git a/bids/variables/tests/test_io.py b/bids/variables/tests/test_io.py index <HASH>..<HASH> 100644 --- a/bids/variables/tests/test_io.py +++ b/bids/variables/tests/test_io.py @@ -21,7 +21,8 @@ def synthetic(request): deriv = join(root, 'derivatives') if request.param == 'preproc': layout = BI...
add explicit space constraint to derivatives dataset
py
diff --git a/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py b/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py index <HASH>..<HASH> 100644 --- a/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py +++ b/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py @@ -432,8 +432,17 @@ ...
Add working example for 'create_queue'. (#<I>)
py
diff --git a/inlineplz/linters/__init__.py b/inlineplz/linters/__init__.py index <HASH>..<HASH> 100644 --- a/inlineplz/linters/__init__.py +++ b/inlineplz/linters/__init__.py @@ -88,6 +88,7 @@ TRUSTED_INSTALL = [ [sys.executable, '-m', 'pip', 'install', '-e', '.'], [sys.executable, '-m', 'pip', 'install', '-r...
install requirements-dev (#<I>)
py
diff --git a/shared-data/python/setup.py b/shared-data/python/setup.py index <HASH>..<HASH> 100644 --- a/shared-data/python/setup.py +++ b/shared-data/python/setup.py @@ -83,7 +83,7 @@ class BuildWithData(build_py.build_py): # should be something ending in opentrons_shared_data build_base = os.path.co...
build(shared-data): fix shared-data wheel build (#<I>)
py
diff --git a/src/python/grpcio_tests/tests/bazel_namespace_package_hack.py b/src/python/grpcio_tests/tests/bazel_namespace_package_hack.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio_tests/tests/bazel_namespace_package_hack.py +++ b/src/python/grpcio_tests/tests/bazel_namespace_package_hack.py @@ -24,9 +24,15 @...
Ensure bazel_hack terminates when running test_gevent.
py
diff --git a/bio/clustalo.py b/bio/clustalo.py index <HASH>..<HASH> 100644 --- a/bio/clustalo.py +++ b/bio/clustalo.py @@ -540,7 +540,7 @@ class PDBUniParcSequenceAligner(object): mapping_pdb_id = pdb_id pdb_uniparc_mapping = pdb_to_uniparc([pdb_id], cache_dir = cache_dir, manual_additions = {self.pdb...
Bug fix for deprecated PDB IDs in the PDBUniParcSequenceAligner.
py
diff --git a/sphinxcontrib/needs/directives/needgantt.py b/sphinxcontrib/needs/directives/needgantt.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/needs/directives/needgantt.py +++ b/sphinxcontrib/needs/directives/needgantt.py @@ -69,7 +69,7 @@ class NeedganttDirective(FilterBase, DiagramBase): milestone...
simplify overly-complex boolean logic
py
diff --git a/tests/changelog.py b/tests/changelog.py index <HASH>..<HASH> 100644 --- a/tests/changelog.py +++ b/tests/changelog.py @@ -368,4 +368,19 @@ class nodes(Spec): eq_(rest[4].astext(), 'x') def sub_bullet_lists_are_preserved(self): - pass + # Complex 'entry' mapping to an outer lis...
Failing test re: extra paragraphs in issue list_items
py
diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py index <HASH>..<HASH> 100644 --- a/glances/outputs/glances_curses.py +++ b/glances/outputs/glances_curses.py @@ -642,8 +642,9 @@ class _GlancesCurses(object): stat_display["system"], display_optional=(self.screen...
Correct an issue if IP plugin is not available in the Curses UI
py
diff --git a/modelx/io/pandas.py b/modelx/io/pandas.py index <HASH>..<HASH> 100644 --- a/modelx/io/pandas.py +++ b/modelx/io/pandas.py @@ -15,15 +15,15 @@ import itertools import pandas as pd -from pandas.core.reshape.merge import MergeError import numpy as np _pd_ver = tuple(int(i) for i in pd.__version__.spli...
FIX: Compatibility with pandas <I>
py
diff --git a/pythonforandroid/recipes/android/src/setup.py b/pythonforandroid/recipes/android/src/setup.py index <HASH>..<HASH> 100755 --- a/pythonforandroid/recipes/android/src/setup.py +++ b/pythonforandroid/recipes/android/src/setup.py @@ -5,7 +5,7 @@ library_dirs = ['libs/' + os.environ['ARCH']] lib_dict = { ...
use main lib for non-sdl2
py
diff --git a/tests/unit/utils/safe_walk_test.py b/tests/unit/utils/safe_walk_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/utils/safe_walk_test.py +++ b/tests/unit/utils/safe_walk_test.py @@ -23,12 +23,12 @@ class TestUtils(TestCase): expected = [ (join(tmp, 'root'), ['bar'], []), ...
sort directory data to ensure consistent data set
py
diff --git a/pyqode/core/modes/code_completion.py b/pyqode/core/modes/code_completion.py index <HASH>..<HASH> 100644 --- a/pyqode/core/modes/code_completion.py +++ b/pyqode/core/modes/code_completion.py @@ -276,6 +276,7 @@ class CodeCompletionMode(Mode, QtCore.QObject): def __onWorkFinished(self, caller_id, work...
Add a few more debug messages (logging.debug)
py
diff --git a/dvc/command/machine.py b/dvc/command/machine.py index <HASH>..<HASH> 100644 --- a/dvc/command/machine.py +++ b/dvc/command/machine.py @@ -193,7 +193,14 @@ class CmdMachineCreate(CmdBase): class CmdMachineStatus(CmdBase): - SHOWN_FIELD = ["name", "cloud", "instance_hdd_size", "instance_ip"] + SHO...
machine status: include two new field in the output 1. include instance_type and instance_gpu in the output. 2. rerange the field by importance.
py
diff --git a/src/pysimplevalidate/__init__.py b/src/pysimplevalidate/__init__.py index <HASH>..<HASH> 100644 --- a/src/pysimplevalidate/__init__.py +++ b/src/pysimplevalidate/__init__.py @@ -9,7 +9,7 @@ import datetime import re import time -__version__ = '0.2.3' +__version__ = '0.2.4' MAX_ERROR_STR_LEN = 50 # U...
Bumping version number to <I>
py
diff --git a/pygerrit/ssh.py b/pygerrit/ssh.py index <HASH>..<HASH> 100644 --- a/pygerrit/ssh.py +++ b/pygerrit/ssh.py @@ -26,6 +26,7 @@ THE SOFTWARE. from os.path import abspath, expanduser, isfile import re +import socket from pygerrit.error import GerritError @@ -84,10 +85,13 @@ class GerritSSHClient(SSHCli...
Handle socket connection error in SSH client Catch socket error raised when connecting to the server over SSH and raise a GerritError. Change-Id: I<I>a<I>be4bc<I>ec<I>d<I>faaa<I>b<I>cf<I>
py
diff --git a/homu/server.py b/homu/server.py index <HASH>..<HASH> 100644 --- a/homu/server.py +++ b/homu/server.py @@ -38,7 +38,7 @@ def get_repo(repo_label, repo_cfg): def index(): return g.tpls['index'].render(repos=sorted(g.repos)) -@get('/queue/<repo_label>') +@get('/queue/<repo_label:path>') def queue(rep...
Allow `repo_label` to include '/'
py
diff --git a/plumbing/cache.py b/plumbing/cache.py index <HASH>..<HASH> 100644 --- a/plumbing/cache.py +++ b/plumbing/cache.py @@ -1,6 +1,6 @@ # Built-in modules # -import os, time, inspect -import cPickle as pickle +import time, inspect +import pickle # Internal modules # from autopaths.file_path import FilePath
Replace cPickle with pickle
py
diff --git a/tests/test_feature_extraction_common.py b/tests/test_feature_extraction_common.py index <HASH>..<HASH> 100644 --- a/tests/test_feature_extraction_common.py +++ b/tests/test_feature_extraction_common.py @@ -68,10 +68,15 @@ def prepare_image_inputs(feature_extract_tester, equal_resolution=False, numpify ...
Compute min_resolution in prepare_image_inputs (#<I>)
py
diff --git a/sdcclient/_secure.py b/sdcclient/_secure.py index <HASH>..<HASH> 100644 --- a/sdcclient/_secure.py +++ b/sdcclient/_secure.py @@ -719,6 +719,8 @@ class SdSecureClient(_SdcCommon): try: policy_obj = json.loads(policy_json) + if "origin" in policy_obj: + del ...
fix: The Policy API has changed origins and still requires Secure UI
py
diff --git a/lib/emir/core.py b/lib/emir/core.py index <HASH>..<HASH> 100644 --- a/lib/emir/core.py +++ b/lib/emir/core.py @@ -49,4 +49,4 @@ def gather_info_frames(framelist): iinfo.append(gather_info_hdu(hdulist)) return iinfo -EMIR_BIAS_MODES = ['simple', 'bias'] +EMIR_BIAS_MODES = ['simple', 'bia...
Add 'single' as a valid bias mode
py
diff --git a/phy/utils/_misc.py b/phy/utils/_misc.py index <HASH>..<HASH> 100644 --- a/phy/utils/_misc.py +++ b/phy/utils/_misc.py @@ -103,13 +103,17 @@ def _show_shortcuts(shortcuts, name=''): def _git_version(): + curdir = os.getcwd() filedir, _ = op.split(__file__) + os.chdir(filedir) try: ...
Reverted commit <I>b<I> to support git pre-<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,10 @@ +import pip from setuptools import setup from pip.req import parse_requirements from amibaker.version import VERSION -install_reqs = parse_requirements("./requirements.txt") +install_reqs = parse_requirement...
Patch setup.py to work with pip 7
py
diff --git a/tests/functional/test_handler.py b/tests/functional/test_handler.py index <HASH>..<HASH> 100644 --- a/tests/functional/test_handler.py +++ b/tests/functional/test_handler.py @@ -468,7 +468,6 @@ class TestRequests(LiveServerTestCase, testcases.BaseTestBot): ...
fix test when no ChatState no source_state please
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -140,7 +140,7 @@ html_theme = 'alabaster' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the buil...
[docs] comment out html_static_path
py
diff --git a/tests/test_modeling_tf_roberta.py b/tests/test_modeling_tf_roberta.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_tf_roberta.py +++ b/tests/test_modeling_tf_roberta.py @@ -237,6 +237,7 @@ class TFRobertaModelTest(TFModelTesterMixin, unittest.TestCase): self.assertIsNotNone(model) ...
TFRobertaModelIntegrationTest requires tf (#<I>)
py
diff --git a/pymc3/distributions/multivariate.py b/pymc3/distributions/multivariate.py index <HASH>..<HASH> 100755 --- a/pymc3/distributions/multivariate.py +++ b/pymc3/distributions/multivariate.py @@ -305,13 +305,13 @@ class Multinomial(Discrete): else: x_sum = x n_sum = n - ...
Replaced multinomial probability bounds test in logp (#<I>)
py
diff --git a/blitzdb/backends/mongo/backend.py b/blitzdb/backends/mongo/backend.py index <HASH>..<HASH> 100644 --- a/blitzdb/backends/mongo/backend.py +++ b/blitzdb/backends/mongo/backend.py @@ -70,7 +70,11 @@ class Backend(BaseBackend): for collection,cache in self._update_cache.items(): for pk...
Another fix for the update function in the MongoDB backend (for MongoDB >= <I> compatibility)
py
diff --git a/tornado/wsgi.py b/tornado/wsgi.py index <HASH>..<HASH> 100644 --- a/tornado/wsgi.py +++ b/tornado/wsgi.py @@ -211,11 +211,13 @@ class WSGIContainer(object): def __call__(self, request): data = {} + response = [] def start_response(status, response_headers, exc_info=None): ...
Return a write method from start_response, as required by the wsgi spec.
py
diff --git a/invenio_userprofiles/forms.py b/invenio_userprofiles/forms.py index <HASH>..<HASH> 100644 --- a/invenio_userprofiles/forms.py +++ b/invenio_userprofiles/forms.py @@ -79,7 +79,7 @@ class ProfileForm(FlaskForm): # We are handling a user editing their profile AND a # the user...
forms: fix flask-login compatibility issue
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,12 +73,12 @@ install_requires = [ 'Flask-Breadcrumbs>=0.3.0', 'Flask-CeleryExt>=0.3.1', 'Flask-KVSession>=0.6.1', - 'Flask-Login>=0.3.0', + 'Flask-Login>=0.3.0,<0.5.0', 'Flask-Mail>=0.9.1', '...
installation: fix flask-login/werkzeug issues * Bumps minimum version of Flask/Werkzeug. * Pins Flask-Login due to incompatibility with latest release and Flask-Security.
py
diff --git a/discord/gateway.py b/discord/gateway.py index <HASH>..<HASH> 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -337,7 +337,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): del self._dispatch_listeners[index] def _can_handle_close(self, code): - re...
Attempt resume when we receive a <I>.
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -405,7 +405,7 @@ class Proxy(object): Proxy class useful for situations when you wish to defer the initialization of an object. """ - __slots__ = ['obj', '_callbacks'] + __slots__ = ('obj', '_callbacks...
Fix usage of slots in main module.
py
diff --git a/www/tests/test_classes.py b/www/tests/test_classes.py index <HASH>..<HASH> 100644 --- a/www/tests/test_classes.py +++ b/www/tests/test_classes.py @@ -770,4 +770,9 @@ D = type('C', (B, A,), {}) d = D() assert t == ['MetaB Call', 'I am A', 'I am B'] +# issue 1884 +from tester import assertRaises + +asser...
Add test for issue #<I>
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -22,5 +22,5 @@ __revision__ = "$Id$" # #--start constants-- -__version__ = "2.6b3" +__version__ = "2.6rc1" #--end constants--
Bumping to <I>rc1
py
diff --git a/rest_client/async.py b/rest_client/async.py index <HASH>..<HASH> 100644 --- a/rest_client/async.py +++ b/rest_client/async.py @@ -111,14 +111,23 @@ class RESTClient(object): last_exc = RuntimeError("Something wrong") for _ in range(max_redirects + 1): - request = HTTPRequest(...
[fix] fix for tornado <I>
py
diff --git a/pyemma/coordinates/tests/test_featurereader_and_tica.py b/pyemma/coordinates/tests/test_featurereader_and_tica.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/tests/test_featurereader_and_tica.py +++ b/pyemma/coordinates/tests/test_featurereader_and_tica.py @@ -110,7 +110,8 @@ class TestFeatureRead...
[coor/test_tica] lower tolerance for eigenvector comparision
py
diff --git a/AndroidViewClient/setup.py b/AndroidViewClient/setup.py index <HASH>..<HASH> 100644 --- a/AndroidViewClient/setup.py +++ b/AndroidViewClient/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup(name='androidviewclient', - version='5.3.0', + version='5.3.1', description=...
setup.py: bumped to version <I>
py
diff --git a/backtrader/observer.py b/backtrader/observer.py index <HASH>..<HASH> 100644 --- a/backtrader/observer.py +++ b/backtrader/observer.py @@ -30,3 +30,8 @@ class Observer(ObserverBase): _ltype = LineIterator.ObsType plotinfo = dict(plot=False, subplot=True) + + # An Observer is ideally always ob...
Observer gets a default prenext that calls next
py
diff --git a/cmsplugin_cascade/link/forms.py b/cmsplugin_cascade/link/forms.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/link/forms.py +++ b/cmsplugin_cascade/link/forms.py @@ -6,7 +6,7 @@ from django.core.exceptions import ObjectDoesNotExist from django.contrib.admin.sites import site as admin_site from dj...
fix possible upgrading exception: js in Media might be a tuple
py
diff --git a/chatterbot/adapters/storage/mongodb.py b/chatterbot/adapters/storage/mongodb.py index <HASH>..<HASH> 100644 --- a/chatterbot/adapters/storage/mongodb.py +++ b/chatterbot/adapters/storage/mongodb.py @@ -29,6 +29,9 @@ class MongoDatabaseAdapter(StorageAdapter): # The mongo collection of statement do...
Added a unique index requirement to the text field of each statement. This change should prevent any possible duplicate key issues.
py
diff --git a/openquake/risklib/scientific.py b/openquake/risklib/scientific.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/scientific.py +++ b/openquake/risklib/scientific.py @@ -1499,15 +1499,15 @@ def losses_by_period(losses, return_periods): >>> losses = [3, 2, 3.5, 4, 3, 23, 11, 2, 1, 4, 5, 7, 8, 9, ...
Used numpy.around in losses_by_period Former-commit-id: <I>a<I>d2ae<I>de<I>a1a2f<I>d<I>a<I>
py
diff --git a/gromacs/formats.py b/gromacs/formats.py index <HASH>..<HASH> 100644 --- a/gromacs/formats.py +++ b/gromacs/formats.py @@ -130,7 +130,7 @@ class XVG(utilities.FileUtils): with utilities.openany(self.real_filename, 'w') as xvg: xvg.write("# xmgrace compatible NXY data file\n" ...
FIXED: XVG.write() lost first data line
py
diff --git a/src/pyop/client_authentication.py b/src/pyop/client_authentication.py index <HASH>..<HASH> 100644 --- a/src/pyop/client_authentication.py +++ b/src/pyop/client_authentication.py @@ -1,5 +1,6 @@ import base64 import logging +from urllib.parse import unquote from .exceptions import InvalidClientAuthenti...
fix: client_auth: unquote clientID and secret with Basic auth With Basic auth, clientID and secret should be URI-encoded before used as username and password to form the Basic auth header: <URL>.
py
diff --git a/salt/daemons/masterapi.py b/salt/daemons/masterapi.py index <HASH>..<HASH> 100644 --- a/salt/daemons/masterapi.py +++ b/salt/daemons/masterapi.py @@ -488,9 +488,6 @@ class RemoteFuncs(object): ''' Gathers the data from the specified minions' mine ''' - # Don't allow matchi...
Re-enable mine compound/pillar matching master-side Pillar glob matching is disabled, by using the pillar_exact and compound_pillar_exact matchers
py
diff --git a/client/stt.py b/client/stt.py index <HASH>..<HASH> 100644 --- a/client/stt.py +++ b/client/stt.py @@ -457,7 +457,7 @@ class WitAiSTT(AbstractSTTEngine): headers = {'Authorization': 'Bearer %s' % self.token, 'accept': 'application/json', 'Content-Type': 'audi...
Use latest wit.ai API version in STT engine
py
diff --git a/src/pybel/manager/cache.py b/src/pybel/manager/cache.py index <HASH>..<HASH> 100644 --- a/src/pybel/manager/cache.py +++ b/src/pybel/manager/cache.py @@ -603,7 +603,7 @@ class NetworkManager(NamespaceManager, AnnotationManager): :param iter[int] network_ids: The identifiers of networks in the data...
Fixed problem in CacheManager get_networks_by_id
py
diff --git a/ignite/contrib/handlers/time_profilers.py b/ignite/contrib/handlers/time_profilers.py index <HASH>..<HASH> 100644 --- a/ignite/contrib/handlers/time_profilers.py +++ b/ignite/contrib/handlers/time_profilers.py @@ -6,7 +6,7 @@ from ignite.engine import Engine, Events from ignite.handlers import Timer -...
Remove py2 rests (#<I>)
py
diff --git a/setuptools_odoo/external_dependencies.py b/setuptools_odoo/external_dependencies.py index <HASH>..<HASH> 100644 --- a/setuptools_odoo/external_dependencies.py +++ b/setuptools_odoo/external_dependencies.py @@ -11,5 +11,6 @@ EXTERNAL_DEPENDENCIES_MAP = { 'dateutil': 'python-dateutil', 'ldap': 'pyt...
[IMP] map stdnum to python-stdnum in external dependencies
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ def readme(): return f.read() setup(name = "simpledist", - version = "0.1.2-1", + version = "0.1.3", description = "Defines objects useful for describing simple probability distributions.", ...
added special save_hdf to Hist_Distribution
py
diff --git a/tests/test_ansi2html.py b/tests/test_ansi2html.py index <HASH>..<HASH> 100644 --- a/tests/test_ansi2html.py +++ b/tests/test_ansi2html.py @@ -258,5 +258,16 @@ class TestAnsi2HTML(unittest.TestCase): expected = six.u('NORMAL<span class="ansi31">313131</span><span class="inv31 inv_foreground">!31!31...
Test cross-line state (related to issue <I>)
py
diff --git a/tests/cli/test_cli_parser.py b/tests/cli/test_cli_parser.py index <HASH>..<HASH> 100644 --- a/tests/cli/test_cli_parser.py +++ b/tests/cli/test_cli_parser.py @@ -157,7 +157,7 @@ class TestCli(TestCase): self.assertIn("Commands", stdout) self.assertIn("Groups", stdout) - def test_shou...
Fix grammar in test_name (#<I>) test_should_display_helps -> test_should_display_help
py
diff --git a/examples/language-modeling/run_clm.py b/examples/language-modeling/run_clm.py index <HASH>..<HASH> 100755 --- a/examples/language-modeling/run_clm.py +++ b/examples/language-modeling/run_clm.py @@ -136,8 +136,8 @@ class DataTrainingArguments: block_size: Optional[int] = field( default=None, ...
[examples] fix white space (#<I>) these get concatenated without whitespace, so fix it
py
diff --git a/pyked/tests/test_chemked.py b/pyked/tests/test_chemked.py index <HASH>..<HASH> 100644 --- a/pyked/tests/test_chemked.py +++ b/pyked/tests/test_chemked.py @@ -4,6 +4,7 @@ Test module for chemked.py # Standard libraries import os import pkg_resources +import warnings # Third-party libraries import num...
Force warnings in tests to always appear
py
diff --git a/pgmpy/inference/ExactInference.py b/pgmpy/inference/ExactInference.py index <HASH>..<HASH> 100644 --- a/pgmpy/inference/ExactInference.py +++ b/pgmpy/inference/ExactInference.py @@ -5,6 +5,7 @@ import copy import numpy as np import networkx as nx +from pgmpy.extern.six import string_types from pgmpy.e...
updates query to check variables is not a string
py
diff --git a/documenteer/sphinxconfig/stackconf.py b/documenteer/sphinxconfig/stackconf.py index <HASH>..<HASH> 100644 --- a/documenteer/sphinxconfig/stackconf.py +++ b/documenteer/sphinxconfig/stackconf.py @@ -59,7 +59,6 @@ def _insert_intersphinx_mapping(c): 'scipy': ('http://docs.scipy.org/doc/scipy/referen...
Remove h5py from stackconfig intersphinx mapping Turns out that h5py is not used in the stack, so there's no need to add it to intersphinx.
py
diff --git a/termtool.py b/termtool.py index <HASH>..<HASH> 100644 --- a/termtool.py +++ b/termtool.py @@ -8,6 +8,9 @@ from prettytable import PrettyTable from progressbar import ProgressBar +__version__ = '1.0' + + def subcommand(*args, **kwargs): def decor(fn): fn._subcommand = (args, kwargs)
Let the module know it's version <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name="django-salmonella", - version='0.6', + version='0.6.1', author='Lincoln Loop: Seth Buntin, Yann Malet', author_email='info@lincolnlo...
Bumped up version number for a new pypi release.
py
diff --git a/codenerix_invoicing/migrations/0040_auto_20170904_1816.py b/codenerix_invoicing/migrations/0040_auto_20170904_1816.py index <HASH>..<HASH> 100644 --- a/codenerix_invoicing/migrations/0040_auto_20170904_1816.py +++ b/codenerix_invoicing/migrations/0040_auto_20170904_1816.py @@ -39,6 +39,7 @@ class Migration...
Resolved bug in migrations
py
diff --git a/pep257.py b/pep257.py index <HASH>..<HASH> 100755 --- a/pep257.py +++ b/pep257.py @@ -447,7 +447,7 @@ def check_imperative_mood(def_docstring, context, is_script): """ if def_docstring: - first_word = eval(def_docstring).strip().split(' ')[0] + first_word = eval(def_docstring).str...
Better detection of first word for imperative mood test.
py
diff --git a/jplephem/test.py b/jplephem/test.py index <HASH>..<HASH> 100644 --- a/jplephem/test.py +++ b/jplephem/test.py @@ -431,6 +431,13 @@ File type NAIF/DAF and format BIG-IEEE with 15 segments: def load_tests(loader, tests, ignore): """Run our main documentation as a test.""" + # If we are running in ...
Protect doctests against old numpy versions
py
diff --git a/nrml/hazard/writers.py b/nrml/hazard/writers.py index <HASH>..<HASH> 100644 --- a/nrml/hazard/writers.py +++ b/nrml/hazard/writers.py @@ -25,10 +25,10 @@ SM_TREE_PATH = 'sourceModelTreePath' GSIM_TREE_PATH = 'gsimTreePath' -def _validate_hc_hm_metadata(md): +def _validate_hazard_metadata(md): """...
hazard/writers: Renamed `_validate_hc_hm_metadata` to `_validate_hazard_metadata`; it's used for hazard curves, hazard maps, and disaggregation, so I think this warrants a more generic name.
py
diff --git a/src/requirementslib/models/requirements.py b/src/requirementslib/models/requirements.py index <HASH>..<HASH> 100644 --- a/src/requirementslib/models/requirements.py +++ b/src/requirementslib/models/requirements.py @@ -1229,6 +1229,7 @@ class Line(object): def parse(self): # type: () -> None...
Fix line parsing for quoted lines with markers
py
diff --git a/plip/modules/pymolplip.py b/plip/modules/pymolplip.py index <HASH>..<HASH> 100644 --- a/plip/modules/pymolplip.py +++ b/plip/modules/pymolplip.py @@ -290,7 +290,7 @@ class PyMOLVisualizer: selections = cmd.get_names("selections") for selection in selections: - if len(cmd.get_...
Small compatibility fix with pymol <I>
py
diff --git a/picker/models.py b/picker/models.py index <HASH>..<HASH> 100755 --- a/picker/models.py +++ b/picker/models.py @@ -334,15 +334,11 @@ class League(models.Model): new_old[0 if is_new else 1] += 1 return new_old - _league_cache = {} - #---------------------------------------...
Don't cache the league, as it also caches its own current game set beyond the time boundaries.
py
diff --git a/openquake/engine/calculators/risk/event_based_risk/core.py b/openquake/engine/calculators/risk/event_based_risk/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/risk/event_based_risk/core.py +++ b/openquake/engine/calculators/risk/event_based_risk/core.py @@ -288,7 +288,7 @@ class Eve...
Removed monitoring from agg_result Former-commit-id: e<I>ffa8f<I>e5dff5e<I>b<I>ecded9ca8bee<I>
py
diff --git a/declare.py b/declare.py index <HASH>..<HASH> 100644 --- a/declare.py +++ b/declare.py @@ -123,14 +123,12 @@ class TypeEngine(object, metaclass=TypeEngineMeta): typedef = self.unbound_types.pop() try: load, dump = typedef.bind(self, **config) - except Ex...
Clean up exception handling in TypeEngine.bind
py