diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/aiogram/types/message.py b/aiogram/types/message.py index <HASH>..<HASH> 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -37,7 +37,6 @@ from .voice_chat_participants_invited import VoiceChatParticipantsInvited from .voice_chat_started import VoiceChatStarted from ..utils import he...
Removed deprecation warning from Message.send_copy
py
diff --git a/python/tests/pyspark/lib/spark_session.py b/python/tests/pyspark/lib/spark_session.py index <HASH>..<HASH> 100644 --- a/python/tests/pyspark/lib/spark_session.py +++ b/python/tests/pyspark/lib/spark_session.py @@ -17,12 +17,9 @@ def spark_session(): # difference is that spark.jars takes a comma-separa...
Remove .enableHiveSupport() from spark_session It's not needed by any tests currently, so keep it simpler
py
diff --git a/stomp/internal/__init__.py b/stomp/internal/__init__.py index <HASH>..<HASH> 100644 --- a/stomp/internal/__init__.py +++ b/stomp/internal/__init__.py @@ -1 +1 @@ -_version__ = (2, 3) +__version__ = (2, 3)
fix minor problem in __init__ (underscore deleted by mistake)
py
diff --git a/scanpy/neighbors/__init__.py b/scanpy/neighbors/__init__.py index <HASH>..<HASH> 100644 --- a/scanpy/neighbors/__init__.py +++ b/scanpy/neighbors/__init__.py @@ -206,7 +206,7 @@ def get_sparse_matrix_from_indices_distances_umap(knn_indices, knn_dists, n_obs, def compute_connectivities_umap(knn_indices, ...
umap fuzzy_simplicial_set has no bandwidth
py
diff --git a/src/feat/web/http.py b/src/feat/web/http.py index <HASH>..<HASH> 100644 --- a/src/feat/web/http.py +++ b/src/feat/web/http.py @@ -393,6 +393,10 @@ class BaseProtocol(log.Logger, basic.LineReceiver, timeout.Mixin): self._reset() self.process_cleanup(reason) + + # cancel timeouts a...
Fix unclean reactor left by loosing http connection while parsing response body.
py
diff --git a/environment_kernels/core.py b/environment_kernels/core.py index <HASH>..<HASH> 100644 --- a/environment_kernels/core.py +++ b/environment_kernels/core.py @@ -53,7 +53,6 @@ class EnvironmentKernelSpecManager(KernelSpecManager): Check the name of the environment against the black list and the ...
fix the whitelist + blacklist when neither are specified
py
diff --git a/ipfsApi/http.py b/ipfsApi/http.py index <HASH>..<HASH> 100644 --- a/ipfsApi/http.py +++ b/ipfsApi/http.py @@ -6,7 +6,7 @@ import requests import contextlib from . import encoding - +from .exceptions import ipfsApiError class HTTPClient(object): @@ -19,7 +19,6 @@ class HTTPClient(object): ...
raise ipfsApiError on http errors This causes `ipfsApi.http.HTTPClient` to raise an exception in response to HTTP errors, rather than successfully returning an error message to the caller. This makes it easier to differentiate errors from successful responses. Closes #<I>.
py
diff --git a/treeherder/webapp/api/views.py b/treeherder/webapp/api/views.py index <HASH>..<HASH> 100644 --- a/treeherder/webapp/api/views.py +++ b/treeherder/webapp/api/views.py @@ -34,7 +34,12 @@ def with_jobs(model_func): except ObjectNotFoundException as e: return Response({"message": unicode(...
add machine and build fields to resultset jobs
py
diff --git a/scapy/arch/unix.py b/scapy/arch/unix.py index <HASH>..<HASH> 100644 --- a/scapy/arch/unix.py +++ b/scapy/arch/unix.py @@ -126,13 +126,13 @@ def _in6_getifaddr(ifname): # Iterate over lines and extract IPv6 addresses ret = [] - for line in f.readlines(): + for line in f: if "inet6...
Small fixes from Pierre comments --HG-- branch : Issue #<I>
py
diff --git a/roadhouse/group.py b/roadhouse/group.py index <HASH>..<HASH> 100644 --- a/roadhouse/group.py +++ b/roadhouse/group.py @@ -85,11 +85,19 @@ class SecurityGroupsConfig(object): logger.debug("Authorizing %s %s %s %s to %s", rule.protocol, rule.from_port,...
vpc authorization comign together
py
diff --git a/hrepr/std.py b/hrepr/std.py index <HASH>..<HASH> 100644 --- a/hrepr/std.py +++ b/hrepr/std.py @@ -100,7 +100,15 @@ def standard_html(self, node: Tag): return type(node)( name=node.name, attributes={ - k: v if isinstance(v, str) or k == "class" else self.hjs...
Avoid JSON conversion for bool/None
py
diff --git a/wscript.py b/wscript.py index <HASH>..<HASH> 100755 --- a/wscript.py +++ b/wscript.py @@ -26,7 +26,7 @@ def minifyfiles(context): minified_amdcompatible = minified - '.min.js' + '.amd.min.js' minified_amdcompatible.text = ";(function(){" + minified.text + ";define(function(){return jsPDF})})();" ...
build script now can now properly run JSDoc
py
diff --git a/pythonforandroid/recipes/python3/__init__.py b/pythonforandroid/recipes/python3/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/python3/__init__.py +++ b/pythonforandroid/recipes/python3/__init__.py @@ -34,8 +34,8 @@ class Python3Recipe(GuestPythonRecipe): if sh.which('lld') i...
fixed patch's name to apply correclty
py
diff --git a/openid/server/trustroot.py b/openid/server/trustroot.py index <HASH>..<HASH> 100644 --- a/openid/server/trustroot.py +++ b/openid/server/trustroot.py @@ -149,7 +149,7 @@ class TrustRoot(object): def checkURL(cls, trust_root, url): """quick func for validating a url against a trust root. See ...
[project @ fix bad call to TrustRoot.parse]
py
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -635,13 +635,13 @@ def test_run_cython_code(main_window, qtbot): @pytest.mark.slow @flaky(max_runs=3) @pytest.mark....
Testing: Use tmpdir fixture in test_open_notebooks_from_project_explorer
py
diff --git a/src/rinoh/flowable.py b/src/rinoh/flowable.py index <HASH>..<HASH> 100644 --- a/src/rinoh/flowable.py +++ b/src/rinoh/flowable.py @@ -410,7 +410,7 @@ class GroupedFlowables(Flowable): raise LastFlowableException(descender) flowable.parent = self with MaybeContainer(container)...
_flow_with_next(): return the maximum width ... not the width of the last flowable.
py
diff --git a/salmonella/urls.py b/salmonella/urls.py index <HASH>..<HASH> 100644 --- a/salmonella/urls.py +++ b/salmonella/urls.py @@ -1,8 +1,9 @@ from django.conf.urls import * +from salmonella.views import label_view -urlpatterns = patterns('', +urlpatterns = [ url(r'^(?P<app_name>[\w-]+)/(?P<model_name>[\w-]...
Fixed deprecated code in Django <I> django.conf.urls.patterns() is deprecated in Django <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ setuptools.setup( url = "https://github.com/borntyping/python-riemann-client", description = "A Riemann client and command line tool", long_description = open('README.rst').read(), + license = ...
Added a license argument to setup.py This is mostly for use by bdist_rpm
py
diff --git a/martor_demo/martor_demo/settings.py b/martor_demo/martor_demo/settings.py index <HASH>..<HASH> 100644 --- a/martor_demo/martor_demo/settings.py +++ b/martor_demo/martor_demo/settings.py @@ -27,10 +27,11 @@ SECRET_KEY = '93fs*#h77*vj&2#2f+!y=kifg0s&63768398a(kx126itq(*6r' DEBUG = True ALLOWED_HOSTS = ['*'...
Added missing key to MARTOR_ENABLE_CONFIGS. The Problem The demo application was crashing because the 'spellcheck' key was missing. The Solution Add the missing key to the MARTOR_ENABLE_CONFIGS dictionary.
py
diff --git a/test3/gmpy_test.py b/test3/gmpy_test.py index <HASH>..<HASH> 100644 --- a/test3/gmpy_test.py +++ b/test3/gmpy_test.py @@ -44,3 +44,6 @@ for x in test_modules: pf, pt = failures, tests doctest.master.summarize(1) + +print("There is a known bug with Fraction == mpq so there is no need to") +print("re...
Added message to gmpy_test.py to let users know that there is a known bug with Fraction == mpq.
py
diff --git a/revproxy/transformer.py b/revproxy/transformer.py index <HASH>..<HASH> 100644 --- a/revproxy/transformer.py +++ b/revproxy/transformer.py @@ -69,7 +69,7 @@ class DiazoTransformer(object): return False content_encoding = self.response.get('Content-Encoding') - if content_encod...
Allow transformation if content is compressed with deflate
py
diff --git a/src/pugnlp/futil.py b/src/pugnlp/futil.py index <HASH>..<HASH> 100644 --- a/src/pugnlp/futil.py +++ b/src/pugnlp/futil.py @@ -316,6 +316,27 @@ def mkdir_p(path): return 'new' +def touch(filepath, times=None, mkdir=False): + """ Update the modify (modify) and change (ctime) timestamps of a file,...
add touch and touch_p commands to futil
py
diff --git a/stagpy/parfile.py b/stagpy/parfile.py index <HASH>..<HASH> 100644 --- a/stagpy/parfile.py +++ b/stagpy/parfile.py @@ -613,7 +613,10 @@ def _write_default(): def _read_default(): """read default par file""" _write_default() - return f90nml.read(str(PAR_DFLT_FILE)) + par_conf = f90nml.read(s...
Enrich default par namelist with PAR_DEFAULT No default values for lacking sections and options in ~/.config/stagpy/par were set, leading to potential errors if these sections were in the par file of the processed run.
py
diff --git a/tests/unit/test_embedding_composite.py b/tests/unit/test_embedding_composite.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_embedding_composite.py +++ b/tests/unit/test_embedding_composite.py @@ -186,7 +186,15 @@ class TestFixedEmbeddingComposite(unittest.TestCase): self.assertEqual(set(resp...
Add test for source adjacency input
py
diff --git a/bot/action/standard/logger.py b/bot/action/standard/logger.py index <HASH>..<HASH> 100644 --- a/bot/action/standard/logger.py +++ b/bot/action/standard/logger.py @@ -1,6 +1,7 @@ from bot.action.core.action import IntermediateAction from bot.logger.logger import LoggerFactory from bot.logger.message_send...
Update scheduler callbacks to use LoggerAction logger once it is created
py
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py index <HASH>..<HASH> 100644 --- a/astroid/rebuilder.py +++ b/astroid/rebuilder.py @@ -81,15 +81,15 @@ CONTEXTS = {_ast.Load: astroid.Load, def _get_doc(node): try: - if (node.body - and isinstance(node.body[0], _ast.Expr) - ...
Switch the order of the docstring checks to have the .docstring extractor first
py
diff --git a/spyderlib/plugins/history.py b/spyderlib/plugins/history.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/history.py +++ b/spyderlib/plugins/history.py @@ -240,11 +240,9 @@ class HistoryLog(SpyderPluginWidget): Slot for SIGNAL('append_to_history(QString,QString)') emitted by shell ...
History log: Fix conversion to unicode of history filename This was suggested by Pierre after a revision of these changes. He says that my previous attempt won't work with PyQt API #2, for which filename won't be a QString.
py
diff --git a/jsonfield/fields.py b/jsonfield/fields.py index <HASH>..<HASH> 100644 --- a/jsonfield/fields.py +++ b/jsonfield/fields.py @@ -166,7 +166,7 @@ class JSONField(JSONFieldBase, models.TextField): def dumps_for_display(self, value): kwargs = {"indent": 2} kwargs.update(self.dump_kwargs) -...
Support display of non-ascii characters
py
diff --git a/tests/integration_tests/import_export_tests.py b/tests/integration_tests/import_export_tests.py index <HASH>..<HASH> 100644 --- a/tests/integration_tests/import_export_tests.py +++ b/tests/integration_tests/import_export_tests.py @@ -329,10 +329,9 @@ class TestImportExport(SupersetTestCase): @pytest.m...
fix: test (#<I>)
py
diff --git a/tracer/tracer.py b/tracer/tracer.py index <HASH>..<HASH> 100644 --- a/tracer/tracer.py +++ b/tracer/tracer.py @@ -401,9 +401,11 @@ class Tracer(object): with open('/dev/null', 'wb') as devnull: # we assume qemu with always exit and won't block if self.pov_file is None: - ...
When sending input directly for tracing, the basic block trace no longer comes over stderr
py
diff --git a/test/test_dna.py b/test/test_dna.py index <HASH>..<HASH> 100644 --- a/test/test_dna.py +++ b/test/test_dna.py @@ -658,6 +658,34 @@ class TestCompareDNAReads(TestCase): compareDNAReads(Read('id1', 'ACGTT'), Read('id2', 'ACGTTCC'))) + def testExtraAmbiguous(self...
Added test $ testExtraAmbiguous.
py
diff --git a/legit/scm.py b/legit/scm.py index <HASH>..<HASH> 100644 --- a/legit/scm.py +++ b/legit/scm.py @@ -58,7 +58,7 @@ def repo_check(require_remote=False): def stash_it(sync=False): repo_check() - msg = 'syncing banch' if sync else 'switching branches' + msg = 'syncing branch' if sync else 'switchi...
Fix a typo that appears when syncing a branch
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def read(fname): return io.open(file_path, encoding='utf-8').read() -version = '0.8.4.3' +version = '0.8.5.dev0' setuptools.setup(
Back to development: <I>
py
diff --git a/airflow/www/views.py b/airflow/www/views.py index <HASH>..<HASH> 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -835,7 +835,7 @@ class Airflow(AirflowBaseView): if segments[0] != settings.AIRFLOW_MOVED_TABLE_PREFIX: continue # Second s...
Fix exception trying to display moved table warnings (#<I>) If you still have an old dangling table from the <I> migration this would fail. Make it more resilient and cope with both styles of moved table name
py
diff --git a/osmnx/folium.py b/osmnx/folium.py index <HASH>..<HASH> 100644 --- a/osmnx/folium.py +++ b/osmnx/folium.py @@ -143,7 +143,7 @@ def plot_graph_folium( # list of lat-lng points as [southwest, northeast] if fit_bounds and isinstance(graph_map, folium.Map): tb = gdf_edges.total_bounds - ...
make bounds a list of lists
py
diff --git a/tensorflow_datasets/core/download/downloader_test.py b/tensorflow_datasets/core/download/downloader_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/core/download/downloader_test.py +++ b/tensorflow_datasets/core/download/downloader_test.py @@ -192,6 +192,11 @@ _CONTENT_DISPOSITION_FILENAME_PA...
Add test for content-disposition
py
diff --git a/tests/test_expressions.py b/tests/test_expressions.py index <HASH>..<HASH> 100644 --- a/tests/test_expressions.py +++ b/tests/test_expressions.py @@ -402,7 +402,21 @@ def test_class_not_expression_no_brackets(): EXPRESSION ("[TIME]" eq 'NOW' AND NOT "[TYPE]" ~ "(something|completely|different)") ...
Add test for unquoted unicode strings. See #<I>
py
diff --git a/kytos/utils/napps.py b/kytos/utils/napps.py index <HASH>..<HASH> 100644 --- a/kytos/utils/napps.py +++ b/kytos/utils/napps.py @@ -211,7 +211,11 @@ class NAppsManager: for folders in ['.'], [self.user, self.napp]: kytos_json = root / Path(*folders) / 'kytos.json' if kytos_...
Fix remote install conflict with local install Fix #<I>
py
diff --git a/django_extensions/management/commands/notes.py b/django_extensions/management/commands/notes.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/notes.py +++ b/django_extensions/management/commands/notes.py @@ -20,7 +20,7 @@ class Command(BaseCommand): @signalcommand def ha...
Force the result of filter into a list Otherwise, this fails in python <I> on line <I> (`apps += template_dirs`) with: TypeError: unsupported operand type(s) for +=: 'filter' and 'list'
py
diff --git a/GPy/inference/latent_function_inference/svgp.py b/GPy/inference/latent_function_inference/svgp.py index <HASH>..<HASH> 100644 --- a/GPy/inference/latent_function_inference/svgp.py +++ b/GPy/inference/latent_function_inference/svgp.py @@ -8,8 +8,8 @@ class SVGP(LatentFunctionInference): def inference...
bugfix: confused output dim and num_latents in svgp
py
diff --git a/bucky/helpers.py b/bucky/helpers.py index <HASH>..<HASH> 100644 --- a/bucky/helpers.py +++ b/bucky/helpers.py @@ -4,15 +4,17 @@ import multiprocessing import watchdog.observers import watchdog.events +import bucky.cfg as cfg + class SingleFileEventHandler(watchdog.events.FileSystemEventHandler): ...
encode both path and src_path to make sure we are comparing the same type in python3 also have observer process join with default process_join_timeout
py
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py index <HASH>..<HASH> 100755 --- a/setuptools/command/develop.py +++ b/setuptools/command/develop.py @@ -168,6 +168,10 @@ class develop(easy_install): f.close() self.install_script(dist, script_name, script_text, script_...
Adapt the dist to suppress the version in the requirement when installing scripts under the develop command. Fixes #<I>.
py
diff --git a/nosey/watcher.py b/nosey/watcher.py index <HASH>..<HASH> 100644 --- a/nosey/watcher.py +++ b/nosey/watcher.py @@ -30,7 +30,7 @@ def watch(directory=None): directory = os.path.abspath(directory) # Initial run - event_handler = ChangeHandler() + event_handler = ChangeHandler(directory) ...
Bugfix: include directory in constructor.
py
diff --git a/pyneuroml/pynml.py b/pyneuroml/pynml.py index <HASH>..<HASH> 100644 --- a/pyneuroml/pynml.py +++ b/pyneuroml/pynml.py @@ -448,15 +448,6 @@ def write_lems_file(lems_model, lems_file_name, validate=False): validate_lems(lems_file_name) -def relative_path(base_dir, file_name): - - if os.pa...
Applied same path independence change to netpyne wrapper
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( 'futures>=2.2.0,<4.0.0'] }, license="Apache License 2.0", - classifiers=( + classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers...
Update classifiers from tuple to list for PyPI
py
diff --git a/stackinabox/util_requests_mock.py b/stackinabox/util_requests_mock.py index <HASH>..<HASH> 100644 --- a/stackinabox/util_requests_mock.py +++ b/stackinabox/util_requests_mock.py @@ -94,6 +94,10 @@ class RequestMockCallable(object): elif isinstance(body, six.binary_type): content_data ...
Bug Fix: streaming data with io.BytesIO, default body return value - If the caller returned an object capable of streaming data, such as io.BytesIO, then it was not getting recognized as providing body content and thus nothing was being returned back to the caller.
py
diff --git a/pysnmp/hlapi/asyncore/ntforg.py b/pysnmp/hlapi/asyncore/ntforg.py index <HASH>..<HASH> 100644 --- a/pysnmp/hlapi/asyncore/ntforg.py +++ b/pysnmp/hlapi/asyncore/ntforg.py @@ -39,7 +39,10 @@ class AsynNotificationOriginator(cmdgen.AsynCommandGenerator): def cfgNtfOrg(self, authData, transportTarget, n...
autogenerate missing transport tag from both auth & transport info at synchronous app
py
diff --git a/tests/transaction_commands_test.py b/tests/transaction_commands_test.py index <HASH>..<HASH> 100644 --- a/tests/transaction_commands_test.py +++ b/tests/transaction_commands_test.py @@ -158,3 +158,17 @@ class TransactionCommandsTest(RedisTest): res = yield from self.redis.unwatch() self...
added failing multi/exec encoding test
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,4 +58,15 @@ setup( zip_safe=False, cmdclass={"test": PyTest}, + + classifiers=[ + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementat...
Add clasifiers for the Python implementations and versions
py
diff --git a/src/plotypus_scripts/plotypus.py b/src/plotypus_scripts/plotypus.py index <HASH>..<HASH> 100644 --- a/src/plotypus_scripts/plotypus.py +++ b/src/plotypus_scripts/plotypus.py @@ -187,9 +187,9 @@ def process_star(filename, periods={}, **ops): result = get_lightcurve_from_file(filename, period=_period, *...
Update plotypus.py Renamed `R_squared` variable to `R2`, for consistency with every other variable which holds an `R^2` value
py
diff --git a/abydos/tests/test_phonetic.py b/abydos/tests/test_phonetic.py index <HASH>..<HASH> 100644 --- a/abydos/tests/test_phonetic.py +++ b/abydos/tests/test_phonetic.py @@ -3254,6 +3254,12 @@ class CaverphoneTestCases(unittest.TestCase): self.assertEqual(caverphone(word, 2), 'TN11111111') ...
brought Caverphone algorithm statement coverage up to <I>%
py
diff --git a/tldr.py b/tldr.py index <HASH>..<HASH> 100644 --- a/tldr.py +++ b/tldr.py @@ -54,7 +54,7 @@ DEFAULT_COLORS = { } def colors_of(key): - env_key = 'TLDR_%s' % key.upper() + env_key = 'TLDR_COLOR_%s' % key.upper() values = os.environ.get(env_key, '').strip() or DEFAULT_COLORS[key] values =...
Add COLOR_ to prefix of color environment variable names
py
diff --git a/lib/git/cmd.py b/lib/git/cmd.py index <HASH>..<HASH> 100644 --- a/lib/git/cmd.py +++ b/lib/git/cmd.py @@ -24,6 +24,9 @@ class Git(MethodMissingMixin): self._git_dir = None self._is_in_repo = not not self.get_git_dir() self._work_tree = None + self._cwd = self._git_dir + ...
cmd: properly handle cwd for repos with work trees This is a fix on top of Govind's latest performance improvement. self._cwd was always set to self._git_dir which means a lot of commands that require work trees were not available to GitPython. Execute now uses self._cwd which is equal to self._git_dir by default, a...
py
diff --git a/delphi/paths.py b/delphi/paths.py index <HASH>..<HASH> 100644 --- a/delphi/paths.py +++ b/delphi/paths.py @@ -6,6 +6,7 @@ data_dir = Path(os.environ.get("DELPHI_DATA", "")) adjectiveData = data_dir / "adjectiveData.tsv" south_sudan_data = data_dir / "south_sudan_data.csv" +db_path = data_dir / "delphi....
Added path to delphi db in delphi.paths
py
diff --git a/bottlenose/api.py b/bottlenose/api.py index <HASH>..<HASH> 100755 --- a/bottlenose/api.py +++ b/bottlenose/api.py @@ -198,15 +198,23 @@ class AmazonCall(object): self._last_query_time[0] = time.time() - # make the actual call + # make the actual API call api_request ...
fixed timeout behavior so that default socket timeout doesn't get cleared
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,18 +13,32 @@ from setuptools import setup _DEPENDENCIES = [ # dependencies for dsub, ddel, dstat - 'google-api-python-client', - 'google-auth', - 'python-dateutil', - 'pytz', + # Pin to known working...
Pin all dsub dependencies to a max version. This prevents episodic breakages caused by updates to dependent packages. PiperOrigin-RevId: <I>
py
diff --git a/examples/vincent_shapefile_mapping.py b/examples/vincent_shapefile_mapping.py index <HASH>..<HASH> 100644 --- a/examples/vincent_shapefile_mapping.py +++ b/examples/vincent_shapefile_mapping.py @@ -7,6 +7,8 @@ conversion with the Ogre web tool: http://ogre.adc4gis.com/ import vincent +path = r'vega.js...
BUG: Missing the variable 'path' in the shapefile mapping example.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup(name='midi2audio', version='0.1', description='Easy to use MIDI to audio or playback via FluidSynth', - url='https://github.com/bzamecnik/midi2audio-fluidsynt...
Rename the repository at GitHub.
py
diff --git a/pods/datasets.py b/pods/datasets.py index <HASH>..<HASH> 100644 --- a/pods/datasets.py +++ b/pods/datasets.py @@ -558,7 +558,12 @@ def nigerian_covid(data_set='nigerian_covid', refresh_data=False): from pandas import read_csv dir_path = os.path.join(data_path, data_set) filename = os.path.jo...
Add Nigerian administrative zones and nmis data.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ py_version = platform.python_version() if py_version < '2.7': REQUIRED_PACKAGES.append('argparse>=1.2.1') -_APITOOLS_VERSION = '0.5.11' +_APITOOLS_VERSION = '0.5.12' with open('README.rst') as fileobj...
Update for <I> release.
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 @@ -90,9 +90,8 @@ class ModelTests(TestCase): with self.new_user() as u: model_repr = repr(u) dict_repr = repr(dict(u)) - self.assertEqual(...
change method of test_repr to be compatible with python3
py
diff --git a/seleniumbase/utilities/selenium_ide/convert_ide.py b/seleniumbase/utilities/selenium_ide/convert_ide.py index <HASH>..<HASH> 100755 --- a/seleniumbase/utilities/selenium_ide/convert_ide.py +++ b/seleniumbase/utilities/selenium_ide/convert_ide.py @@ -734,7 +734,7 @@ def main(): seleniumbase_lines.a...
Update output of "sbase convert FILE.py" for Python 3
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ install_requires = [ 'mypy-extensions==0.4.3', 'six>=1.10.0,<2.0.0', 'pip>=9,<20.4', - 'attrs>=19.3.0,<20.3.0', + 'attrs>=19.3.0,<20.4.0', 'enum-compat>=0.0.2', 'jmespath>=0.9.3,<1...
Update attrs dependency to latest release.
py
diff --git a/vcr/stubs/aiohttp_stubs.py b/vcr/stubs/aiohttp_stubs.py index <HASH>..<HASH> 100644 --- a/vcr/stubs/aiohttp_stubs.py +++ b/vcr/stubs/aiohttp_stubs.py @@ -134,7 +134,10 @@ def play_responses(cassette, vcr_request): # may have edge cases based on the headers we're providing (e.g. if # there...
aiohttp: Check if the response is playable before redirecting
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ setup( version=version.txaws, description="Async library for EC2, OpenStack, and Eucalyptus", author="txAWS Developers", - url="https://github.com/oubiwann/txaws", + url="https://github.com/...
Updated URL for new home on GitHub.
py
diff --git a/vagrant/__init__.py b/vagrant/__init__.py index <HASH>..<HASH> 100644 --- a/vagrant/__init__.py +++ b/vagrant/__init__.py @@ -666,6 +666,23 @@ class Vagrant(object): output = self._run_vagrant_command(['box', 'list', '--machine-readable']) return self._parse_box_list(output) + def pa...
Add support for package command (vagrant version >= <I>)
py
diff --git a/parse_rest/tests.py b/parse_rest/tests.py index <HASH>..<HASH> 100755 --- a/parse_rest/tests.py +++ b/parse_rest/tests.py @@ -59,6 +59,14 @@ class GameScore(Object): pass +class GameMap(Object): + pass + + +class GameMode(Object): + pass + + class City(Object): pass @@ -348,6 +356,25...
Add tests for Relation queries Making an Object, and then marking that it's got Relation's doesn't work. These tests demonstrate that. Next commit will fix whatever's needed so that these tests pass.
py
diff --git a/pyemu/en.py b/pyemu/en.py index <HASH>..<HASH> 100644 --- a/pyemu/en.py +++ b/pyemu/en.py @@ -1249,7 +1249,7 @@ class ParameterEnsemble(Ensemble): accept = {"uniform", "triangular", "gaussian"} assert default in accept,"ParameterEnsemble.from_mixed_draw() error: 'default' must be in {0}"....
revised mixed draws to only fill adjustable missing pars with default instead of all pars
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name="rueckenwind", version="0.0.1", - install_requires=['tornado>=3.0.1,<4.0', 'jinja2', 'werkzeug==0.6.2', 'babel', 'mock', 'configobj', 'bson'], ...
Added motor dependency, bson will be provided by pymongo.
py
diff --git a/lifelines/utils/__init__.py b/lifelines/utils/__init__.py index <HASH>..<HASH> 100644 --- a/lifelines/utils/__init__.py +++ b/lifelines/utils/__init__.py @@ -1012,7 +1012,7 @@ def check_nans_or_infs(df_or_array): infs = np.isinf(df_or_array) except TypeError: warning_text = ( - ...
Fixing reference in warning text for "unexpected datetype" (#<I>) The warning text refers to `lifelines.utils.datetime_to_durations` but should refer to `lifelines.utils.datetimes_to_durations` (notice "s" after datetime).
py
diff --git a/test/logformats_test.py b/test/logformats_test.py index <HASH>..<HASH> 100644 --- a/test/logformats_test.py +++ b/test/logformats_test.py @@ -61,6 +61,7 @@ TEST_MESSAGES = [ ) ] + def _test_writer_and_reader(test_case, writer_constructor, reader_constructor, sleep_time=0): """Tests a pair of ...
Extend wait period for sql writer testing
py
diff --git a/werkzeug/contrib/testtools.py b/werkzeug/contrib/testtools.py index <HASH>..<HASH> 100644 --- a/werkzeug/contrib/testtools.py +++ b/werkzeug/contrib/testtools.py @@ -40,7 +40,7 @@ class TestResponse(BaseResponse): 'Not a XML response (Content-Type: %s)' % self.mimetype) ...
fixed stupid typo --HG-- branch : trunk
py
diff --git a/tests/test_validator.py b/tests/test_validator.py index <HASH>..<HASH> 100755 --- a/tests/test_validator.py +++ b/tests/test_validator.py @@ -232,11 +232,12 @@ if __name__ == '__main__': features = sorted(unique_fields.items(), key=lambda x: x[0].lower(), reverse=True) max_len = max(len(f[0]) f...
Continues testing improvements to validator.py methods.
py
diff --git a/netsnmpagent.py b/netsnmpagent.py index <HASH>..<HASH> 100644 --- a/netsnmpagent.py +++ b/netsnmpagent.py @@ -339,11 +339,6 @@ class netsnmpAgent(object): self._objs = defaultdict(dict) def _prepareRegistration(self, oidstr, writable = True): - """ Prepares the registration of an SNMP object. - - ...
netsnmpagent: Remove doc string for _prepareRegistration It's an internally called method only, so there.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,8 @@ def setupPyStallone(): try: from jcc import cpp as cpp except ImportError: - raise RuntimeError('apache jcc not available') + raise RuntimeError('Apache JCC not available! '\ + ...
[setup] added hint howto install JCC
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -662,7 +662,7 @@ class TelegramClient(TelegramBareClient): max_id = message.id entity = self.get_input_entity(entity) - ...
Fix channel check issue on send_read_acknowledge (#<I>)
py
diff --git a/cyipopt/version.py b/cyipopt/version.py index <HASH>..<HASH> 100644 --- a/cyipopt/version.py +++ b/cyipopt/version.py @@ -10,4 +10,4 @@ Copyright (C) 2017-2021 cyipopt developers License: EPL 1.0 """ -__version__ = '1.1.0.dev0' +__version__ = '1.1.0'
Bump to version <I>.
py
diff --git a/fedmsg_meta_fedora_infrastructure/fedimg.py b/fedmsg_meta_fedora_infrastructure/fedimg.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/fedimg.py +++ b/fedmsg_meta_fedora_infrastructure/fedimg.py @@ -15,7 +15,7 @@ # License along with fedmsg; if not, write to the Free Software # Fou...
Author --> Authors to match other files.
py
diff --git a/helpers/postgresql.py b/helpers/postgresql.py index <HASH>..<HASH> 100644 --- a/helpers/postgresql.py +++ b/helpers/postgresql.py @@ -126,7 +126,7 @@ class Postgresql: member_conn = psycopg2.connect(member["address"]) member_conn.autocommit = True member_c...
compare xlog positions based on bytes since 0/<I> based on feedback
py
diff --git a/pymatgen/core/structure.py b/pymatgen/core/structure.py index <HASH>..<HASH> 100644 --- a/pymatgen/core/structure.py +++ b/pymatgen/core/structure.py @@ -1352,7 +1352,7 @@ class IStructure(SiteCollection, MSONable): return XSF(self).to_string() else: if filename: - ...
Minor fix to support gzipped yaml.
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.48.0" +__version__ = "0.49.0"
Update version number to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -175,7 +175,9 @@ def get_extensions(): define_macros = [] - extra_compile_args = {} + extra_compile_args = { + 'cxx': [] + } if (torch.cuda.is_available() and ((CUDA_HOME is not None) or is_rocm_p...
Added "-fopenmp" cflags (#<I>) (#<I>) * Fixes #<I> - Added "-fopenmp" cflags - Refactored cxx flags creation * Fixed for macosx
py
diff --git a/sklearn_evaluation/tables.py b/sklearn_evaluation/tables.py index <HASH>..<HASH> 100644 --- a/sklearn_evaluation/tables.py +++ b/sklearn_evaluation/tables.py @@ -24,8 +24,14 @@ def _compute_feature_importances(model, feature_names): f = [{'name':feature_names[i], 'importance':importances[i], 'std': st...
feature_importances table now supports n
py
diff --git a/source/rafcon/gui/mygaphas/items/state.py b/source/rafcon/gui/mygaphas/items/state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/mygaphas/items/state.py +++ b/source/rafcon/gui/mygaphas/items/state.py @@ -66,6 +66,9 @@ class StateView(Element): self.width = size[0] self.height = ...
fix(StateView): gaphas no longer defines _c_min_w and _c_min_h vars => Recursive resize works again
py
diff --git a/tests/handler_tests.py b/tests/handler_tests.py index <HASH>..<HASH> 100644 --- a/tests/handler_tests.py +++ b/tests/handler_tests.py @@ -16,6 +16,9 @@ class TestHandler(web.HTTPHandler): def do_put(self): return 200, self.request.body + def do_InVaLiD(self): + return 500, 'Oops' + @nottest def t...
add test for invalid http method by caps
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup -VERSION = '0.0.1' +VERSION = '0.0.2' DESCRIPTION = 'UI-level acceptance test framework' REQUIREMENTS = [ line.strip() for line in open("requirements.txt").readlines()
Incremented version to <I>
py
diff --git a/src/you_get/extractors/fantasy.py b/src/you_get/extractors/fantasy.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/fantasy.py +++ b/src/you_get/extractors/fantasy.py @@ -24,11 +24,13 @@ def fantasy_download_by_id_channelId(id = 0, channelId = 0, output_dir = '.', me title = html['data']['t...
[fantasy]request with referer
py
diff --git a/staff/models.py b/staff/models.py index <HASH>..<HASH> 100644 --- a/staff/models.py +++ b/staff/models.py @@ -16,6 +16,12 @@ DS_SETTING = getattr( ) DEFAULT_STORAGE = get_storage_class(DS_SETTING) +# Enable settings to set a custom ordering besides last_name then first name +STAFF_ORDERING = getattr( +...
Enabling a way to change the ordering of staff from settings file.
py
diff --git a/test/tests.py b/test/tests.py index <HASH>..<HASH> 100644 --- a/test/tests.py +++ b/test/tests.py @@ -1,11 +1,11 @@ +import os import unittest -import sys -sys.path.append('..') - import ipfsApi +HERE = os.path.dirname(os.path.abspath(__file__)) + class IpfsApiTest(unittest.TestCase): api =...
tests: chdir into tests/ whilst running IpfsApiTest This allows standard test runners to run the tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,13 @@ +from os import path from setuptools import setup, find_packages +requirements_txt = path.join(path.split(__file__)[0], 'requirements.txt') + +with open(requirements_txt) as f: + requires = [l.strip()...
setup.py loads requirements.txt
py
diff --git a/aiohttp_session/cookie_storage.py b/aiohttp_session/cookie_storage.py index <HASH>..<HASH> 100644 --- a/aiohttp_session/cookie_storage.py +++ b/aiohttp_session/cookie_storage.py @@ -40,6 +40,8 @@ class EncryptedCookieStorage(AbstractStorage): @asyncio.coroutine def save_session(self, request, r...
return empty dict at cookie storage to be able to invalidate the session
py
diff --git a/luigi/parameter.py b/luigi/parameter.py index <HASH>..<HASH> 100644 --- a/luigi/parameter.py +++ b/luigi/parameter.py @@ -230,6 +230,8 @@ class Parameter(object): :param x: the value to serialize. """ + if not isinstance(x, six.string_types) and self.__class__ == Parameter: + ...
Warn user if Parameter serializes something other than a string.
py
diff --git a/test_winazure.py b/test_winazure.py index <HASH>..<HASH> 100644 --- a/test_winazure.py +++ b/test_winazure.py @@ -9,7 +9,9 @@ from mock import ( from unittest import TestCase from winazure import ( + DATETIME_PATTERN, delete_unused_disks, + is_old_deployment, list_services, main, ...
Added test for is_old_deployment().
py
diff --git a/pymatgen/analysis/elasticity/tensors.py b/pymatgen/analysis/elasticity/tensors.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/elasticity/tensors.py +++ b/pymatgen/analysis/elasticity/tensors.py @@ -609,6 +609,13 @@ class TensorCollection(collections.Sequence): [t.convert_to_ieee(struct...
add a few more methods to base expansion
py
diff --git a/Operation.py b/Operation.py index <HASH>..<HASH> 100644 --- a/Operation.py +++ b/Operation.py @@ -307,6 +307,7 @@ class HistogramOperation(Operation): description = [] super(HistogramOperation, self).__init__(_("Histogram"), description) self.storage_type = "histogram-operation" ...
Fix histogram operation. svn r<I>
py
diff --git a/galpy/potential/McMillan17.py b/galpy/potential/McMillan17.py index <HASH>..<HASH> 100644 --- a/galpy/potential/McMillan17.py +++ b/galpy/potential/McMillan17.py @@ -55,8 +55,8 @@ def bulge_dens(R,z): #dicts used in DiskSCFPotential sigmadict = [{'type':'exp','h':Rd_HI,'amp':Sigma0_HI, 'Rhole':Rm_HI}, ...
Simplify surface-density of disk in McMillan<I> DiskSCF representation
py
diff --git a/master/buildbot/test/unit/test_oldpaths.py b/master/buildbot/test/unit/test_oldpaths.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_oldpaths.py +++ b/master/buildbot/test/unit/test_oldpaths.py @@ -29,3 +29,11 @@ class OldImportPaths(unittest.TestCase): def test_scheduler_Try_Use...
check for Change and ChangeMaster at the proper import path
py
diff --git a/bonsai/py/py_parser.py b/bonsai/py/py_parser.py index <HASH>..<HASH> 100644 --- a/bonsai/py/py_parser.py +++ b/bonsai/py/py_parser.py @@ -57,9 +57,6 @@ class ASTPreprocessor(ast.NodeTransformer): 'True': Bool, } - def visit_Compare(self, node): - return self.generic_visit(node) - ...
Delaying indefinitely chained comparisons
py
diff --git a/wal_e/wal_e.py b/wal_e/wal_e.py index <HASH>..<HASH> 100755 --- a/wal_e/wal_e.py +++ b/wal_e/wal_e.py @@ -275,7 +275,7 @@ def do_partition_get(backup_s3_prefix, local_root, tpart_number, except OSError, e: # ESRCH aka "no such process" if e.errno != errno.ESRC...
Avoid unnecessary use of a symbol in simple exception handling
py
diff --git a/admin_interface/settings.py b/admin_interface/settings.py index <HASH>..<HASH> 100644 --- a/admin_interface/settings.py +++ b/admin_interface/settings.py @@ -23,6 +23,5 @@ def check_installed_app(app, app_dj_version_limit): def check_installed_apps(): - check_installed_app('colorfield', (4, 0)) ...
Removed: Checking condition for colorfield package (#<I>)
py