instance_id stringlengths 10 57 | base_commit stringlengths 40 40 | created_at stringdate 2014-04-30 14:58:36 2025-04-30 20:14:11 | environment_setup_commit stringlengths 40 40 | hints_text stringlengths 0 273k | patch stringlengths 251 7.06M | problem_statement stringlengths 11 52.5k | repo stringlengths 7 53 | test_patch stringlengths 231 891k | meta dict | version stringclasses 739
values | install_config dict | requirements stringlengths 93 34.2k ⌀ | environment stringlengths 760 20.5k ⌀ | FAIL_TO_PASS listlengths 1 7.93k | FAIL_TO_FAIL listlengths 0 1.44k | PASS_TO_PASS listlengths 0 7.87k | PASS_TO_FAIL listlengths 0 192 | license_name stringclasses 55
values | __index_level_0__ int64 0 21.4k | docker_image stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sigmavirus24__github3.py-466 | dfbab2eb984045dc8f260dc81adf70f86d3c3e37 | 2015-11-07 00:57:43 | 05ed0c6a02cffc6ddd0e82ce840c464e1c5fd8c4 | diff --git a/AUTHORS.rst b/AUTHORS.rst
index 7bd1fec1..7d7615b9 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -106,3 +106,5 @@ Contributors
- Sourav Singh(@souravsingh)
- Matt Chung (@itsmemattchung)
+
+- Chris Thompson (@notyetsecure)
diff --git a/github3/issues/milestone.py b/github3/issues/milestone.py
index e55... | Null Milestone creator causing Repository.issue() to crash
When trying to get an issue that has a Milestone without a creator, github3.py crashes.
I think the fix is simple -- add a guard check before trying to create the User for the milestone.creator (like what is done for getting the milestone from an issue -- it... | sigmavirus24/github3.py | diff --git a/tests/test_issues.py b/tests/test_issues.py
index c36e3267..cdfa422b 100644
--- a/tests/test_issues.py
+++ b/tests/test_issues.py
@@ -121,6 +121,12 @@ class TestMilestone(BaseCase):
'2013-12-31T23:59:59Z')
self.mock_assertions()
+ def test_issue_465(self):
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 2
} | 1.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[test]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-mock",
"pytest-asyncio"
],
"pre_install": [
"ap... | betamax==0.9.0
betamax-matchers==0.4.0
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
exceptiongroup==1.2.2
execnet==2.1.1
-e git+https://github.com/sigmavirus24/github3.py.git@dfbab2eb984045dc8f260dc81adf70f86d3c3e37#egg=github3.py
idna==3.10
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
p... | name: github3.py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_issues.py::TestMilestone::test_issue_465"
] | [] | [
"tests/test_issues.py::TestLabel::test_delete",
"tests/test_issues.py::TestLabel::test_equality",
"tests/test_issues.py::TestLabel::test_repr",
"tests/test_issues.py::TestLabel::test_str",
"tests/test_issues.py::TestLabel::test_update",
"tests/test_issues.py::TestMilestone::test_delete",
"tests/test_iss... | [] | BSD 3-Clause "New" or "Revised" License | 291 | ||
zopefoundation__zope.publisher-9 | 57a3cee97207ab4a4f05924a07857d007109e17c | 2015-11-09 08:55:38 | 57a3cee97207ab4a4f05924a07857d007109e17c | diff --git a/src/zope/publisher/http.py b/src/zope/publisher/http.py
index 51ef486..f571f05 100644
--- a/src/zope/publisher/http.py
+++ b/src/zope/publisher/http.py
@@ -721,7 +721,7 @@ class HTTPResponse(BaseResponse):
result.append(
("X-Powered-By", "Zope (www.zope.org), Python (www.python.org)")... | Response headers are in random order
`HTTPResponse.getHeaders()` returns a list of headers in dictionary-internal order. This causes problems like https://github.com/zopefoundation/zope.app.publication/issues/3. | zopefoundation/zope.publisher | diff --git a/src/zope/publisher/tests/test_browserrequest.py b/src/zope/publisher/tests/test_browserrequest.py
index 36c1233..250f93c 100644
--- a/src/zope/publisher/tests/test_browserrequest.py
+++ b/src/zope/publisher/tests/test_browserrequest.py
@@ -152,10 +152,10 @@ class BrowserTests(HTTPTests):
self.asse... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 1
} | 4.2 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[test]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-mock",
"pytest-asyncio"
],
"pre_install": [
"ap... | coverage==7.8.0
exceptiongroup==1.2.2
execnet==2.1.1
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-xdist==3.6.1
python-gettext==5.0
pytz==2025.2
six==1.17.0
tomli==2.2.1
typing_extensions==4.13.0
zope.browser==3.1
zope.component==6.0
zop... | name: zope.publisher
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libg... | [
"src/zope/publisher/tests/test_browserrequest.py::BrowserTests::testTraversalToItem"
] | [
"src/zope/publisher/tests/test_browserrequest.py::HTTPTests::testCookieErrorToLog",
"src/zope/publisher/tests/test_browserrequest.py::BrowserTests::testCookieErrorToLog",
"src/zope/publisher/tests/test_http.py::HTTPTests::testCookieErrorToLog",
"src/zope/publisher/tests/test_http.py::ConcreteHTTPTests::testCo... | [
"src/zope/publisher/tests/test_browserrequest.py::HTTPTests::testBasicAuth",
"src/zope/publisher/tests/test_browserrequest.py::HTTPTests::testCookies",
"src/zope/publisher/tests/test_browserrequest.py::HTTPTests::testCookiesUnicode",
"src/zope/publisher/tests/test_browserrequest.py::HTTPTests::testDeduceServe... | [] | Zope Public License 2.1 | 292 | ||
msgpack__msgpack-python-158 | c8513898e222a91ad7f6520aa8a4a5a1711cdc65 | 2015-11-09 18:54:44 | 0e2021d3a3d1218ca191f4e802df0af3bbfaa51f | diff --git a/.travis.yml b/.travis.yml
index eced353..7695184 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,18 +1,18 @@
sudo: false
-cache:
- directories:
- - $HOME/.cache/pip
+cache: pip
language: python
python:
- - 3.5
+ - 2.7
branches:
only:
- master
env:
- - TOXENV=py27-c,py33... | Serialization of namedtuples
So I saw this referenced in the issue "Allow custom encoding (not character encoding but default function encoding) of unicode strings #73" and was wondering of there's a work around or any plans to implement a fix in the future.
I'm using version 0.4.6 and as far as I can tell there's ... | msgpack/msgpack-python | diff --git a/test/test_stricttype.py b/test/test_stricttype.py
new file mode 100644
index 0000000..a20b5eb
--- /dev/null
+++ b/test/test_stricttype.py
@@ -0,0 +1,15 @@
+# coding: utf-8
+
+from collections import namedtuple
+from msgpack import packb, unpackb
+
+
+def test_namedtuple():
+ T = namedtuple('T', "foo bar... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_issue_reference",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 7
} | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.5",
"reqs_path": null,
... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
-e g... | name: msgpack-python
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- im... | [
"test/test_stricttype.py::test_namedtuple"
] | [] | [] | [] | Apache License 2.0 | 293 | ||
craffel__mir_eval-157 | 3a6a8ce53eb7974db52104a834210b505b43f711 | 2015-11-10 21:04:57 | 4a35625bf2bbbd71d15916f634d563b3878ac5d0 | diff --git a/mir_eval/sonify.py b/mir_eval/sonify.py
index 23703e3..66a8319 100644
--- a/mir_eval/sonify.py
+++ b/mir_eval/sonify.py
@@ -125,7 +125,7 @@ def time_frequency(gram, frequencies, times, fs, function=np.sin, length=None):
return output
-def chroma(chromagram, times, fs):
+def chroma(chromagram, time... | sonify.chroma and sonify.chords should pass **kwargs to time_frequency
So that `length` and `function` can be set. | craffel/mir_eval | diff --git a/tests/test_sonify.py b/tests/test_sonify.py
index 03a2ec4..a1975c9 100644
--- a/tests/test_sonify.py
+++ b/tests/test_sonify.py
@@ -36,6 +36,10 @@ def test_chroma():
np.random.standard_normal((12, 1000)),
np.linspace(0, 10, 1000), fs)
assert len(signal) == 10*fs
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 1
},
"num_modified_files": 1
} | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "numpy>=1.7.0 scipy>=0.9.0 future six",
"pip_packages": [
"nose",
"pep8",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gc... | exceptiongroup==1.2.2
future @ file:///croot/future_1730902796226/work
iniconfig==2.1.0
-e git+https://github.com/craffel/mir_eval.git@3a6a8ce53eb7974db52104a834210b505b43f711#egg=mir_eval
nose==1.3.7
numpy @ file:///croot/numpy_and_numpy_base_1736283260865/work/dist/numpy-2.0.2-cp39-cp39-linux_x86_64.whl#sha256=3387e3... | name: mir_eval
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- blas=1.0=openblas
- ca-certificates=2025.2.25=h06a4308_0
- future=1.0.0=py39h06a4308_0
- ld_impl_linux-64=2.40... | [
"tests/test_sonify.py::test_chroma"
] | [
"tests/test_sonify.py::test_clicks",
"tests/test_sonify.py::test_chords"
] | [
"tests/test_sonify.py::test_time_frequency"
] | [] | MIT License | 294 | ||
tomerfiliba__plumbum-243 | 0db72571329ef8f8167b93c7cd9d737dfb37ebbf | 2015-11-11 06:35:45 | d24e80c5364a777a2393c3acb24a7a7220f023fc | diff --git a/plumbum/cli/progress.py b/plumbum/cli/progress.py
index 3ca68b2..080c80a 100644
--- a/plumbum/cli/progress.py
+++ b/plumbum/cli/progress.py
@@ -103,9 +103,9 @@ class ProgressBase(six.ABC):
pass
@classmethod
- def range(cls, *value, **kargs):
+ def range(cls, value, **kargs):
... | ProcessExecutionError is misleading when piped commands fail
Relates to #145
```
Type "help", "copyright", "credits" or "license" for more information.
>>> from plumbum.cmd import cat, head
>>> from plumbum import FG
>>> (cat['/dev/urndom'] | head['-c', '10']) & FG()
Traceback (most recent call last):
File ... | tomerfiliba/plumbum | diff --git a/tests/test_local.py b/tests/test_local.py
index d5bd458..a1fadcd 100644
--- a/tests/test_local.py
+++ b/tests/test_local.py
@@ -7,6 +7,7 @@ from plumbum import (local, LocalPath, FG, BG, TF, RETCODE, ERROUT,
CommandNotFound, ProcessExecutionError, ProcessTimedOut)
from plumbum.lib imp... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 0,
"test_score": 3
},
"num_modified_files": 7
} | 1.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.5",
"reqs_path": [
... | attrs==22.2.0
bcrypt==4.0.1
certifi==2021.5.30
cffi==1.15.1
cryptography==40.0.2
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
paramiko==3.5.1
pluggy==1.0.0
-e git+https://github.com/tomerfiliba/plumbum.git@0db72571329ef8f8167b93c7cd9d737dfb37ebbf#egg=plumbum
py==1.11.0
pycparser==2.21
PyNaCl==1.5.0
pypars... | name: plumbum
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- li... | [
"tests/test_local.py::LocalMachineTest::test_fair_error_attribution"
] | [
"tests/test_local.py::LocalMachineTest::test_arg_expansion",
"tests/test_local.py::LocalMachineTest::test_as_user",
"tests/test_local.py::LocalMachineTest::test_atomic_counter",
"tests/test_local.py::LocalMachineTest::test_atomic_file2",
"tests/test_local.py::LocalMachineTest::test_bound_env",
"tests/test... | [
"tests/test_local.py::LocalPathTest::test_chown",
"tests/test_local.py::LocalPathTest::test_compare_pathlib",
"tests/test_local.py::LocalPathTest::test_dirname",
"tests/test_local.py::LocalPathTest::test_name",
"tests/test_local.py::LocalPathTest::test_newname",
"tests/test_local.py::LocalPathTest::test_p... | [] | MIT License | 295 | ||
refnx__refnx-15 | 828e06645c2d04138505c4b22b1348e4a92ffa82 | 2015-11-12 03:41:18 | 568a56132fe0cd8418cff41ffedfc276bdb99af4 | diff --git a/refnx/dataset/data1d.py b/refnx/dataset/data1d.py
index 11737c90..cc231aca 100644
--- a/refnx/dataset/data1d.py
+++ b/refnx/dataset/data1d.py
@@ -1,5 +1,5 @@
""""
- A basic representation of a 1D dataset
+A basic representation of a 1D dataset
"""
from __future__ import division
@@ -12,25 +12,24 @@... | PlatypusNexus.write_spectrum_xml doesn't work.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-7-1d0132abf492> in <module>()
----> 1 f.write_spectrum_xml('PLP0024619.spec')
C:\Miniconda3\envs\d... | refnx/refnx | diff --git a/refnx/dataset/test/test_reflectdataset.py b/refnx/dataset/test/test_reflectdataset.py
index 2bfbab6e..36cfa16f 100644
--- a/refnx/dataset/test/test_reflectdataset.py
+++ b/refnx/dataset/test/test_reflectdataset.py
@@ -10,8 +10,15 @@ path = os.path.dirname(os.path.abspath(__file__))
class TestReflectDatase... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files": 6
} | 0.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "numpy>=1.16.0 scipy>=1.0.0 emcee>=2.2.1 six>=1.11.0 uncertainties>=3.0.1 pandas>=0.23.4 pytest>=3.6.0 h5py>=2.8.0 xlrd>=1.1.0 ptemcee>=1.0.0",
"pip_packages": [
... | asteval==0.9.26
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
emcee @ file:///home/conda/feedstock_root/build_artifacts/emcee_1713796893786/work
future==0.18.2
h5py @ file:///tmp/build/80754af9/h5py_1593454121459/work
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1... | name: refnx
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- blas=1.0=openblas
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a... | [
"refnx/dataset/test/test_reflectdataset.py::TestReflectDataset::test_save_xml",
"refnx/reduce/test/test_event.py::TestEvent::test_open_with_path"
] | [
"refnx/reduce/test/test_platypusnexus.py::TestPlatypusNexus::test_calculate_bins",
"refnx/reduce/test/test_platypusnexus.py::TestPlatypusNexus::test_event",
"refnx/reduce/test/test_platypusnexus.py::TestPlatypusNexus::test_reduction_runs",
"refnx/reduce/test/test_platypusnexus.py::TestPlatypusNexus::test_save... | [
"refnx/dataset/test/test_reflectdataset.py::TestReflectDataset::test_add_data",
"refnx/dataset/test/test_reflectdataset.py::TestReflectDataset::test_load",
"refnx/reduce/test/test_event.py::TestEvent::test_max_frames",
"refnx/reduce/test/test_event.py::TestEvent::test_num_events",
"refnx/reduce/test/test_ev... | [] | BSD 3-Clause "New" or "Revised" License | 296 | ||
falconry__falcon-651 | a8154de497b3ec5d6e5579026e74e9073e353819 | 2015-11-13 11:56:13 | b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce | kgriffs: I think this makes sense. It is a breaking change, but one that should be easy for developers to accommodate. A couple testing suggestions inline. | diff --git a/falcon/api.py b/falcon/api.py
index cdc2c66..1a6b944 100644
--- a/falcon/api.py
+++ b/falcon/api.py
@@ -178,7 +178,8 @@ class API(object):
# e.g. a 404.
responder, params, resource = self._get_responder(req)
- self._call_rsrc_mw(middleware_stack, req, resp... | Pass params to process_resource
This is needed for feature parity with global *before* hooks. We can use a shim to avoid breaking existing middleware. | falconry/falcon | diff --git a/tests/test_httpstatus.py b/tests/test_httpstatus.py
index 3569e6b..f525be1 100644
--- a/tests/test_httpstatus.py
+++ b/tests/test_httpstatus.py
@@ -166,7 +166,7 @@ class TestHTTPStatusWithGlobalHooks(testing.TestBase):
def test_raise_status_in_process_resource(self):
""" Make sure we can rais... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 1
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"nose",
"coverage",
"ddt",
"pyyaml",
"requests",
"testtools",
"pytest"
],
"pre_install": [
"apt-get upd... | attrs @ file:///croot/attrs_1668696182826/work
certifi @ file:///croot/certifi_1671487769961/work/certifi
charset-normalizer==3.4.1
coverage==7.2.7
ddt==1.7.2
-e git+https://github.com/falconry/falcon.git@a8154de497b3ec5d6e5579026e74e9073e353819#egg=falcon
flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762... | name: falcon
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=22.1.0=py37h06a4308_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0
- flit-cor... | [
"tests/test_httpstatus.py::TestHTTPStatusWithGlobalHooks::test_raise_status_in_process_resource",
"tests/test_middlewares.py::TestRequestTimeMiddleware::test_log_get_request",
"tests/test_middlewares.py::TestSeveralMiddlewares::test_generate_trans_id_and_time_with_request",
"tests/test_middlewares.py::TestSev... | [] | [
"tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_empty_body",
"tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_in_before_hook",
"tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_in_responder",
"tests/test_httpstatus.py::TestHTTPStatus::test_raise_status_runs_after_hooks",
... | [] | Apache License 2.0 | 298 | |
Stranger6667__pyanyapi-33 | 433dc8263c6c346d772120ad6f402714eb95c72a | 2015-11-15 11:30:16 | aebee636ad26f387850a6c8ab820ce4aac3f9adb | codecov-io: ## [Current coverage][1] is `100.00%`
> Merging **#33** into **master** will not affect coverage as of [`13e366f`][3]
```diff
@@ master #33 diff @@
======================================
Files 7 7
Stmts 348 351 +3
Branches 36 38 ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 016a9b7..ecfdb61 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@ History
----------------
* Fixed `lxml` installation on PyPy (#34).
+* Add support for subparsers (#32).
0.5.3 - 30.10.2015
----------------
diff --git a/README.rst b/README.rst
index ad5... | Improve children syntax
As we discussed =D
Add supporting for childrens parse for every parent element
Example settings:
```python
class IMDBParser(HTMLParser):
settings = {
'films_blocks': {
'base': '//div[@class="media"]',
'children': {
'title': '/h4'... | Stranger6667/pyanyapi | diff --git a/tests/conftest.py b/tests/conftest.py
index 06f9542..d127796 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -4,7 +4,7 @@ import sys
import pytest
-from pyanyapi import JSONParser, RegExpParser, CombinedParser, interface_property, interface_method
+from pyanyapi import JSONParser, RegExpPars... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 3
} | 0.5 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov"
],
"pre_install": [],
"python": "3.5",
"reqs_path": [
"requirements.txt"
],
"test_... | attrs==22.2.0
certifi==2021.5.30
coverage==6.2
importlib-metadata==4.8.3
iniconfig==1.1.1
lxml==5.3.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
-e git+https://github.com/Stranger6667/pyanyapi.git@433dc8263c6c346d772120ad6f402714eb95c72a#egg=pyanyapi
pyparsing==3.1.4
pytest==7.0.1
pytest-cov==4.0.0
PyYAML==3.11
tomli==1.... | name: pyanyapi
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- l... | [
"tests/test_parsers.py::test_children[SubParser]",
"tests/test_parsers.py::test_children[sub_parser1]"
] | [] | [
"tests/test_parsers.py::test_xml_objectify_parser",
"tests/test_parsers.py::test_xml_objectify_parser_error",
"tests/test_parsers.py::test_xml_parser_error",
"tests/test_parsers.py::test_yaml_parser_error",
"tests/test_parsers.py::test_xml_parsed[settings0]",
"tests/test_parsers.py::test_xml_parsed[settin... | [] | MIT License | 299 | |
docker__docker-py-854 | 9ebecb5991303d55fe208114a1de422650c4dcb2 | 2015-11-16 19:50:27 | 2f2d50d0c7be5882b150f6ff3bae31d469720e5b | GordonTheTurtle: Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
~~~console
$ git clone -b "840-add-exception-utility-method-for-create-host-config" git@github.com:lots0logs/docker-py.git ... | diff --git a/docker/utils/utils.py b/docker/utils/utils.py
index 560ee8e2..9c4bb477 100644
--- a/docker/utils/utils.py
+++ b/docker/utils/utils.py
@@ -236,7 +236,7 @@ def convert_port_bindings(port_bindings):
for k, v in six.iteritems(port_bindings):
key = str(k)
if '/' not in key:
- k... | [enhancement] Add utility method to utils.py for raising errors
PR incoming... | docker/docker-py | diff --git a/tests/integration/container_test.py b/tests/integration/container_test.py
index 03965146..79840a1b 100644
--- a/tests/integration/container_test.py
+++ b/tests/integration/container_test.py
@@ -364,6 +364,13 @@ class CreateContainerTest(helpers.BaseTestCase):
host_config = inspect['HostConfig']
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 3,
"issue_text_score": 3,
"test_score": 2
},
"num_modified_files": 1... | 1.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"flake8"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"p... | certifi @ file:///croot/certifi_1671487769961/work/certifi
coverage==7.2.7
-e git+https://github.com/docker/docker-py.git@9ebecb5991303d55fe208114a1de422650c4dcb2#egg=docker_py
exceptiongroup==1.2.2
flake8==5.0.4
importlib-metadata==4.2.0
iniconfig==2.0.0
mccabe==0.7.0
packaging==24.0
pluggy==1.2.0
pycodestyle==2.9.1
p... | name: docker-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- ... | [
"tests/unit/api_test.py::DockerApiTest::test_create_host_config_secopt"
] | [] | [
"tests/unit/api_test.py::DockerApiTest::test_auto_retrieve_server_version",
"tests/unit/api_test.py::DockerApiTest::test_ctor",
"tests/unit/api_test.py::DockerApiTest::test_events",
"tests/unit/api_test.py::DockerApiTest::test_events_with_filters",
"tests/unit/api_test.py::DockerApiTest::test_events_with_si... | [] | Apache License 2.0 | 300 | |
rackerlabs__lambda-uploader-29 | abf7e64f20294e7f6f44169ccb496f61018667b7 | 2015-11-18 14:32:02 | c40923a6982a0a3d4fd41b135a4f9b7e97b74f90 | diff --git a/README.md b/README.md
index 13e2baa..b3654f3 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,11 @@ To specify an alternative profile that has been defined in `~/.aws/credentials`
lambda-uploader --profile=alternative-profile
```
+To specify an alternative, prexisting virtualenv use the `--virtualen... | Allow a virtualenv for another platform to be included
Instead of building a virtualenv with requirements.txt, allow an existing virtualenv to be used. This would allow us to build a virtualenv for Amazon Linux, and then still deploy lambda functions using lambda-uploader from client machines or other automation that m... | rackerlabs/lambda-uploader | diff --git a/test/test_package.py b/test/test_package.py
index 88cc9f6..1a64572 100644
--- a/test/test_package.py
+++ b/test/test_package.py
@@ -39,6 +39,7 @@ def test_prepare_workspace():
pkg = package.Package(TESTING_TEMP_DIR)
pkg.prepare_workspace()
+ pkg.prepare_virtualenv()
assert path.isdir(te... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files": 4
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[all]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio",
"pytest"
],
"pre_install": [
"apt-get update",
... | boto3==1.1.4
botocore==1.2.11
certifi @ file:///croot/certifi_1671487769961/work/certifi
coverage==7.2.7
distlib==0.3.9
docutils==0.20.1
exceptiongroup==1.2.2
execnet==2.0.2
filelock==3.12.2
futures==2.2.0
importlib-metadata==6.7.0
iniconfig==2.0.0
jmespath==0.10.0
-e git+https://github.com/rackerlabs/lambda-uploader.g... | name: lambda-uploader
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_... | [
"test/test_package.py::test_prepare_workspace",
"test/test_package.py::test_existing_virtualenv"
] | [
"test/test_package.py::test_install_requirements"
] | [
"test/test_package.py::test_package_zip_location",
"test/test_package.py::test_package_clean_workspace",
"test/test_package.py::test_package"
] | [] | Apache License 2.0 | 302 | ||
joke2k__django-environ-57 | 0033650843d1be51b4e05dc3ccb58bbfee44e42c | 2015-11-19 12:21:44 | c2620021614557abe197578f99deeef42af3e082 | diff --git a/environ/environ.py b/environ/environ.py
index ca07f93..601523d 100644
--- a/environ/environ.py
+++ b/environ/environ.py
@@ -330,7 +330,7 @@ class Env(object):
>>> from environ import Env
>>> Env.db_url_config('sqlite:////full/path/to/your/file.sqlite')
- {'ENGINE': 'django.db.bac... | Unspecified database properties default to `None` rather than the empty string
Using django-environ v0.4.0 on Python v2.7.10.
**STR:**
```bash
$ DATABASE_URL='mysql://root@localhost/test_db'
$ python
>>> import json
>>> import environ
>>> env = environ.Env()
>>> print(json.dumps(env.db_url('DATABASE_URL'), in... | joke2k/django-environ | diff --git a/environ/test.py b/environ/test.py
index 7f66c34..6761f00 100644
--- a/environ/test.py
+++ b/environ/test.py
@@ -157,7 +157,7 @@ class EnvTests(BaseTests):
self.assertEqual(mysql_config['HOST'], 'us-cdbr-east.cleardb.com')
self.assertEqual(mysql_config['USER'], 'bea6eb0')
self.ass... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 0
},
"num_modified_files": 1
} | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.6",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --color=no... | asgiref==3.4.1
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
Django==3.2.25
-e git+https://github.com/joke2k/django-environ.git@0033650843d1be51b4e05dc3ccb58bbfee44e42c#egg=django_environ
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ ... | name: django-environ
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- im... | [
"environ/test.py::EnvTests::test_db_url_value",
"environ/test.py::FileEnvTests::test_db_url_value",
"environ/test.py::DatabaseTestSuite::test_cleardb_parsing",
"environ/test.py::DatabaseTestSuite::test_database_ldap_url",
"environ/test.py::DatabaseTestSuite::test_mysql_no_password"
] | [] | [
"environ/test.py::EnvTests::test_bool_false",
"environ/test.py::EnvTests::test_bool_true",
"environ/test.py::EnvTests::test_cache_url_value",
"environ/test.py::EnvTests::test_dict_parsing",
"environ/test.py::EnvTests::test_dict_value",
"environ/test.py::EnvTests::test_email_url_value",
"environ/test.py:... | [] | MIT License | 303 | ||
ARMmbed__yotta-586 | 852c1e498fbb12938fa28aa388cf2b2b650508fe | 2015-11-19 17:32:49 | 852c1e498fbb12938fa28aa388cf2b2b650508fe | diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..0150ea4
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,5 @@
+[run]
+parallel=True
+concurrency=multiprocessing
+include=./yotta/*
+
diff --git a/tox.ini b/tox.ini
index 20af1fb..06075d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,14 +6,16 @@ deps=
... | c:\ytexe yt link does not install module
## Problem
To add a local library module to a executable module it requires 3 steps
`c:\ytlib yt link`
`c:\ytexe yt link ytlib`
If you run `yt ls` at this point there is no indication that `ytlib` is linked into the project, you must either `yt install` or `yt build` to get... | ARMmbed/yotta | diff --git a/yotta/test/cli/build.py b/yotta/test/cli/build.py
index bbd0dbb..3ff37bf 100644
--- a/yotta/test/cli/build.py
+++ b/yotta/test/cli/build.py
@@ -6,17 +6,14 @@
# standard library modules, , ,
import unittest
-import os
-import tempfile
import subprocess
import copy
import re
import datetime
# inte... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files": 4
} | 0.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc cmake ninja-build"
],
"python": "3.9",
"r... | argcomplete==0.9.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
colorama==0.3.9
cryptography==44.0.2
Deprecated==1.2.18
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
future==1.0.0
hgapi==1.7.4
idna==3.10
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
intelhex==2.... | name: yotta
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_im... | [
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkModuleGlobally",
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkNonexistentModule",
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkTarget",
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkTargetGlobally"
] | [
"yotta/test/cli/build.py::TestCLIBuild::test_buildComplex",
"yotta/test/cli/build.py::TestCLIBuild::test_buildComplexSpaceInPath",
"yotta/test/cli/build.py::TestCLIBuild::test_buildInfo",
"yotta/test/cli/build.py::TestCLIBuild::test_buildTests",
"yotta/test/cli/build.py::TestCLIBuild::test_buildTrivialExe",... | [
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkModule",
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkNonexistentTarget",
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkNotLinkedModuleGlobally",
"yotta/test/cli/unlink.py::TestCLIUnLink::testUnlinkNotLinkedTargetGlobally",
"yotta/test/ignores... | [] | Apache License 2.0 | 304 | ||
rackerlabs__lambda-uploader-35 | c40923a6982a0a3d4fd41b135a4f9b7e97b74f90 | 2015-11-20 15:06:36 | c40923a6982a0a3d4fd41b135a4f9b7e97b74f90 | diff --git a/README.md b/README.md
index 332bb35..bf0a3bb 100644
--- a/README.md
+++ b/README.md
@@ -29,11 +29,7 @@ Example lambda.json file:
"handler": "function.lambda_handler",
"role": "arn:aws:iam::00000000000:role/lambda_basic_execution",
"requirements": ["pygithub"],
- "ignore": [
- "circle.yml",
- ... | Option zip and upload only the folder contents
Right now, uploading grabs a bunch of stuff I don't need (git, PyGitHub, etc). This creates a fairly large zip file, hence, larger lambda storage.
Not being strong with Python, I'm guessing the extra stuff relates to using virtualenv. I don't need all those dependencies... | rackerlabs/lambda-uploader | diff --git a/test/test_package.py b/test/test_package.py
index 1a64572..a293d4f 100644
--- a/test/test_package.py
+++ b/test/test_package.py
@@ -1,5 +1,6 @@
import os
import sys
+import pytest
from shutil import rmtree
from os import path
@@ -53,9 +54,9 @@ def test_install_requirements():
temp_workspace = pa... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 3,
"test_score": 3
},
"num_modified_files": 5
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[all]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio",
"pytest"
],
"pre_install": [
"apt-get update",
... | boto3==1.1.4
botocore==1.2.11
certifi @ file:///croot/certifi_1671487769961/work/certifi
coverage==7.2.7
distlib==0.3.9
docutils==0.20.1
exceptiongroup==1.2.2
execnet==2.0.2
filelock==3.12.2
futures==2.2.0
importlib-metadata==6.7.0
iniconfig==2.0.0
jmespath==0.10.0
-e git+https://github.com/rackerlabs/lambda-uploader.g... | name: lambda-uploader
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_... | [
"test/test_package.py::test_omit_virtualenv"
] | [
"test/test_package.py::test_install_requirements",
"test/test_package.py::test_bad_existing_virtualenv"
] | [
"test/test_package.py::test_package_zip_location",
"test/test_package.py::test_package_clean_workspace",
"test/test_package.py::test_prepare_workspace",
"test/test_package.py::test_default_virtualenv",
"test/test_package.py::test_existing_virtualenv",
"test/test_package.py::test_package"
] | [] | Apache License 2.0 | 305 | ||
mozilla__puente-47 | 4208bed33250cd3c9d8dacdc73dbc274ce21c85d | 2015-11-20 21:37:58 | 4208bed33250cd3c9d8dacdc73dbc274ce21c85d | diff --git a/README.rst b/README.rst
index eab331f..8bafb63 100644
--- a/README.rst
+++ b/README.rst
@@ -12,6 +12,8 @@ using Jinja2 templates.
* merge command that merges new strings from a ``.pot`` file into locale ``.po``
files
* code to collapse whitespace for Jinja2's trans block
+* add pgettext and npgettext ... | pgettext for templates
Templates have `_` (alias for gettext), `gettext` and `ngettext` available. These are handled by Jinja2 contextfunctions which call the underlying installed gettext/ngettext callables, get strings back and then wrap in a `Markup`.
https://github.com/mitsuhiko/jinja2/blob/master/jinja2/ext.py#L... | mozilla/puente | diff --git a/tests/test_ext.py b/tests/test_ext.py
index c6ebc92..aa912f3 100644
--- a/tests/test_ext.py
+++ b/tests/test_ext.py
@@ -107,6 +107,74 @@ class TestPuenteI18nExtension:
)
assert render(tmpl) == '<b>multiple <i>bar</i></b>'
+ def test_pgettext(self):
+ tmpl = '{{ pgettext("conte... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 9
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-pythonpath",
"pytest-django"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
... | alabaster==0.7.16
asgiref==3.8.1
attrs==25.3.0
babel==2.17.0
backports.tarfile==1.2.0
build==1.2.2.post1
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.1
check-manifest==0.50
colorama==0.4.6
cryptography==44.0.2
distlib==0.3.9
Django==4.2.20
django-jinja==2.11.0
docutils==0.21.... | name: puente
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_merge.py::TestMergecommand::test_missing_pot_file"
] | [
"tests/test_extract.py::TestManageExtract::test_help",
"tests/test_merge.py::TestManageMerge::test_help",
"tests/test_ext.py::TestPuenteI18nExtension::test_gettext",
"tests/test_ext.py::TestPuenteI18nExtension::test_gettext_is_safe",
"tests/test_ext.py::TestPuenteI18nExtension::test_gettext_variable_values_... | [] | [] | BSD 3-Clause "New" or "Revised" License | 306 | ||
twisted__tubes-32 | 188aad3c9caf5d07e894d1fda6fb5f41b8bfc41a | 2015-11-22 00:11:15 | 188aad3c9caf5d07e894d1fda6fb5f41b8bfc41a | diff --git a/.travis.yml b/.travis.yml
index 04f9ff1..6944375 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@ env:
- secure: "CvFj8Df5OiDRrW7EsTGhkltdmNlYerx9hH/tSKxiNFVDBUUFaTN7rUr7kWcOKchzerGwk7zjZ4SRXyoSCs+Srht6GZxWHkNROwKpp5Xvf5clbLXbp7GO1X/L5rLgrXpGwtkhgNuHx0X2IUCDHUQAUSumPgZcNFu3emgVxEqabN0="
m... | tubes Router is broken
Besides the broken docstring for the Router as reported in #21 the Router also generally appears not to work; or am I missing something simple here?
see my attempt at creating unit tests for Router:
https://github.com/david415/tubes/tree/add_routing_tests.0
https://github.com/david415/tube... | twisted/tubes | diff --git a/tubes/test/test_routing.py b/tubes/test/test_routing.py
new file mode 100644
index 0000000..f0b4225
--- /dev/null
+++ b/tubes/test/test_routing.py
@@ -0,0 +1,117 @@
+# -*- test-case-name: tubes.test.test_routing -*-
+# Copyright (c) Twisted Matrix Laboratories.
+# See LICENSE for details.
+
+"""
+Tests for... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_issue_reference",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "... | attrs==25.3.0
Automat==24.8.1
characteristic==14.3.0
constantly==23.10.4
coverage==7.8.0
exceptiongroup==1.2.2
hyperlink==21.0.0
idna==3.10
incremental==24.7.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==6.0.0
six==1.17.0
tomli==2.2.1
-e git+https://github.com/twisted/tubes.git@188aad3c9caf... | name: tubes
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11.... | [
"tubes/test/test_routing.py::RouterTests::test_defaultTypeChecking",
"tubes/test/test_routing.py::RouterTests::test_routeRepr",
"tubes/test/test_routing.py::RouterTests::test_specifiedTypeChecking",
"tubes/test/test_routing.py::RouterTests::test_twoRoutes",
"tubes/test/test_routing.py::RoutedTests::test_eq"... | [] | [] | [] | MIT License | 308 | ||
joblib__joblib-277 | 484405ccea3cbcbd95e3cf241f15bf3eeb1aa8b6 | 2015-11-23 15:25:34 | 40341615cc2600675ce7457d9128fb030f6f89fa | diff --git a/joblib/hashing.py b/joblib/hashing.py
index f8a9ee6..93bc5e3 100644
--- a/joblib/hashing.py
+++ b/joblib/hashing.py
@@ -59,7 +59,8 @@ class Hasher(Pickler):
try:
self.dump(obj)
except pickle.PicklingError as e:
- warnings.warn('PicklingError while hashing %r: %r' %... | Surprising behaviour when one of the cached function arguments is not picklable
As reported by @arthurmensch. When one of the arguments is not picklable, the cached function result will only depend on the hash of all the arguments before the non picklable one.
A simple snippet to show the problem:
```python
import... | joblib/joblib | diff --git a/joblib/test/test_hashing.py b/joblib/test/test_hashing.py
index f0ce0eb..88407d0 100644
--- a/joblib/test/test_hashing.py
+++ b/joblib/test/test_hashing.py
@@ -23,6 +23,7 @@ from nose.tools import assert_equal
from joblib.hashing import hash, PY3
from joblib.func_inspect import filter_args
from joblib.m... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 1
} | 0.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "",
"pip_packages": [
"nose",
"coverage",
"numpy>=1.6.1",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"p... | attrs==22.2.0
certifi==2021.5.30
coverage==6.2
importlib-metadata==4.8.3
iniconfig==1.1.1
-e git+https://github.com/joblib/joblib.git@484405ccea3cbcbd95e3cf241f15bf3eeb1aa8b6#egg=joblib
nose==1.3.7
numpy==1.19.5
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
tomli==1.2.3
typing_extensions==4.1.... | name: joblib
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- lib... | [
"joblib/test/test_hashing.py::test_hashing_pickling_error"
] | [] | [
"joblib/test/test_hashing.py::test_memory_setup_func",
"joblib/test/test_hashing.py::test_memory_teardown_func",
"joblib/test/test_hashing.py::test_hash_methods",
"joblib/test/test_hashing.py::test_numpy_datetime_array",
"joblib/test/test_hashing.py::test_hash_numpy_noncontiguous",
"joblib/test/test_hashi... | [] | BSD 3-Clause "New" or "Revised" License | 310 | ||
mozilla__puente-52 | a7d648b09a9b28feafdec48492aa1722d5add9ff | 2015-11-23 22:58:31 | f78d702e0d1376425d8d613a6573a896fc8d11a1 | diff --git a/puente/commands.py b/puente/commands.py
index a36d035..c21cdd3 100644
--- a/puente/commands.py
+++ b/puente/commands.py
@@ -129,10 +129,11 @@ def extract_command(outputdir, domain_methods, text_domain, keywords,
print('Done')
-def merge_command(create, base_dir, domain_methods, languages):
+def me... | Add option to not create merge backup
According to https://www.gnu.org/software/gettext/manual/html_node/msgmerge-Invocation.html that should be `--backup=off` to the `msgmerge` tool. | mozilla/puente | diff --git a/tests/test_merge.py b/tests/test_merge.py
index 29e1456..60b46f1 100644
--- a/tests/test_merge.py
+++ b/tests/test_merge.py
@@ -65,6 +65,7 @@ class TestMergecommand:
merge_command(
create=True,
+ backup=True,
base_dir=str(tmpdir),
domain_methods=... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files"... | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-pythonpath",
"pytest-django"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
... | alabaster==0.7.16
asgiref==3.8.1
attrs==25.3.0
babel==2.17.0
backports.tarfile==1.2.0
build==1.2.2.post1
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.1
check-manifest==0.50
colorama==0.4.6
cryptography==44.0.2
distlib==0.3.9
Django==4.2.20
django-jinja==2.11.0
docutils==0.21.... | name: puente
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_merge.py::TestMergecommand::test_missing_pot_file"
] | [
"tests/test_merge.py::TestManageMerge::test_help",
"tests/test_merge.py::TestMergecommand::test_basic"
] | [] | [] | BSD 3-Clause "New" or "Revised" License | 311 | ||
rmcgibbo__sphinxcontrib-autodoc_doxygen-9 | 412da0340505383830878da66c809e6466d017e0 | 2015-11-24 00:46:24 | 412da0340505383830878da66c809e6466d017e0 | diff --git a/sphinxcontrib/autodoc_doxygen/autodoc.py b/sphinxcontrib/autodoc_doxygen/autodoc.py
index 6bfbdd6..c32508b 100644
--- a/sphinxcontrib/autodoc_doxygen/autodoc.py
+++ b/sphinxcontrib/autodoc_doxygen/autodoc.py
@@ -154,7 +154,10 @@ class DoxygenMethodDocumenter(DoxygenDocumenter):
return doc
d... | Omit namespace and class from method names
I did this by changing line 134 of autodoc.py from
return (rtype and (rtype + ' ') or '') + self.modname + '::' + self.objpath
to
return (rtype and (rtype + ' ') or '') + self.objpath
You mentioned before that this caused links to methods to be broken, but ... | rmcgibbo/sphinxcontrib-autodoc_doxygen | diff --git a/tests/test_format_xml_paragraph.py b/tests/test_format_xml_paragraph.py
index 66fb8e7..b795b7b 100644
--- a/tests/test_format_xml_paragraph.py
+++ b/tests/test_format_xml_paragraph.py
@@ -76,4 +76,11 @@ The above example has two problems. First, it does not respect distance constrai
integrator.addConstr... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_files": 2
} | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": [
... | alabaster==0.7.16
babel==2.17.0
docutils==0.21.2
exceptiongroup==1.2.2
iniconfig==2.1.0
Jinja2==3.1.6
lxml==5.3.1
MarkupSafe==3.0.2
packaging==24.2
pluggy==1.5.0
Pygments==2.19.1
pytest==8.3.5
six==1.17.0
snowballstemmer==2.2.0
Sphinx==1.3.1
sphinx-rtd-theme==0.1.9
-e git+https://github.com/rmcgibbo/sphinxcontrib-autod... | name: sphinxcontrib-autodoc_doxygen
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a6... | [
"tests/test_format_xml_paragraph.py::test_3"
] | [] | [
"tests/test_format_xml_paragraph.py::test_1",
"tests/test_format_xml_paragraph.py::test_2"
] | [] | MIT License | 312 | ||
docker__docker-py-861 | 1ca2bc58f0cf2e2cdda2734395bd3e7ad9b178bf | 2015-11-24 02:33:41 | 1ca2bc58f0cf2e2cdda2734395bd3e7ad9b178bf | diff --git a/docker/api/image.py b/docker/api/image.py
index f891e210..8493b38d 100644
--- a/docker/api/image.py
+++ b/docker/api/image.py
@@ -158,8 +158,6 @@ class ImageApiMixin(object):
if not tag:
repository, tag = utils.parse_repository_tag(repository)
registry, repo_name = auth.resol... | Can't pull images with . In name.
Docker images that have a `.` in their name cannot be pulled with docker-py. This is a result of:
https://github.com/docker/docker-py/blob/master/docker/auth/auth.py#L46 | docker/docker-py | diff --git a/tests/unit/auth_test.py b/tests/unit/auth_test.py
index 67830381..8e0b1d43 100644
--- a/tests/unit/auth_test.py
+++ b/tests/unit/auth_test.py
@@ -9,6 +9,7 @@ import shutil
import tempfile
from docker import auth
+from docker import errors
from .. import base
@@ -29,25 +30,31 @@ class RegressionTes... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 3,
"test_score": 3... | 1.5 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"flake8"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"p... | coverage==7.8.0
-e git+https://github.com/docker/docker-py.git@1ca2bc58f0cf2e2cdda2734395bd3e7ad9b178bf#egg=docker_py
exceptiongroup==1.2.2
flake8==7.2.0
iniconfig==2.1.0
mccabe==0.7.0
packaging==24.2
pluggy==1.5.0
pycodestyle==2.13.0
pyflakes==3.3.2
pytest==8.3.5
pytest-cov==6.0.0
requests==2.5.3
six==1.17.0
tomli==2.... | name: docker-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image",
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_invalid_index_name",
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_dotted_hub_library_image",
"tests/unit/utils_test.py::Pa... | [] | [
"tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode",
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_image",
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_resolve_repository_name_hub_library_image",
"tests/unit/auth_test.py::ResolveRepositoryNam... | [] | Apache License 2.0 | 313 | ||
docker__docker-py-863 | 28864df27b2cf289478d5fa9d5ca27a9f0daa9a8 | 2015-11-24 12:06:48 | 2f2d50d0c7be5882b150f6ff3bae31d469720e5b | aanand: Nice. I agree with @kanzure's comments, plus it'd be good to document the logic of `should_include`.
thomasboyt: @aanand cool, added some docs/comments!
aanand: Thanks! I think this can be squashed to one commit. | diff --git a/docker/utils/utils.py b/docker/utils/utils.py
index 9c4bb477..762b39a4 100644
--- a/docker/utils/utils.py
+++ b/docker/utils/utils.py
@@ -107,38 +107,68 @@ def exclude_paths(root, patterns, dockerfile=None):
exclude_patterns = list(set(patterns) - set(exceptions))
- all_paths = get_paths(root)
... | dockerignore implementation is relatively slow compared to Docker's implementation
I ran into an issue in a project where my builds - run through `docker-compose` - seemed to be taking an awfully long time (around ~60 seconds) during the context build/upload stage. `strace` showed a ton of time was being spent `stat()`... | docker/docker-py | diff --git a/tests/integration/build_test.py b/tests/integration/build_test.py
index 011ddc3e..26164ae0 100644
--- a/tests/integration/build_test.py
+++ b/tests/integration/build_test.py
@@ -65,6 +65,7 @@ class BuildTest(helpers.BaseTestCase):
'ignored',
'Dockerfile',
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 0,
"test_score": 1
},
"num_modified_files": 1
} | 1.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-mock",
"pytest-asyncio"
],
"pre_install": [
"apt... | coverage==7.8.0
-e git+https://github.com/docker/docker-py.git@28864df27b2cf289478d5fa9d5ca27a9f0daa9a8#egg=docker_py
exceptiongroup==1.2.2
execnet==2.1.1
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-xdist==3.6.1
requests==2.5.3
six==1.... | name: docker-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/unit/utils_test.py::ExcludePathsTest::test_directory_with_single_exception",
"tests/unit/utils_test.py::ExcludePathsTest::test_directory_with_subdir_exception",
"tests/unit/utils_test.py::ExcludePathsTest::test_directory_with_wildcard_exception"
] | [] | [
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types",
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_no_options",
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_no_options_newer_api_version",
"tests/unit/utils_test.py::HostConfigTest... | [] | Apache License 2.0 | 314 | |
getlogbook__logbook-176 | f4d4d9309d0a0ce097cfa52f0f3dad6280d7f2e3 | 2015-11-26 23:39:36 | bb0f4fbeec318a140780b1ac8781599474cf2666 | diff --git a/logbook/compat.py b/logbook/compat.py
index c3896db..b65ac00 100644
--- a/logbook/compat.py
+++ b/logbook/compat.py
@@ -9,12 +9,13 @@
:copyright: (c) 2010 by Armin Ronacher, Georg Brandl.
:license: BSD, see LICENSE for more details.
"""
-import sys
+import collections
import logging
+import sys... | Exception in LoggingCompatRecord for mapping keys
Example:
```
logger = logging.getLogger("test")
logger.setLevel("DEBUG")
logger.addHandler(RedirectLoggingHandler())
with logbook.StderrHandler():
logger.debug("test map %(name)s", {"name": "mapname"})
# raise exception in LoggingCompatRecord:
... | getlogbook/logbook | diff --git a/tests/test_logging_compat.py b/tests/test_logging_compat.py
index 48dfebe..31fdd40 100644
--- a/tests/test_logging_compat.py
+++ b/tests/test_logging_compat.py
@@ -36,8 +36,11 @@ def test_basic_compat(request, set_root_logger_level):
logger.warn('This is from the old %s', 'system')
... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 1
},
"num_modified_files": 1
} | 0.12 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[all]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": null,
... | async-timeout==5.0.1
Cython==3.0.12
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
execnet==2.1.1
greenlet==3.1.1
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
Jinja2==3.1.6
-e git+https://github.com/getlogbook/logbook.git@f4d4d9309d0a0ce097cfa52f0f3dad6280d7f2e3#egg=Logbook
... | name: logbook
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_... | [
"tests/test_logging_compat.py::test_basic_compat[True]",
"tests/test_logging_compat.py::test_basic_compat[False]"
] | [] | [
"tests/test_logging_compat.py::test_redirect_logbook",
"tests/test_logging_compat.py::test_warning_redirections"
] | [] | BSD License | 315 | ||
mapbox__mapbox-sdk-py-76 | ab45a8e1a40b5ecbe9e6c59002883e291856dcc9 | 2015-11-30 13:29:16 | 06728ffc30fba83003e9c76645ecec3eec1c63de | diff --git a/.travis.yml b/.travis.yml
index d99e41d..e323672 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,7 @@ env:
install:
- pip install -U pip --cache-dir $HOME/.pip-cache
- pip install -e .[test] --cache-dir $HOME/.pip-cache
+ - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install ordereddic... | Static Map API | mapbox/mapbox-sdk-py | diff --git a/tests/test_staticmaps.py b/tests/test_staticmaps.py
new file mode 100644
index 0000000..548ab2f
--- /dev/null
+++ b/tests/test_staticmaps.py
@@ -0,0 +1,99 @@
+import json
+
+try:
+ from urllib import quote
+except ImportError:
+ # python 3
+ from urllib.parse import quote
+
+try:
+ from collect... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_added_files",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score":... | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[test]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --co... | boto3==1.37.23
botocore==1.37.23
cachetools==5.5.2
certifi==2025.1.31
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
click-plugins==1.1.1
cligj==0.7.2
colorama==0.4.6
coverage==7.8.0
coveralls==4.0.1
distlib==0.3.9
docopt==0.6.2
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
filelock==3.18.0
id... | name: mapbox-sdk-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
... | [
"tests/test_staticmaps.py::test_staticmap_lonlatz_only",
"tests/test_staticmaps.py::test_staticmap_lonlatz_features",
"tests/test_staticmaps.py::test_staticmap_auto_features",
"tests/test_staticmaps.py::test_staticmap_auto_nofeatures"
] | [] | [] | [] | MIT License | 316 | ||
falconry__falcon-664 | 3a6ce66edb68261f66bd74f2f0f756900da78225 | 2015-11-30 18:10:25 | b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce | diff --git a/doc/api/errors.rst b/doc/api/errors.rst
index 26a5960..6cabdfa 100644
--- a/doc/api/errors.rst
+++ b/doc/api/errors.rst
@@ -36,5 +36,5 @@ Predefined Errors
HTTPBadRequest, HTTPUnauthorized, HTTPForbidden, HTTPNotFound,
HTTPMethodNotAllowed, HTTPNotAcceptable, HTTPConflict,
HTTPLe... | Adding HTTP_422, Unprocessable Entity
I guess we need such response support. | falconry/falcon | diff --git a/tests/test_httperror.py b/tests/test_httperror.py
index 1a99ccb..e48d4b0 100644
--- a/tests/test_httperror.py
+++ b/tests/test_httperror.py
@@ -676,5 +676,6 @@ class TestHTTPError(testing.TestBase):
self._misc_test(falcon.HTTPPreconditionFailed, falcon.HTTP_412)
self._misc_test(falcon.HTT... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files"... | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"coverage",
"ddt",
"pyyaml",
"requests",
"testtools",
"pytest"
],
"pre_install": [
"a... | certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
ddt==1.7.2
exceptiongroup==1.2.2
-e git+https://github.com/falconry/falcon.git@3a6ce66edb68261f66bd74f2f0f756900da78225#egg=falcon
idna==3.10
iniconfig==2.1.0
nose==1.3.7
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
python-mimeparse==2.0.0
PyYAML==6.0.2
reques... | name: falcon
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_httperror.py::TestHTTPError::test_misc"
] | [] | [
"tests/test_httperror.py::TestHTTPError::test_401",
"tests/test_httperror.py::TestHTTPError::test_404_with_body",
"tests/test_httperror.py::TestHTTPError::test_404_without_body",
"tests/test_httperror.py::TestHTTPError::test_405_with_body",
"tests/test_httperror.py::TestHTTPError::test_405_without_body",
... | [] | Apache License 2.0 | 317 | ||
juju-solutions__charms.benchmark-3 | df2acf8736cce39d905990fd5008d6afa57863c3 | 2015-12-01 12:31:43 | df2acf8736cce39d905990fd5008d6afa57863c3 | tvansteenburgh: Unrelated to your change, but I don't think the `in_relation_hook()` guard on __init__.py:133 is correct. Benchmark.start() is usually called in an action, not a relation, and we want the action_uuid to be set on the relation regardless of when Benchmark.start() is called. | diff --git a/charms/benchmark/__init__.py b/charms/benchmark/__init__.py
index 9a5458e..f0c15c5 100644
--- a/charms/benchmark/__init__.py
+++ b/charms/benchmark/__init__.py
@@ -130,14 +130,14 @@ class Benchmark(object):
charm_dir = os.environ.get('CHARM_DIR')
action_uuid = os.environ.get('JUJU_ACTION_... | Action UUID needs to be set explicitly to the collect-profile-data script | juju-solutions/charms.benchmark | diff --git a/tests/test_charms-benchmark.py b/tests/test_charms-benchmark.py
index 3b78034..8528993 100644
--- a/tests/test_charms-benchmark.py
+++ b/tests/test_charms-benchmark.py
@@ -146,7 +146,7 @@ class TestBenchmark(TestCase):
COLLECT_PROFILE_DATA = '/usr/local/bin/collect-profile-data'
exists.... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 1
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"coverage",
"testtools",
"pep8",
"mock",
"cherrypy",
"pyyaml",
"six",
"pytest"
... | autocommand==2.2.2
backports.tarfile==1.2.0
charmhelpers==1.2.1
-e git+https://github.com/juju-solutions/charms.benchmark.git@df2acf8736cce39d905990fd5008d6afa57863c3#egg=charms.benchmark
cheroot==10.0.1
CherryPy==18.10.0
coverage==7.8.0
exceptiongroup==1.2.2
iniconfig==2.1.0
jaraco.collections==5.1.0
jaraco.context==6... | name: charms.benchmark
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- li... | [
"tests/test_charms-benchmark.py::TestBenchmark::test_benchmark_start"
] | [] | [
"tests/test_charms-benchmark.py::TestBenchmark::test_benchmark_finish",
"tests/test_charms-benchmark.py::TestBenchmark::test_benchmark_finish_oserror",
"tests/test_charms-benchmark.py::TestBenchmark::test_benchmark_init",
"tests/test_charms-benchmark.py::TestBenchmark::test_benchmark_meta",
"tests/test_char... | [] | null | 318 | |
pre-commit__pre-commit-310 | 6b005cff0d5d4f579be5dbb97102c4fee3b4e39f | 2015-12-01 16:34:13 | c1c3f3b571adcd0cf5a8cea7d9d80574c2572c02 | diff --git a/pre_commit/error_handler.py b/pre_commit/error_handler.py
index c8d2bfc..60038f4 100644
--- a/pre_commit/error_handler.py
+++ b/pre_commit/error_handler.py
@@ -7,7 +7,9 @@ import io
import os.path
import traceback
+from pre_commit import five
from pre_commit.errors import FatalError
+from pre_commit.o... | Non-ascii prints in error handler without tty cause stacktrace
```
23:00:13 style runtests: commands[0] | pre-commit run --all-files
23:00:13 [INFO] Installing environment for git@git.yelpcorp.com:mirrors/pre-commit/mirrors-jshint.
23:00:13 [INFO] Once installed this environment will be reused.
23:00:13 [INFO] This... | pre-commit/pre-commit | diff --git a/tests/error_handler_test.py b/tests/error_handler_test.py
index 161b88f..d8f966a 100644
--- a/tests/error_handler_test.py
+++ b/tests/error_handler_test.py
@@ -1,15 +1,18 @@
+# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
import io
import os.pat... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 1
} | 0.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.5",
"reqs_path... | aspy.yaml==1.3.0
astroid==1.3.2
attrs==22.2.0
cached-property==1.5.2
certifi==2021.5.30
coverage==6.2
distlib==0.3.9
filelock==3.4.1
flake8==5.0.4
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
jsonschema==3.2.0
logilab-common==1.9.7
mccabe==0.7.0
mock==5.2.0
mypy-extensions==1.0.0
nodeenv==1.6.0... | name: pre-commit
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
-... | [
"tests/error_handler_test.py::test_log_and_exit"
] | [] | [
"tests/error_handler_test.py::test_error_handler_no_exception",
"tests/error_handler_test.py::test_error_handler_fatal_error",
"tests/error_handler_test.py::test_error_handler_uncaught_error",
"tests/error_handler_test.py::test_error_handler_non_ascii_exception",
"tests/error_handler_test.py::test_error_han... | [] | MIT License | 319 | ||
getlogbook__logbook-183 | 1d999a784d0d8f5f7423f25c684cc1100843ccc5 | 2015-12-03 01:44:29 | bb0f4fbeec318a140780b1ac8781599474cf2666 | diff --git a/logbook/handlers.py b/logbook/handlers.py
index 82e518f..5f66978 100644
--- a/logbook/handlers.py
+++ b/logbook/handlers.py
@@ -20,6 +20,7 @@ try:
except ImportError:
from sha import new as sha1
import traceback
+import collections
from datetime import datetime, timedelta
from collections import d... | SMTP Handler STARTTLS
Due to the lack of documentation on this handler it took a little digging to work out how to get it to work...
One thing that confused me was the "secure" argument. Python SMTPLib starttls() accepts two optional values: a keyfile and certfile - but these are only required for *checking* the ide... | getlogbook/logbook | diff --git a/tests/test_mail_handler.py b/tests/test_mail_handler.py
index babc4e2..fd7730b 100644
--- a/tests/test_mail_handler.py
+++ b/tests/test_mail_handler.py
@@ -7,6 +7,11 @@ from logbook.helpers import u
from .utils import capturing_stderr_context, make_fake_mail_handler
+try:
+ from unittest.mock impor... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files": 2
} | 0.12 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"Cython"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_... | coverage==7.8.0
Cython==3.0.12
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
-e git+https://github.com/getlogbook/logbook.git@1d999a784d0d8f5f7423f25c684cc1100843ccc5#egg=Logbook
packaging @ file:///croot/packaging_1734472117206/... | name: logbook
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_... | [
"tests/test_mail_handler.py::test_mail_handler_arguments"
] | [] | [
"tests/test_mail_handler.py::test_mail_handler[ContextEnteringStrategy]",
"tests/test_mail_handler.py::test_mail_handler[PushingStrategy]",
"tests/test_mail_handler.py::test_mail_handler_batching[ContextEnteringStrategy]",
"tests/test_mail_handler.py::test_mail_handler_batching[PushingStrategy]",
"tests/tes... | [] | BSD License | 320 | ||
projectmesa__mesa-178 | 57a0beb5947fc16b7b665f297504907e300b043c | 2015-12-04 04:39:32 | 6db9efde7c659b9338fc8cf551f066cdba7031c3 | diff --git a/mesa/space.py b/mesa/space.py
index 5e3a9544..77fe8174 100644
--- a/mesa/space.py
+++ b/mesa/space.py
@@ -24,6 +24,20 @@ X = 0
Y = 1
+def accept_tuple_argument(wrapped_function):
+ '''
+ Decorator to allow grid methods that take a list of (x, y) position tuples
+ to also handle a single posit... | baby patch/tweak: allow cell methods to take single cell
Cf. discussion in #176 -- taking on the small "(TODO: someone should probably fix that...)" from the tutorial re: grid's `get_cell_list_contents` requiring a list of cells even if it's just being passed a single cell. It's a very easy fix, I'm on the case. :-) | projectmesa/mesa | diff --git a/tests/test_grid.py b/tests/test_grid.py
index b558f4d9..c09f0496 100644
--- a/tests/test_grid.py
+++ b/tests/test_grid.py
@@ -53,6 +53,43 @@ class TestBaseGrid(unittest.TestCase):
x, y = agent.pos
assert self.grid[y][x] == agent
+ def test_cell_agent_reporting(self):
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_issue_reference",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 3
},
"num_modified_files": 1
} | 0.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"flake8"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],... | coverage==7.8.0
exceptiongroup==1.2.2
flake8==7.2.0
iniconfig==2.1.0
mccabe==0.7.0
-e git+https://github.com/projectmesa/mesa.git@57a0beb5947fc16b7b665f297504907e300b043c#egg=Mesa
numpy==2.0.2
packaging==24.2
pandas==2.2.3
pluggy==1.5.0
pycodestyle==2.13.0
pyflakes==3.3.1
pytest==8.3.5
pytest-cov==6.0.0
python-dateutil... | name: mesa
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11.2... | [
"tests/test_grid.py::TestBaseGrid::test_listfree_cell_agent_reporting",
"tests/test_grid.py::TestBaseGrid::test_listfree_iter_cell_agent_reporting",
"tests/test_grid.py::TestBaseGridTorus::test_listfree_cell_agent_reporting",
"tests/test_grid.py::TestBaseGridTorus::test_listfree_iter_cell_agent_reporting"
] | [] | [
"tests/test_grid.py::TestBaseGrid::test_agent_positions",
"tests/test_grid.py::TestBaseGrid::test_cell_agent_reporting",
"tests/test_grid.py::TestBaseGrid::test_coord_iter",
"tests/test_grid.py::TestBaseGrid::test_iter_cell_agent_reporting",
"tests/test_grid.py::TestBaseGrid::test_neighbors",
"tests/test_... | [] | Apache License 2.0 | 321 | ||
mapbox__mapbox-sdk-py-85 | 06728ffc30fba83003e9c76645ecec3eec1c63de | 2015-12-04 14:13:44 | 06728ffc30fba83003e9c76645ecec3eec1c63de | diff --git a/mapbox/services/base.py b/mapbox/services/base.py
index 4a25402..efd0eeb 100644
--- a/mapbox/services/base.py
+++ b/mapbox/services/base.py
@@ -1,6 +1,8 @@
"""Base Service class"""
import os
+import base64
+import json
import requests
@@ -27,6 +29,20 @@ class Service:
"""A product token f... | Get user from token
As in https://github.com/mapbox/mapbox-sdk-js/blob/master/lib/get_user.js. This allows us to eliminate a duplicate parameter when creating dataset and upload service instances. | mapbox/mapbox-sdk-py | diff --git a/tests/test_base.py b/tests/test_base.py
index ff773d7..39a3311 100644
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -1,3 +1,6 @@
+import base64
+import os
+
import pytest
import requests
import responses
@@ -60,3 +63,36 @@ def test_custom_messages():
with pytest.raises(requests.exceptions.HT... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 1
},
... | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[test]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.4",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --co... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
boto3==1.23.10
botocore==1.26.10
certifi==2021.5.30
charset-normalizer==2.0.12
click==8.0.4
click-plugins==1.1.1
cligj==0.7.2
coverage==6.2
coveralls==3.3.1
distlib==0.3.9
docopt==0.6.2
filelock==3.4.1
idna==3.10
importlib-metadata==4.8.3
importlib-resources=... | name: mapbox-sdk-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- imp... | [
"tests/test_base.py::test_username",
"tests/test_base.py::test_username_failures",
"tests/test_upload.py::test_get_credentials",
"tests/test_upload.py::test_create",
"tests/test_upload.py::test_create_name",
"tests/test_upload.py::test_list",
"tests/test_upload.py::test_status",
"tests/test_upload.py:... | [] | [
"tests/test_base.py::test_service_session",
"tests/test_base.py::test_service_session_env",
"tests/test_base.py::test_service_session_os_environ",
"tests/test_base.py::test_service_session_os_environ_caps",
"tests/test_base.py::test_product_token",
"tests/test_base.py::test_user_agent",
"tests/test_base... | [] | MIT License | 322 | ||
andycasey__ads-36 | 5bd62ef2bf924116374455e222ea9ac8dc416b3a | 2015-12-04 17:01:02 | c039d67c2b2e9dad936758bc89df1fdd1cbd0aa1 | diff --git a/ads/search.py b/ads/search.py
index eb64e70..fed6c0c 100644
--- a/ads/search.py
+++ b/ads/search.py
@@ -275,7 +275,7 @@ class SearchQuery(BaseQuery):
"title", "reference", "citation"]
def __init__(self, query_dict=None, q=None, fq=None, fl=DEFAULT_FIELDS,
- sor... | Number of returned results doesn't correspond to 'rows' key value in SearchQuery
Example code:
````
In [5]: papers = ads.SearchQuery(q="supernova", sort="citation_count", rows=10)
In [6]: print(len(list(papers)))
40
````
Not massively important, but a bit surprising anyway. Any explanation? Thanks! | andycasey/ads | diff --git a/ads/tests/test_search.py b/ads/tests/test_search.py
index 346d957..331a9f5 100644
--- a/ads/tests/test_search.py
+++ b/ads/tests/test_search.py
@@ -131,18 +131,24 @@ class TestSearchQuery(unittest.TestCase):
self.assertEqual(len(sq.articles), 1)
self.assertEqual(sq._query['start']... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 1
} | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": [
... | -e git+https://github.com/andycasey/ads.git@5bd62ef2bf924116374455e222ea9ac8dc416b3a#egg=ads
certifi==2025.1.31
charset-normalizer==3.4.1
exceptiongroup==1.2.2
httpretty==1.1.4
idna==3.10
iniconfig==2.1.0
MarkupSafe==3.0.2
mock==5.2.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
requests==2.32.3
six==1.17.0
tomli==2.2.1... | name: ads
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11.2.... | [
"ads/tests/test_search.py::TestSearchQuery::test_iter"
] | [] | [
"ads/tests/test_search.py::TestArticle::test_cached_properties",
"ads/tests/test_search.py::TestArticle::test_equals",
"ads/tests/test_search.py::TestArticle::test_get_field",
"ads/tests/test_search.py::TestArticle::test_init",
"ads/tests/test_search.py::TestArticle::test_print_methods",
"ads/tests/test_s... | [] | MIT License | 323 | ||
mozilla-services__requests-hawk-14 | 5cbc81acf71584413ee5a2a65bf8ac951f0f9c50 | 2015-12-05 19:17:42 | 5cbc81acf71584413ee5a2a65bf8ac951f0f9c50 | diff --git a/CHANGES.txt b/CHANGES.txt
index 0cce5ce..f312487 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,10 +1,14 @@
CHANGELOG
=========
-0.3.0 (unreleased)
+1.0.0 (unreleased)
------------------
-- Nothing changed yet.
+- Simplified API for using HawkAuth when the id and key are known. (#8)
+- Added suppo... | Make instantiation with credentials simpler/cleaner
We've just started to use Hawk for the Treeherder API and so are having to add support to our Python client that we make available for people to interact with the API, as well as update documentation for it.
The current WIP docs for how people should use our Python... | mozilla-services/requests-hawk | diff --git a/requests_hawk/tests/test_hawkauth.py b/requests_hawk/tests/test_hawkauth.py
index d91363c..ed0aa21 100644
--- a/requests_hawk/tests/test_hawkauth.py
+++ b/requests_hawk/tests/test_hawkauth.py
@@ -6,20 +6,32 @@ from requests_hawk import HawkAuth
class TestHawkAuth(unittest.TestCase):
- def test_hawk... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 5
} | 0.2 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": null,
... | certifi==2025.1.31
charset-normalizer==3.4.1
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
idna==3.10
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
mohawk==1.1.0
packaging @ file:///croot/packaging_1734472117206/work
pluggy @ file:///croot/pluggy_1733169602837/work
pytest @ ... | name: requests-hawk
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
... | [
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawkauth_errors_when_credentials_passed",
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawkauth_errors_when_id_and_hawk_session_passed",
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawkauth_errors_when_id_and_key_and_hawk_sessi... | [
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawk_auth_is_called_when_json_present",
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawk_auth_supports_credentials_as_parameters"
] | [
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_credentials_are_derived_from_session",
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawk_auth_can_handle_a_timestamp_argument",
"requests_hawk/tests/test_hawkauth.py::TestHawkAuth::test_hawkauth_errors_when_no_auth_is_set",
"requests_hawk/... | [] | Apache License 2.0 | 324 | ||
typesafehub__conductr-cli-90 | 5947a412f5c61a10f5e5f0aa2da85cac2c66faca | 2015-12-08 23:44:42 | 1df5ea26ef321f9aca5cb5cab60c4388baab0ffc | diff --git a/conductr_cli/bundle_installation.py b/conductr_cli/bundle_installation.py
index 885499a..a97e64a 100644
--- a/conductr_cli/bundle_installation.py
+++ b/conductr_cli/bundle_installation.py
@@ -21,29 +21,45 @@ def count_installations(bundle_id, args):
return 0
+def wait_for_uninstallation(bundle_id,... | Introduce wait behaviour for conduct unload command
The `conduct load`, `conduct run`, and `conduct stop` has its default behaviour (to wait) and `--no-wait` option.
Implement the same behaviour for `conduct unload` command to allow scripting of the stop and uninstallation of bundles within ConductR | typesafehub/conductr-cli | diff --git a/conductr_cli/test/test_bundle_installation.py b/conductr_cli/test/test_bundle_installation.py
index 567b81a..eb32335 100644
--- a/conductr_cli/test/test_bundle_installation.py
+++ b/conductr_cli/test/test_bundle_installation.py
@@ -8,8 +8,14 @@ except ImportError:
from mock import call, patch, MagicMo... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 3
} | 0.21 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"flake8",
"pep8-naming",
"flake8-quotes"
],
"pre_install": [
"apt-get update",
"apt-get install -y gc... | argcomplete==3.6.1
arrow==1.3.0
certifi==2025.1.31
charset-normalizer==3.4.1
-e git+https://github.com/typesafehub/conductr-cli.git@5947a412f5c61a10f5e5f0aa2da85cac2c66faca#egg=conductr_cli
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
flake8==7.2.0
flake8-quotes==3.4.0
idna==3.10
iniconfig @ file://... | name: conductr-cli
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
... | [
"conductr_cli/test/test_bundle_installation.py::TestWaitForUninstallation::test_return_immediately_if_uninstalled",
"conductr_cli/test/test_bundle_installation.py::TestWaitForUninstallation::test_wait_for_uninstallation",
"conductr_cli/test/test_bundle_installation.py::TestWaitForUninstallation::test_wait_timeo... | [] | [
"conductr_cli/test/test_bundle_installation.py::TestCountInstallation::test_return_installation_count",
"conductr_cli/test/test_bundle_installation.py::TestCountInstallation::test_return_installation_count_v2",
"conductr_cli/test/test_bundle_installation.py::TestCountInstallation::test_return_zero_installation_... | [] | Apache License 2.0 | 326 | ||
mapbox__mapbox-sdk-py-91 | c45e856d0640c6d9b1750446fed58cb882912edb | 2015-12-09 15:26:44 | c45e856d0640c6d9b1750446fed58cb882912edb | diff --git a/docs/mapmatching.md b/docs/mapmatching.md
new file mode 100644
index 0000000..f404714
--- /dev/null
+++ b/docs/mapmatching.md
@@ -0,0 +1,89 @@
+# Map Matching
+
+The `MapMatcher` class from the `mapbox.services.mapmatching` module provides
+access to the Mapbox Map Matching API. You can also import it dire... | Map Matching API | mapbox/mapbox-sdk-py | diff --git a/tests/test_mapmatching.py b/tests/test_mapmatching.py
new file mode 100644
index 0000000..2277866
--- /dev/null
+++ b/tests/test_mapmatching.py
@@ -0,0 +1,47 @@
+import pytest
+import responses
+
+import mapbox
+
+@pytest.fixture
+def line_feature():
+ return {
+ "type": "Feature",
+ "prop... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_added_files",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 0
},
"num_modified_files": ... | 0.5 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[test]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"pytest-cov"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null,
"test_cmd": "pytest --no-header ... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
boto3==1.23.10
botocore==1.26.10
certifi==2021.5.30
charset-normalizer==2.0.12
click==8.0.4
click-plugins==1.1.1
cligj==0.7.2
coverage==6.2
coveralls==3.3.1
distlib==0.3.9
docopt==0.6.2
filelock==3.4.1
idna==3.10
importlib-metadata==4.8.3
importlib-resources=... | name: mapbox-sdk-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- imp... | [
"tests/test_mapmatching.py::test_matching",
"tests/test_mapmatching.py::test_invalid_profile"
] | [] | [] | [] | MIT License | 327 | ||
joblib__joblib-283 | c60d263fcc71ba9f4532010b732cde42e437039b | 2015-12-10 15:14:21 | 40341615cc2600675ce7457d9128fb030f6f89fa | lesteve: > inspect.getfullargspec is marked as deprecated since 3.5, why not directly use a compatibility function called signature and use the one from python >= 3.4.
Yeah I am aware of that but I wanted to do the smallest change to make joblib.Memory support functions with signature or keyword-only arguments. scik... | diff --git a/joblib/func_inspect.py b/joblib/func_inspect.py
index cc5cbf6..3eee40b 100644
--- a/joblib/func_inspect.py
+++ b/joblib/func_inspect.py
@@ -11,11 +11,15 @@ import inspect
import warnings
import re
import os
-
+import sys
from ._compat import _basestring
from .logger import pformat
from ._memory_helpe... | Replace deprecated usage of inspect.getargspec
inspect.getargspec has been deprecated since 3.0 (in favor of inspect.getfullargspec until 3.2 and in favor of inspect.signature since 3.3) and will be removed in 3.6. It also creates visible DeprecationWarning in 3.5.
| joblib/joblib | diff --git a/joblib/test/test_func_inspect.py b/joblib/test/test_func_inspect.py
index 15c6b43..62920e9 100644
--- a/joblib/test/test_func_inspect.py
+++ b/joblib/test/test_func_inspect.py
@@ -11,12 +11,15 @@ import shutil
import nose
import tempfile
import functools
+import sys
from joblib.func_inspect import fi... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 1
} | 0.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"nose",
"coverage",
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null,
"test_cmd": "pytest --no-hea... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
coverage==6.2
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
-e git+https://github.com/joblib/joblib.git@c60d263fcc71ba9f4532010b... | name: joblib
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- importlib-... | [
"joblib/test/test_func_inspect.py::test_filter_args_python_3",
"joblib/test/test_memory.py::test_memory_func_with_kwonly_args",
"joblib/test/test_memory.py::test_memory_func_with_signature"
] | [] | [
"joblib/test/test_func_inspect.py::test_filter_args_method",
"joblib/test/test_func_inspect.py::test_filter_kwargs",
"joblib/test/test_func_inspect.py::test_filter_args_2",
"joblib/test/test_func_inspect.py::test_func_inspect_errors",
"joblib/test/test_func_inspect.py::test_bound_methods",
"joblib/test/te... | [] | BSD 3-Clause "New" or "Revised" License | 328 | |
coleifer__peewee-790 | f424cd64352ecc799c3c2d60aafe17dbb30f58ef | 2015-12-10 17:14:23 | ffcdf8786f46bf612c5a3973f29bf87b3b4c74aa | diff --git a/.gitignore b/.gitignore
index 6e0d4e46..b348417c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ playhouse/_speedups.so
playhouse/tests/peewee_test.db
.idea/
MANIFEST
+peewee_test.db
diff --git a/peewee.py b/peewee.py
index 827d0896..c910682d 100644
--- a/peewee.py
+++ b/peewee.py
@@ -1038,7 +1... | Better support for UUIDField
As an extension from #780, databases which don't support UUID natively may encounter consistency problems.
Postgres will correctly handle multiple input variants [\[1\]][1], such as
`a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11` and `a0eebc999c0b4ef8bb6d6bb9bd380a11`.
However SQLite, which ... | coleifer/peewee | diff --git a/playhouse/tests/test_fields.py b/playhouse/tests/test_fields.py
index a9cfbcaf..1af7ee50 100644
--- a/playhouse/tests/test_fields.py
+++ b/playhouse/tests/test_fields.py
@@ -726,7 +726,6 @@ class TestServerDefaults(ModelTestCase):
self.assertEqual(sd2_db.timestamp, datetime.datetime(2015, 1, 2, 3,... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_issue_reference",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 0
},
"num_modified_files": 2
} | 2.7 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"Cython"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9"... | Cython==3.0.12
exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
-e git+https://github.com/coleifer/peewee.git@f424cd64352ecc799c3c2d60aafe17dbb30f58ef#egg=peewee
pluggy==1.5.0
pytest==8.3.5
tomli==2.2.1
| name: peewee
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"playhouse/tests/test_fields.py::TestFieldTypes::test_null_query",
"playhouse/tests/test_fields.py::TestFieldTypes::test_regexp",
"playhouse/tests/test_fields.py::TestDateTimeExtract::test_extract_date",
"playhouse/tests/test_fields.py::TestDateTimeExtract::test_extract_date_where",
"playhouse/tests/test_fi... | [
"playhouse/tests/test_fields.py::TestFieldTypes::test_between",
"playhouse/tests/test_fields.py::TestFieldTypes::test_endswith",
"playhouse/tests/test_fields.py::TestFieldTypes::test_in_",
"playhouse/tests/test_fields.py::TestFieldTypes::test_startswith",
"playhouse/tests/test_fields.py::TestFieldTypes::tes... | [
"playhouse/tests/test_fields.py::TestFieldTypes::test_concat",
"playhouse/tests/test_fields.py::TestFieldTypes::test_decimalfield",
"playhouse/tests/test_fields.py::TestSQLiteDateTrunc::test_sqlite_date_trunc",
"playhouse/tests/test_fields.py::TestCheckConstraints::test_check_constraint",
"playhouse/tests/t... | [
"playhouse/tests/test_fields.py::TestFieldTypes::test_blob_field_mysql",
"playhouse/tests/test_fields.py::TestFieldTypes::test_boolfield",
"playhouse/tests/test_fields.py::TestFieldTypes::test_charfield"
] | MIT License | 329 | ||
mozilla__puente-54 | f12f27e2230f071f474b394d1ac908d2ed3476e2 | 2015-12-10 20:46:56 | f78d702e0d1376425d8d613a6573a896fc8d11a1 | diff --git a/puente/commands.py b/puente/commands.py
index c21cdd3..a36d035 100644
--- a/puente/commands.py
+++ b/puente/commands.py
@@ -129,11 +129,10 @@ def extract_command(outputdir, domain_methods, text_domain, keywords,
print('Done')
-def merge_command(create, backup, base_dir, domain_methods, languages):... | add django gettext keywords
* upgettext
* upgettext_lazy
* pgettext
* pgettext_lazy
* etc
Add all the ones that we're currently missing. | mozilla/puente | diff --git a/tests/test_extract.py b/tests/test_extract.py
index bc91f54..81fb63e 100644
--- a/tests/test_extract.py
+++ b/tests/test_extract.py
@@ -282,3 +282,63 @@ class TestExtractCommand:
""")
)
+
+ def test_django_pgettext_keywords(self, tmpdir):
+ # Test context
+ tmpdir.j... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files"... | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-pythonpath",
"pytest-django"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
... | alabaster==0.7.16
asgiref==3.8.1
attrs==25.3.0
babel==2.17.0
backports.tarfile==1.2.0
build==1.2.2.post1
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.1
check-manifest==0.50
colorama==0.4.6
cryptography==44.0.2
distlib==0.3.9
Django==4.2.20
django-jinja==2.11.0
docutils==0.21.... | name: puente
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_merge.py::TestMergecommand::test_missing_pot_file"
] | [
"tests/test_extract.py::TestManageExtract::test_help",
"tests/test_merge.py::TestManageMerge::test_help",
"tests/test_extract.py::TestExtractCommand::test_basic_extraction",
"tests/test_extract.py::TestExtractCommand::test_header",
"tests/test_extract.py::TestExtractCommand::test_whitespace_collapsing",
"... | [] | [] | BSD 3-Clause "New" or "Revised" License | 330 | ||
cmc-python__modelmachine-12 | 11fd90f0eb9b713b40be7246b25ca817702af930 | 2015-12-11 13:53:42 | fa9275d64498c7cbe24f02357bbb1bc971670756 | diff --git a/.gitignore b/.gitignore
index a9ce44b..ee5aa21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-.*.swp # Vim
+*.swp # Vim
# Byte-compiled / optimized / DLL files
__pycache__/
diff --git a/README.md b/README.md
index d01c4fe..da57d66 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# mod... | Поправить RandomAcessMemory.is_protected
- Проверить, что при is_protected=False машина выдает нули и не падает.
- Поправить машину с переменной длиной адреса, устранить лишние считывания.
- Сделать параметр командной строки для управления этим параметром. | cmc-python/modelmachine | diff --git a/modelmachine/tests/test_cpu.py b/modelmachine/tests/test_cpu.py
index 08a5e25..5715ea8 100644
--- a/modelmachine/tests/test_cpu.py
+++ b/modelmachine/tests/test_cpu.py
@@ -109,7 +109,7 @@ class TestBordachenkovaMM3:
def setup(self):
"""Init state."""
- self.cpu = BordachenkovaMM3()
+... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 3,
"issue_text_score": 2,
"test_score": 1
},... | 0.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pylint",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9"... | astroid==3.3.9
dill==0.3.9
exceptiongroup==1.2.2
iniconfig==2.1.0
isort==6.0.1
mccabe==0.7.0
-e git+https://github.com/cmc-python/modelmachine.git@11fd90f0eb9b713b40be7246b25ca817702af930#egg=modelmachine
packaging==24.2
platformdirs==4.3.7
pluggy==1.5.0
pylint==3.3.6
pytest==8.3.5
tomli==2.2.1
tomlkit==0.13.2
typing_e... | name: modelmachine
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc... | [
"modelmachine/tests/test_ide.py::test_get_cpu",
"modelmachine/tests/test_main.py::test_version",
"modelmachine/tests/test_main.py::test_usage"
] | [
"modelmachine/tests/test_cpu.py::TestAbstractCPU::test_load_program",
"modelmachine/tests/test_cpu.py::TestAbstractCPU::test_print_result",
"modelmachine/tests/test_cpu.py::TestAbstractCPU::test_run_file",
"modelmachine/tests/test_cpu.py::TestBordachenkovaMM3::test_smoke",
"modelmachine/tests/test_cpu.py::T... | [] | [] | Do What The F*ck You Want To Public License | 331 | ||
Shopify__shopify_python_api-129 | 28c00a110c23edc5287d6e8f90f0e36f0eb5d1b3 | 2015-12-11 18:31:45 | c29e0ecbed9de67dd923f980a3ac053922dab75e | diff --git a/shopify/resources/__init__.py b/shopify/resources/__init__.py
index 2de7499..adacc08 100644
--- a/shopify/resources/__init__.py
+++ b/shopify/resources/__init__.py
@@ -46,5 +46,6 @@ from .policy import Policy
from .smart_collection import SmartCollection
from .gift_card import GiftCard
from .discount im... | Add support for the new Shipping Zone resource.
As per https://ecommerce.shopify.com/c/api-announcements/t/shipping-zones-api-and-changes-to-the-countries-api-307687. | Shopify/shopify_python_api | diff --git a/test/fixtures/shipping_zones.json b/test/fixtures/shipping_zones.json
new file mode 100644
index 0000000..f07b8ff
--- /dev/null
+++ b/test/fixtures/shipping_zones.json
@@ -0,0 +1,114 @@
+{
+ "shipping_zones": [
+ {
+ "id": 1,
+ "name": "Some zone",
+ "countries": [
+ {
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_added_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 1
},
"num_modified_files": 1
} | 2.1 | {
"env_vars": null,
"env_yml_path": [],
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [],
"python": "3.9",
"reqs_path": [
"requirements/base.txt"
],
"test_cmd": "pytest -... | exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pyactiveresource==2.2.2
pytest==8.3.5
PyYAML==6.0.2
-e git+https://github.com/Shopify/shopify_python_api.git@28c00a110c23edc5287d6e8f90f0e36f0eb5d1b3#egg=ShopifyAPI
six==1.17.0
tomli==2.2.1
| name: shopify_python_api
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- ... | [
"test/shipping_zone_test.py::ShippingZoneTest::test_get_shipping_zones"
] | [] | [] | [] | MIT License | 332 | ||
ifosch__accloudtant-26 | 66343620af6679769c3f5a7c727ae5d3492dc5ac | 2015-12-11 18:48:30 | 66343620af6679769c3f5a7c727ae5d3492dc5ac | diff --git a/accloudtant/aws/prices/__init__.py b/accloudtant/aws/prices/__init__.py
index c038349..3b0dec6 100644
--- a/accloudtant/aws/prices/__init__.py
+++ b/accloudtant/aws/prices/__init__.py
@@ -12,8 +12,11 @@ from accloudtant.utils import fix_lazy_json
class Prices(object):
def __init__(self):
- s... | Warnings on non supported pricelists vanished
When printing prices, there were a nice list of warnings about problems getting the data.
Since the addition of the two commands, this list vanished. | ifosch/accloudtant | diff --git a/tests/aws/print_expected_with_warnings.txt b/tests/aws/print_expected_with_warnings.txt
new file mode 100644
index 0000000..4af3e90
--- /dev/null
+++ b/tests/aws/print_expected_with_warnings.txt
@@ -0,0 +1,6 @@
+EC2 (Hourly prices, no upfronts, no instance type features):
+Type On Demand 1y No ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 1
},
"num_modified_files": 2
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": [
... | -e git+https://github.com/ifosch/accloudtant.git@66343620af6679769c3f5a7c727ae5d3492dc5ac#egg=accloudtant
certifi==2025.1.31
charset-normalizer==3.4.1
exceptiongroup==1.2.2
idna==3.10
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
requests==2.32.3
tabulate==0.9.0
tomli==2.2.1
urllib3==2.3.0
| name: accloudtant
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-... | [
"tests/aws/test_prices.py::test_prices_with_warning"
] | [] | [
"tests/aws/test_prices.py::test_model_ec2",
"tests/aws/test_prices.py::test_process_model",
"tests/aws/test_prices.py::test_process_generic",
"tests/aws/test_prices.py::test_process_on_demand",
"tests/aws/test_prices.py::test_process_reserved",
"tests/aws/test_prices.py::test_process_data_transfer",
"te... | [] | null | 333 | ||
garnaat__placebo-21 | 81cb9c0e48f7e6e58e2cdd6414b777b39c846c4b | 2015-12-14 17:29:40 | 81cb9c0e48f7e6e58e2cdd6414b777b39c846c4b | diff --git a/placebo/__init__.py b/placebo/__init__.py
index 43e34d6..8dc9470 100644
--- a/placebo/__init__.py
+++ b/placebo/__init__.py
@@ -15,7 +15,7 @@
from placebo.pill import Pill
-def attach(session, data_path, debug=False):
- pill = Pill(debug=debug)
+def attach(session, data_path, prefix=None, debug=Fal... | Optional prefix for saved response filenames
I noticed that each time Placebo writes a new response JSON file, it adds a `_<number>` suffix before the `.json`, and simply increments the suffix until it finds one that doesn't exist yet. This is better than overwriting previous runs, but doesn't give any way to distingui... | garnaat/placebo | diff --git a/tests/unit/responses/saved/foo.ec2.DescribeAddresses_1.json b/tests/unit/responses/saved/foo.ec2.DescribeAddresses_1.json
new file mode 100644
index 0000000..a907bf1
--- /dev/null
+++ b/tests/unit/responses/saved/foo.ec2.DescribeAddresses_1.json
@@ -0,0 +1,16 @@
+{
+ "status_code": 200,
+ "data": {
+... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 2
} | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"coverage",
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": [
"requirements.txt"
... | attrs==22.2.0
boto3==1.2.2
botocore==1.3.30
certifi==2021.5.30
coverage==6.2
docutils==0.18.1
importlib-metadata==4.8.3
iniconfig==1.1.1
jmespath==0.10.0
mock==1.3.0
nose==1.3.7
packaging==21.3
pbr==6.1.1
-e git+https://github.com/garnaat/placebo.git@81cb9c0e48f7e6e58e2cdd6414b777b39c846c4b#egg=placebo
pluggy==1.0.0
py... | name: placebo
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- li... | [
"tests/unit/test_canned.py::TestPlacebo::test_prefix_new_file_path",
"tests/unit/test_canned.py::TestPlacebo::test_prefix_next_file_path"
] | [] | [
"tests/unit/test_canned.py::TestPlacebo::test_describe_addresses",
"tests/unit/test_canned.py::TestPlacebo::test_describe_key_pairs"
] | [] | Apache License 2.0 | 335 | ||
pypa__twine-156 | 5db1018ada0ba4d98201c299c84858e98adb87e3 | 2015-12-16 23:36:55 | f487b7da9c42e4932bc33bf10d70cdc59fd16fd5 | diff --git a/README.rst b/README.rst
index ab4baa4..9b8f0bb 100644
--- a/README.rst
+++ b/README.rst
@@ -54,15 +54,15 @@ Usage
1. Create some distributions in the normal way:
- .. code-block:: bash
+.. code-block:: bash
- $ python setup.py sdist bdist_wheel
+ $ python setup.py sdist bdist_wheel
2. ... | Requests 2.9.0 and requests-toolbelt < 0.5.1 break uploading
We need to bump the lower limit on our dependency of requests-toolbelt.
See also: https://github.com/sigmavirus24/requests-toolbelt/issues/117 | pypa/twine | diff --git a/tests/test_repository.py b/tests/test_repository.py
index 684f403..3b8d84b 100644
--- a/tests/test_repository.py
+++ b/tests/test_repository.py
@@ -47,29 +47,3 @@ def test_iterables_are_flattened():
tuples = repository.Repository._convert_data_to_list_of_tuples(data)
assert tuples == [('platform'... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 2
},
... | 1.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"coverage",
"pretend",
"flake8"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
... | certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
flake8==7.2.0
idna==3.10
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
mccabe==0.7.0
packaging @ file:///croot/packaging_1734472117206/work
pkginfo==1.12.1.2
pluggy @ f... | name: twine
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_im... | [
"tests/test_upload.py::test_get_config_old_format"
] | [] | [
"tests/test_repository.py::test_gpg_signature_structure_is_preserved",
"tests/test_repository.py::test_content_structure_is_preserved",
"tests/test_repository.py::test_iterables_are_flattened",
"tests/test_upload.py::test_ensure_wheel_files_uploaded_first",
"tests/test_upload.py::test_ensure_if_no_wheel_fil... | [] | Apache License 2.0 | 338 | ||
Shopify__shopify_python_api-130 | ecd532cc904729fd366f05ae8d7d754df79b55f7 | 2015-12-17 02:25:44 | c29e0ecbed9de67dd923f980a3ac053922dab75e | diff --git a/shopify/resources/__init__.py b/shopify/resources/__init__.py
index adacc08..da17196 100644
--- a/shopify/resources/__init__.py
+++ b/shopify/resources/__init__.py
@@ -47,5 +47,6 @@ from .smart_collection import SmartCollection
from .gift_card import GiftCard
from .discount import Discount
from .shippin... | How do I retrieve Location information?
I see that dir(shopify) doesn't show me Location as an attribute, but I'm wondering if there's another way to use the API to get it (even though perhaps it's not wrapped as nicely as these other resources):
https://docs.shopify.com/api/location
dir(shopify)
['Address', 'Ap... | Shopify/shopify_python_api | diff --git a/test/fixtures/location.json b/test/fixtures/location.json
new file mode 100644
index 0000000..ae07fac
--- /dev/null
+++ b/test/fixtures/location.json
@@ -0,0 +1,19 @@
+{
+ "location": {
+ "id": 487838322,
+ "name": "Fifth Avenue AppleStore",
+ "deleted_at": null,
+ "address1": null,
+ "addr... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_added_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 2,
"test_score": 1
},
"num_modified_files": 1
} | 2.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path... | exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pyactiveresource==2.2.2
pytest==8.3.5
PyYAML==6.0.2
-e git+https://github.com/Shopify/shopify_python_api.git@ecd532cc904729fd366f05ae8d7d754df79b55f7#egg=ShopifyAPI
six==1.17.0
tomli==2.2.1
| name: shopify_python_api
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- ... | [
"test/locations_test.py::LocationsTest::test_fetch_location",
"test/locations_test.py::LocationsTest::test_fetch_locations"
] | [] | [] | [] | MIT License | 339 | ||
jupyter-incubator__sparkmagic-73 | d9662c5c5b089976810dfe863437d86ae72ccf82 | 2015-12-18 01:53:03 | d9662c5c5b089976810dfe863437d86ae72ccf82 | diff --git a/remotespark/RemoteSparkMagics.py b/remotespark/RemoteSparkMagics.py
index 361b91b..5271de0 100644
--- a/remotespark/RemoteSparkMagics.py
+++ b/remotespark/RemoteSparkMagics.py
@@ -55,30 +55,40 @@ class RemoteSparkMagics(Magics):
Constants.context_name_sql,
... | Rename --endpoint param to magics to --session
Make -e be -s | jupyter-incubator/sparkmagic | diff --git a/tests/test_clientmanager.py b/tests/test_clientmanager.py
index 3376082..b1ef425 100644
--- a/tests/test_clientmanager.py
+++ b/tests/test_clientmanager.py
@@ -18,13 +18,13 @@ def test_deserialize_on_creation():
serializer.deserialize_state.return_value = [("py", None), ("sc", None)]
manager = Cl... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"mkdir ~/.sparkmagic",
"cp remotespark/default_config.json ~/.sparkmagic/config.json... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_clientmanager.py::test_deserialize_on_creation",
"tests/test_clientmanager.py::test_client_names_returned"
] | [
"tests/test_remotesparkmagics.py::test_info_command_parses",
"tests/test_remotesparkmagics.py::test_add_sessions_command_parses",
"tests/test_remotesparkmagics.py::test_delete_sessions_command_parses",
"tests/test_remotesparkmagics.py::test_cleanup_command_parses",
"tests/test_remotesparkmagics.py::test_bad... | [
"tests/test_clientmanager.py::test_get_client_throws_when_client_not_exists",
"tests/test_clientmanager.py::test_serialize_periodically",
"tests/test_clientmanager.py::test_get_client",
"tests/test_clientmanager.py::test_delete_client",
"tests/test_clientmanager.py::test_delete_client_throws_when_client_not... | [] | Modified BSD License | 340 | ||
pika__pika-675 | d8a782d97579cd96ed67ccfb55f63ca8fdafa199 | 2015-12-19 02:54:17 | f73f9bbaddd90b03583a6693f6158e56fbede948 | vitaly-krugl: CC @gmr: Hi Gavin, please review this fix.
vitaly-krugl: @gmr, the failed test `BlockingChannel.basic_nack single message` is unrelated to the changes in this PR; it's a known issue described in #677.
Please re-start the build. Thanks! | diff --git a/pika/adapters/libev_connection.py b/pika/adapters/libev_connection.py
index 2a27055..26a6547 100644
--- a/pika/adapters/libev_connection.py
+++ b/pika/adapters/libev_connection.py
@@ -127,7 +127,7 @@ class LibevConnection(BaseConnection):
if self._on_signal_callback and not global_sigterm_watc... | Regression: Cannot receive long running messages when in use in tornado app
Hi there,
we just noticed a regression from pika 0.9.14 to 0.10.0. We haven't been able to track down the problem further than this (sorry) but will instead stop for now by pinning the old version.
The problem seems to be that pika (used ... | pika/pika | diff --git a/tests/acceptance/async_adapter_tests.py b/tests/acceptance/async_adapter_tests.py
index 9d7448e..9a44208 100644
--- a/tests/acceptance/async_adapter_tests.py
+++ b/tests/acceptance/async_adapter_tests.py
@@ -1,13 +1,25 @@
+# Suppress pylint messages concerning missing class and method docstrings
+# pylint:... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 0,
"test_score": 3
},
"num_modified_files": 2
} | 0.10 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"yapf",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc libev-dev"
],
"python... | attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
codecov==2.1.13
coverage==6.2
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
mock==5.2.0
nose==1.3.7
packaging==21.3
-e git+https://github.com/pika/pika.git@d8a782d97579cd96ed67ccfb55f63ca8fdafa199#egg=pika
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pyte... | name: pika
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libff... | [
"tests/unit/channel_tests.py::ChannelTests::test_confirm_delivery_callback_with_nowait_raises_value_error",
"tests/unit/channel_tests.py::ChannelTests::test_rpc_not_blocking_and_no_on_synchronous_complete_when_no_replies"
] | [] | [
"tests/unit/channel_tests.py::ChannelTests::test_add_callback",
"tests/unit/channel_tests.py::ChannelTests::test_add_callback_multiple_replies",
"tests/unit/channel_tests.py::ChannelTests::test_add_callbacks_basic_cancel_empty_added",
"tests/unit/channel_tests.py::ChannelTests::test_add_callbacks_basic_get_em... | [] | BSD 3-Clause "New" or "Revised" License | 342 | |
jupyter-incubator__sparkmagic-84 | 3c0230b30b1f63780fbf2d4ba9d83e0a83f51eea | 2015-12-19 08:44:24 | 3c0230b30b1f63780fbf2d4ba9d83e0a83f51eea | diff --git a/remotespark/default_config.json b/remotespark/default_config.json
index 3be83bf..ea4adaa 100644
--- a/remotespark/default_config.json
+++ b/remotespark/default_config.json
@@ -47,5 +47,10 @@
"fatal_error_suggestion": "The code failed because of a fatal error:\n\t{}.\n\nSome things to try:\na) Make sur... | Allow user to specify memory/cores/etc for every session | jupyter-incubator/sparkmagic | diff --git a/tests/test_clientmanagerstateserializer.py b/tests/test_clientmanagerstateserializer.py
index 4310058..4ed8ed7 100644
--- a/tests/test_clientmanagerstateserializer.py
+++ b/tests/test_clientmanagerstateserializer.py
@@ -27,7 +27,7 @@ def test_deserialize_not_emtpy():
"name": "py",
"id": "1",
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"mkdir ~/.sparkmagic",
"cp remotespark/default_config.json ~/.sparkmagic/config.json... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_clientmanagerstateserializer.py::test_deserialize_not_emtpy",
"tests/test_livyclient.py::test_serialize",
"tests/test_livyclient.py::test_kind",
"tests/test_livyclientfactory.py::test_build_session_with_defaults",
"tests/test_livyclientfactory.py::test_build_session",
"tests/test_livyclientfac... | [
"tests/test_clientmanagerstateserializer.py::test_deserialize_not_emtpy_but_dead",
"tests/test_clientmanagerstateserializer.py::test_deserialize_not_emtpy_but_error",
"tests/test_clientmanagerstateserializer.py::test_deserialize_empty",
"tests/test_remotesparkmagics.py::test_info_command_parses",
"tests/tes... | [
"tests/test_clientmanagerstateserializer.py::test_serializer_throws_none_path",
"tests/test_clientmanagerstateserializer.py::test_serializer_throws_none_factory",
"tests/test_clientmanagerstateserializer.py::test_serialize_not_empty",
"tests/test_livyclient.py::test_create_sql_context_automatically",
"tests... | [] | Modified BSD License | 343 | ||
mogproject__color-ssh-8 | 3c6ef87beb0faf48b0af7f4498b1be5ff34e6fe1 | 2015-12-20 18:03:15 | cdcbb8980f7a4e49797192dc089915d702322460 | diff --git a/src/color_ssh/__init__.py b/src/color_ssh/__init__.py
index d18f409..b794fd4 100644
--- a/src/color_ssh/__init__.py
+++ b/src/color_ssh/__init__.py
@@ -1,1 +1,1 @@
-__version__ = '0.0.2'
+__version__ = '0.1.0'
diff --git a/src/color_ssh/color_ssh.py b/src/color_ssh/color_ssh.py
index 4c278c2..20f7651 10064... | Load host list from file
- `--host`
- with parallelism option
- cf. pssh (parallel-ssh) | mogproject/color-ssh | diff --git a/tests/color_ssh/test_color_ssh.py b/tests/color_ssh/test_color_ssh.py
index ea82202..b5c4ba7 100644
--- a/tests/color_ssh/test_color_ssh.py
+++ b/tests/color_ssh/test_color_ssh.py
@@ -1,11 +1,11 @@
# encoding: utf-8
from __future__ import division, print_function, absolute_import, unicode_literals
-imp... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 3,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 3
} | 0.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pip",
"pip_packages": [
"six",
"mog-commons",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3... | -e git+https://github.com/mogproject/color-ssh.git@3c6ef87beb0faf48b0af7f4498b1be5ff34e6fe1#egg=color_ssh
exceptiongroup==1.2.2
iniconfig==2.1.0
Jinja2==3.1.6
MarkupSafe==3.0.2
mog-commons==0.2.3
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
six==1.17.0
tomli==2.2.1
| name: color-ssh
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_load_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_multi_proc",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_single_proc",
"tests/color_ssh/test_color_ssh.p... | [] | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args_error"
] | [] | null | 344 | ||
mogproject__color-ssh-9 | cdcbb8980f7a4e49797192dc089915d702322460 | 2015-12-20 18:59:01 | cdcbb8980f7a4e49797192dc089915d702322460 | diff --git a/src/color_ssh/color_ssh.py b/src/color_ssh/color_ssh.py
index 20f7651..f8d82d8 100644
--- a/src/color_ssh/color_ssh.py
+++ b/src/color_ssh/color_ssh.py
@@ -5,8 +5,8 @@ import io
import shlex
import subprocess
from optparse import OptionParser
-from color_ssh.util.util import *
from multiprocessing.pool... | distribute option | mogproject/color-ssh | diff --git a/tests/color_ssh/test_color_ssh.py b/tests/color_ssh/test_color_ssh.py
index b5c4ba7..67684f8 100644
--- a/tests/color_ssh/test_color_ssh.py
+++ b/tests/color_ssh/test_color_ssh.py
@@ -88,6 +88,13 @@ class TestSetting(TestCase):
# parallelism
self.assertEqual(self._parse(['-H', 'server-1... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 3,
"test_score": 2... | 0.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"six",
"mog-commons",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.5... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
-e git+https://github.com/mogproject/color-ssh.git@cdcbb8980f7a4e49797192dc089915d702322460#egg=color_ssh
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/inico... | name: color-ssh
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- importl... | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args",
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_load_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_multi_proc",
"tests/color_ssh/test_color_ss... | [] | [] | [] | null | 345 | ||
falconry__falcon-676 | 37f175f120aaea587c521715ed4815122446a953 | 2015-12-21 19:02:02 | b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce | diff --git a/falcon/request.py b/falcon/request.py
index 54be8c0..bd83227 100644
--- a/falcon/request.py
+++ b/falcon/request.py
@@ -353,7 +353,8 @@ class Request(object):
@property
def client_accepts_msgpack(self):
- return self.client_accepts('application/x-msgpack')
+ return (self.client_ac... | Request.client_accepts_msgpack only supports 'application/x-msgpack'
The use of the 'x-' prefix is now discouraged for media types. We should update this Request property to also return True for 'application/msgpack', and verify the change with additional tests. | falconry/falcon | diff --git a/tests/test_req_vars.py b/tests/test_req_vars.py
index 9e88754..c71f02e 100644
--- a/tests/test_req_vars.py
+++ b/tests/test_req_vars.py
@@ -348,6 +348,12 @@ class TestReqVars(testing.TestBase):
self.assertFalse(req.client_accepts_json)
self.assertTrue(req.client_accepts_msgpack)
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 0
},
"num_modified_files": 1
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"coverage",
"ddt",
"pyyaml",
"requests",
"testtools",
"pytest"
],
"pre_install": [
"a... | certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
ddt==1.7.2
exceptiongroup==1.2.2
-e git+https://github.com/falconry/falcon.git@37f175f120aaea587c521715ed4815122446a953#egg=falcon
idna==3.10
iniconfig==2.1.0
nose==1.3.7
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
python-mimeparse==2.0.0
PyYAML==6.0.2
reques... | name: falcon
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_req_vars.py::TestReqVars::test_client_accepts_props"
] | [
"tests/test_req_vars.py::TestReqVars::test_client_accepts"
] | [
"tests/test_req_vars.py::TestReqVars::test_attribute_headers",
"tests/test_req_vars.py::TestReqVars::test_bogus_content_length_nan",
"tests/test_req_vars.py::TestReqVars::test_bogus_content_length_neg",
"tests/test_req_vars.py::TestReqVars::test_client_accepts_bogus",
"tests/test_req_vars.py::TestReqVars::t... | [] | Apache License 2.0 | 346 | ||
jupyter-incubator__sparkmagic-89 | 5d7c9a29da1f4a3a12fc9cd821807b474625afc1 | 2015-12-22 00:54:05 | 5d7c9a29da1f4a3a12fc9cd821807b474625afc1 | diff --git a/remotespark/sparkkernelbase.py b/remotespark/sparkkernelbase.py
index 3abecfd..bd4c70f 100644
--- a/remotespark/sparkkernelbase.py
+++ b/remotespark/sparkkernelbase.py
@@ -9,6 +9,11 @@ from remotespark.utils.utils import get_connection_string
class SparkKernelBase(IPythonKernel):
+ run_command = "r... | Expose session configs through wrapper kernel | jupyter-incubator/sparkmagic | diff --git a/tests/test_sparkkernelbase.py b/tests/test_sparkkernelbase.py
index a3c3ce1..d5f105c 100644
--- a/tests/test_sparkkernelbase.py
+++ b/tests/test_sparkkernelbase.py
@@ -1,5 +1,5 @@
from mock import MagicMock, call
-from nose.tools import with_setup
+from nose.tools import with_setup, raises
from remotes... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 3
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.7",
"reqs_path": [
... | anyio==3.7.1
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
attrs==24.2.0
beautifulsoup4==4.13.3
bleach==6.0.0
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi==1.15.1
charset-normalizer==3.4.1
comm==0.1.4
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
exceptiongroup==1.2.2
fastjsonschema==2.21.1
... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
-... | [
"tests/test_sparkkernelbase.py::test_delete_session",
"tests/test_sparkkernelbase.py::test_set_config",
"tests/test_sparkkernelbase.py::test_magic_not_supported"
] | [] | [
"tests/test_sparkkernelbase.py::test_get_config",
"tests/test_sparkkernelbase.py::test_get_config_not_set",
"tests/test_sparkkernelbase.py::test_initialize_magics",
"tests/test_sparkkernelbase.py::test_start_session",
"tests/test_sparkkernelbase.py::test_do_execute_initializes_magics_if_not_run",
"tests/t... | [] | Modified BSD License | 347 | ||
box__box-python-sdk-99 | f365c177f70ce6cfc2d53528ed649cdac20bb43d | 2015-12-22 19:59:14 | f365c177f70ce6cfc2d53528ed649cdac20bb43d | diff --git a/HISTORY.rst b/HISTORY.rst
index b567bfa..9af5bb4 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -6,7 +6,17 @@ Release History
Upcoming
++++++++
-1.3.2
+1.3.3 (2015-12-22)
+++++++++++++++++++
+
+- Added a new class, ``DeveloperTokenClient`` that makes it easy to get started using the SDK with a Box devel... | The get all users in enterprise API needs to be pageable
Right now it just return a list of :class:`User` | box/box-python-sdk | diff --git a/test/unit/test_client.py b/test/unit/test_client.py
index ef6ba70..81f2341 100644
--- a/test/unit/test_client.py
+++ b/test/unit/test_client.py
@@ -159,10 +159,40 @@ def test_factory_returns_the_correct_object(mock_client, test_class, factory_met
assert obj.object_id == fake_id
-def test_users_ret... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files"... | 1.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-xdist",
"pytest-mock",
"pytest-asyncio"
],
"pre_install": [
"apt-get update",
... | alabaster==0.7.13
astroid==2.11.7
async-timeout==4.0.2
attrs==22.2.0
Babel==2.11.0
bottle==0.13.2
-e git+https://github.com/box/box-python-sdk.git@f365c177f70ce6cfc2d53528ed649cdac20bb43d#egg=boxsdk
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
coverage==6.2
cryptography==40.0.2
dill==0.3.4
distlib==0.3.9
... | name: box-python-sdk
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0... | [
"test/unit/test_client.py::test_users_return_the_correct_user_objects[None-0-0]",
"test/unit/test_client.py::test_users_return_the_correct_user_objects[None-10-0]",
"test/unit/test_client.py::test_users_return_the_correct_user_objects[None-10-10]",
"test/unit/test_client.py::test_users_return_the_correct_user... | [] | [
"test/unit/test_client.py::test_factory_returns_the_correct_object[Folder-folder]",
"test/unit/test_client.py::test_factory_returns_the_correct_object[File-file]",
"test/unit/test_client.py::test_factory_returns_the_correct_object[User-user]",
"test/unit/test_client.py::test_factory_returns_the_correct_object... | [] | Apache License 2.0 | 348 | ||
jupyter-incubator__sparkmagic-93 | 7025cb5b607abde80d5dd8a701c40c3598801e9d | 2015-12-23 01:03:52 | 7025cb5b607abde80d5dd8a701c40c3598801e9d | diff --git a/remotespark/livyclientlib/livyclientfactory.py b/remotespark/livyclientlib/livyclientfactory.py
index f7b2ae3..3bdda7f 100644
--- a/remotespark/livyclientlib/livyclientfactory.py
+++ b/remotespark/livyclientlib/livyclientfactory.py
@@ -30,11 +30,15 @@ class LivyClientFactory(object):
@staticmethod
... | Manage livy endpoint from magics
This will be the API:
* `%spark add session_name language conn_string`
will create a session against the endpoint specified
* `%spark info`
will display the info for the sessions created in that notebook
* `%spark config <configuration_overrides>`
will add session configs ... | jupyter-incubator/sparkmagic | diff --git a/tests/test_clientmanager.py b/tests/test_clientmanager.py
index 400fadd..e088b35 100644
--- a/tests/test_clientmanager.py
+++ b/tests/test_clientmanager.py
@@ -30,8 +30,8 @@ def test_deserialize_on_creation():
def test_serialize_periodically():
- conf.override_all({conf.serialize_period_seconds.__n... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_issue_reference",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 5
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements.txt"
],
"test_cmd": "pytest --... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_clientmanager.py::test_serialize_periodically",
"tests/test_configuration.py::test_configuration_initialize_lazy",
"tests/test_configuration.py::test_configuration_load_not_lazy",
"tests/test_configuration.py::test_configuration_override",
"tests/test_configuration.py::test_configuration_decorat... | [
"tests/test_configuration.py::test_configuration_initialize",
"tests/test_remotesparkmagics.py::test_info_command_parses",
"tests/test_remotesparkmagics.py::test_info_endpoint_command_parses",
"tests/test_remotesparkmagics.py::test_add_sessions_command_parses",
"tests/test_remotesparkmagics.py::test_add_ses... | [
"tests/test_clientmanager.py::test_get_client_throws_when_client_not_exists",
"tests/test_clientmanager.py::test_deserialize_on_creation",
"tests/test_clientmanager.py::test_get_client",
"tests/test_clientmanager.py::test_delete_client",
"tests/test_clientmanager.py::test_delete_client_throws_when_client_no... | [
"tests/test_sparkkernelbase.py::test_set_config",
"tests/test_sparkkernelbase.py::test_magic_not_supported"
] | Modified BSD License | 349 | ||
jupyter-incubator__sparkmagic-94 | a2ed74cab292c2a462d2080914c5b61ec064e448 | 2015-12-23 01:52:07 | a2ed74cab292c2a462d2080914c5b61ec064e448 | diff --git a/remotespark/remotesparkmagics.py b/remotespark/remotesparkmagics.py
index dda3e53..705954f 100644
--- a/remotespark/remotesparkmagics.py
+++ b/remotespark/remotesparkmagics.py
@@ -43,6 +43,8 @@ class RemoteSparkMagics(Magics):
except KeyError:
self.logger.error("Could not read env var... | Expose livy endpoint management through wrapper kernel | jupyter-incubator/sparkmagic | diff --git a/tests/test_clientmanager.py b/tests/test_clientmanager.py
index 400fadd..e088b35 100644
--- a/tests/test_clientmanager.py
+++ b/tests/test_clientmanager.py
@@ -30,8 +30,8 @@ def test_deserialize_on_creation():
def test_serialize_periodically():
- conf.override_all({conf.serialize_period_seconds.__n... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 3,
"test_score": 2
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"mkdir ~/.sparkmagic",
"cp remotespark/default_config.json ~/.sparkmagic/config.json... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_clientmanager.py::test_serialize_periodically",
"tests/test_configuration.py::test_configuration_initialize_lazy",
"tests/test_configuration.py::test_configuration_load_not_lazy",
"tests/test_configuration.py::test_configuration_override",
"tests/test_configuration.py::test_configuration_decorat... | [
"tests/test_configuration.py::test_configuration_initialize",
"tests/test_remotesparkmagics.py::test_info_command_parses",
"tests/test_remotesparkmagics.py::test_info_endpoint_command_parses",
"tests/test_remotesparkmagics.py::test_add_sessions_command_parses",
"tests/test_remotesparkmagics.py::test_add_ses... | [
"tests/test_clientmanager.py::test_get_client_throws_when_client_not_exists",
"tests/test_clientmanager.py::test_deserialize_on_creation",
"tests/test_clientmanager.py::test_get_client",
"tests/test_clientmanager.py::test_delete_client",
"tests/test_clientmanager.py::test_delete_client_throws_when_client_no... | [
"tests/test_sparkkernelbase.py::test_set_config",
"tests/test_sparkkernelbase.py::test_magic_not_supported",
"tests/test_sparkkernelbase.py::test_delete_not_force"
] | Modified BSD License | 350 | ||
mogproject__color-ssh-11 | 9adb19916b0205fd6a88beddcd8669114edc449c | 2015-12-23 11:42:42 | 8ef23299ceb4e19e5d33562edb0066686eead51d | diff --git a/src/color_ssh/__init__.py b/src/color_ssh/__init__.py
index b794fd4..df9144c 100644
--- a/src/color_ssh/__init__.py
+++ b/src/color_ssh/__init__.py
@@ -1,1 +1,1 @@
-__version__ = '0.1.0'
+__version__ = '0.1.1'
diff --git a/src/color_ssh/color_cat.py b/src/color_ssh/color_cat.py
index a9d1412..036ced8 10064... | Kill all processes when interrupted by keyboard | mogproject/color-ssh | diff --git a/tests/color_ssh/util/__init__.py b/tests/color_ssh/util/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/tests/color_ssh/util/test_util.py b/tests/color_ssh/util/test_util.py
new file mode 100644
index 0000000..50082dc
--- /dev/null
+++ b/tests/color_ssh/util/test_util.py
@@ -0,0 +1,13 ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 3
},
"num_modified_files"... | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pep8",
"coverage",
"six",
"mog-commons"
],
"pre_install": [
"apt-get update",
"apt-get... | attrs==22.2.0
certifi==2021.5.30
-e git+https://github.com/mogproject/color-ssh.git@9adb19916b0205fd6a88beddcd8669114edc449c#egg=color_ssh
coverage==6.2
importlib-metadata==4.8.3
iniconfig==1.1.1
Jinja2==3.0.3
MarkupSafe==2.0.1
mog-commons==0.2.3
packaging==21.3
pep8==1.7.1
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pyt... | name: color-ssh
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- ... | [
"tests/color_ssh/util/test_util.py::TestUtil::test_exception_handler"
] | [] | [] | [] | null | 351 | ||
mogproject__color-ssh-12 | b39783565319ee50b34988c29193f02a90122e2c | 2015-12-26 06:06:56 | 8ef23299ceb4e19e5d33562edb0066686eead51d | diff --git a/src/color_ssh/__init__.py b/src/color_ssh/__init__.py
index df9144c..10939f0 100644
--- a/src/color_ssh/__init__.py
+++ b/src/color_ssh/__init__.py
@@ -1,1 +1,1 @@
-__version__ = '0.1.1'
+__version__ = '0.1.2'
diff --git a/src/color_ssh/color_ssh.py b/src/color_ssh/color_ssh.py
index 1d2e798..e575962 10064... | Support port option in host list and host string | mogproject/color-ssh | diff --git a/tests/color_ssh/test_color_ssh.py b/tests/color_ssh/test_color_ssh.py
index 67684f8..e2fc45a 100644
--- a/tests/color_ssh/test_color_ssh.py
+++ b/tests/color_ssh/test_color_ssh.py
@@ -62,14 +62,15 @@ class TestSetting(TestCase):
('server-4', ['ssh', 'server-4', 'pwd']),
('server-5... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 3... | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"six",
"mog-commons>=0.2.2"
],
"pre_install": null,
"python": "3.9",
"reqs_path":... | -e git+https://github.com/mogproject/color-ssh.git@b39783565319ee50b34988c29193f02a90122e2c#egg=color_ssh
coverage==7.8.0
exceptiongroup==1.2.2
iniconfig==2.1.0
Jinja2==3.1.6
MarkupSafe==3.0.2
mog-commons==0.2.3
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==6.0.0
six==1.17.0
tomli==2.2.1
| name: color-ssh
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args",
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_host_error"
] | [] | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_load_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_multi_proc",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_single_proc",
"tests/color_ssh/test_color... | [] | null | 352 | ||
mogproject__color-ssh-18 | 4c8d1949137759046ddff3b922eb84148c6ffa19 | 2015-12-27 13:52:04 | 8ef23299ceb4e19e5d33562edb0066686eead51d | diff --git a/src/color_ssh/__init__.py b/src/color_ssh/__init__.py
index 8ce9b36..7525d19 100644
--- a/src/color_ssh/__init__.py
+++ b/src/color_ssh/__init__.py
@@ -1,1 +1,1 @@
-__version__ = '0.1.3'
+__version__ = '0.1.4'
diff --git a/src/color_ssh/color_cat.py b/src/color_ssh/color_cat.py
index 036ced8..7509d49 10064... | Reset color before newline | mogproject/color-ssh | diff --git a/tests/color_ssh/test_color_cat.py b/tests/color_ssh/test_color_cat.py
index 390d0b0..38d50cc 100644
--- a/tests/color_ssh/test_color_cat.py
+++ b/tests/color_ssh/test_color_cat.py
@@ -110,8 +110,8 @@ class TestMain(TestCase):
ret = color_cat.main(args, stdout=out, stderr=err)
self... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 3,
"test_score": 3
},
"num_modified_files"... | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"six",
"mog-commons>=0.2.2"
],
"pre_install": null,
"python": "3.9",
"reqs_path":... | -e git+https://github.com/mogproject/color-ssh.git@4c8d1949137759046ddff3b922eb84148c6ffa19#egg=color_ssh
coverage==7.8.0
exceptiongroup==1.2.2
iniconfig==2.1.0
Jinja2==3.1.6
MarkupSafe==3.0.2
mog-commons==0.2.3
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==6.0.0
six==1.17.0
tomli==2.2.1
| name: color-ssh
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/color_ssh/test_color_cat.py::TestMain::test_main",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_single_proc",
"tests/color_ssh/util/test_util.py::TestUtil::test_exception_handler"
] | [
"tests/color_ssh/test_color_cat.py::TestSetting::test_parse_args_error"
] | [
"tests/color_ssh/test_color_cat.py::TestSetting::test_parse_args",
"tests/color_ssh/test_color_cat.py::TestMain::test_main_error",
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args",
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args_error",
"tests/color_ssh/test_color_ssh.py::T... | [] | null | 353 | ||
sphinx-gallery__sphinx-gallery-80 | b63d08d07784d6c67714af11b18f07406ee8bf66 | 2015-12-29 15:30:04 | c1dbb14a7cc7ab8460a55999cffb5a1d90e9ab14 | Titan-C: Changes visible in my read the docs fork http://sphinx-gallery-local.readthedocs.org/en/cssclean/
Where no difference shall be noticed | diff --git a/sphinx_gallery/_static/gallery.css b/sphinx_gallery/_static/gallery.css
index 623003e..1fe2424 100644
--- a/sphinx_gallery/_static/gallery.css
+++ b/sphinx_gallery/_static/gallery.css
@@ -1,106 +1,106 @@
-div.sphx-glr-thumbContainer {
+.sphx-glr-thumbcontainer {
+ background: #fff;
+ border: solid #fff 1... | The syle of the CSS needs sanitizing
The CSS styles should be as such
<pre>
element {
prop1: value;
prop2: value;
}
element2 {
prop: value;
}
</pre> | sphinx-gallery/sphinx-gallery | diff --git a/sphinx_gallery/tests/test_backreferences.py b/sphinx_gallery/tests/test_backreferences.py
index ca1542b..d820378 100644
--- a/sphinx_gallery/tests/test_backreferences.py
+++ b/sphinx_gallery/tests/test_backreferences.py
@@ -17,7 +17,7 @@ def test_thumbnail_div():
reference = """
.. raw:: html
- ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_removed_files",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_fil... | 0.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "... | alabaster==0.7.16
babel==2.17.0
certifi==2025.1.31
charset-normalizer==3.4.1
contourpy==1.3.0
coverage==7.8.0
cycler==0.12.1
docutils==0.21.2
exceptiongroup==1.2.2
fonttools==4.56.0
idna==3.10
imagesize==1.4.1
importlib_metadata==8.6.1
importlib_resources==6.5.2
iniconfig==2.1.0
Jinja2==3.1.6
kiwisolver==1.4.7
MarkupSa... | name: sphinx-gallery
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libg... | [
"sphinx_gallery/tests/test_backreferences.py::test_thumbnail_div",
"sphinx_gallery/tests/test_backreferences.py::test_backref_thumbnail_div"
] | [] | [] | [] | BSD 3-Clause "New" or "Revised" License | 354 | |
mogproject__color-ssh-23 | 881561051ebae23a03aec3063877ee1cf21e24c0 | 2015-12-30 03:06:36 | 8ef23299ceb4e19e5d33562edb0066686eead51d | diff --git a/src/color_ssh/color_ssh.py b/src/color_ssh/color_ssh.py
index 0534891..294a553 100644
--- a/src/color_ssh/color_ssh.py
+++ b/src/color_ssh/color_ssh.py
@@ -21,6 +21,9 @@ class Setting(object):
' %prog [options...] -H "[user@]hostname [[user@]hostname]...]" command'
])
DEFAULT_PARAL... | Add upload-with option | mogproject/color-ssh | diff --git a/tests/color_ssh/test_color_ssh.py b/tests/color_ssh/test_color_ssh.py
index 2c22fee..ccb7c34 100644
--- a/tests/color_ssh/test_color_ssh.py
+++ b/tests/color_ssh/test_color_ssh.py
@@ -115,6 +115,35 @@ class TestSetting(TestCase):
[['rsync', '-a', 'z', 'root@server-12:z']]),
]... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 3,
"issue_text_score": 3,
"test_score": 3
},
"num_modified_files": 1
} | 0.1 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"pytest-cov",
"six",
"mog-commons>=0.2.2"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
-e git+https://github.com/mogproject/color-ssh.git@881561051ebae23a03aec3063877ee1cf21e24c0#egg=color_ssh
coverage==6.2
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/re... | name: color-ssh
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- importl... | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args"
] | [] | [
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_args_error",
"tests/color_ssh/test_color_ssh.py::TestSetting::test_parse_host_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_load_error",
"tests/color_ssh/test_color_ssh.py::TestMain::test_main_multi_proc",
"tests/color_ssh/test_co... | [] | null | 357 | ||
numberoverzero__bottom-17 | 4293d2726d2a7222faa55ca509871ee03f4e66e1 | 2016-01-02 04:11:06 | 4293d2726d2a7222faa55ca509871ee03f4e66e1 | diff --git a/.python-version b/.python-version
index fef12e2..d2286d0 100644
--- a/.python-version
+++ b/.python-version
@@ -1,1 +1,2 @@
bottom
+3.5.0
diff --git a/.travis.yml b/.travis.yml
index f37e3e8..a14cce9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
language: python
-python: 3.5-dev
+python: 3.5... | Dispatch blocks, incorrect async
After unpacking, the reading loop will [`yield from`](https://github.com/numberoverzero/bottom/blob/master/bottom/connection.py#L50) the event dispatch, which means it waits until all handlers run for the event, before continuing.
Instead, `events.trigger` should be a non-blocking ca... | numberoverzero/bottom | diff --git a/tests/conftest.py b/tests/conftest.py
index 03eea58..3bf0c0f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,3 +1,5 @@
+from bottom import Client
+from bottom.connection import Connection
from bottom.event import EventsMixin
import pytest
import asyncio
@@ -5,38 +7,39 @@ import collections
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_added_files",
"has_removed_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_sc... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"flake8"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],... | -e git+https://github.com/numberoverzero/bottom.git@4293d2726d2a7222faa55ca509871ee03f4e66e1#egg=bottom
certifi==2025.1.31
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
coverage==7.8.0
exceptiongroup==1.2.2
flake8==7.2.0
idna==3.10
iniconfig==2.1.0
mccabe==0.7.0
packaging==24.2
pluggy==1.5.0
pycodestyle==2.13.... | name: bottom
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- bzip2=1.0.8=h5eee18b_6
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=... | [
"tests/test_client.py::test_default_event_loop",
"tests/test_client.py::test_send_unknown_command",
"tests/test_client.py::test_send_before_connected",
"tests/test_client.py::test_send_after_disconnected",
"tests/test_client.py::test_on",
"tests/test_client.py::test_run_",
"tests/test_connection.py::tes... | [
"tests/test_event.py::test_callback_ordering",
"tests/test_plugins/test_router.py::test_decorator_returns_original",
"tests/test_plugins/test_router.py::test_handle_no_matching_route",
"tests/test_plugins/test_router.py::test_handle_with_matching_route",
"tests/test_plugins/test_router.py::test_back_referen... | [] | [] | MIT License | 363 | ||
cmc-python__modelmachine-20 | fa9275d64498c7cbe24f02357bbb1bc971670756 | 2016-01-02 19:08:24 | fa9275d64498c7cbe24f02357bbb1bc971670756 | diff --git a/Makefile b/Makefile
index ed9fdc1..f83193b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ GENERATED = build dist *.egg-info
all : test lint pep257 dist
-twine :
+twine : dist
twine upload dist/*
clean :
diff --git a/README.md b/README.md
index 0c15024..5460313 100644
--- a/README.md
+++ b/R... | Регистровая машина | cmc-python/modelmachine | diff --git a/modelmachine/tests/test_cpu.py b/modelmachine/tests/test_cpu.py
index 6976f72..b6cee81 100644
--- a/modelmachine/tests/test_cpu.py
+++ b/modelmachine/tests/test_cpu.py
@@ -5,7 +5,7 @@
from modelmachine.cpu import AbstractCPU
from modelmachine.cpu import CPUMM3, CPUMM2
from modelmachine.cpu import CPUMMV... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 3,
"issue_text_score": 3,
"test_score": 3
},... | 0.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements.txt"
],
"test_cmd": "pytest --... | exceptiongroup==1.2.2
iniconfig==2.1.0
-e git+https://github.com/cmc-python/modelmachine.git@fa9275d64498c7cbe24f02357bbb1bc971670756#egg=modelmachine
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
tomli==2.2.1
| name: modelmachine
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc... | [
"modelmachine/tests/test_numeric.py::TestNumeric::test_index"
] | [
"modelmachine/tests/test_cpu.py::TestAbstractCPU::test_load_program",
"modelmachine/tests/test_cpu.py::TestAbstractCPU::test_print_result",
"modelmachine/tests/test_cpu.py::TestAbstractCPU::test_run_file",
"modelmachine/tests/test_cpu.py::TestCPUMM3::test_smoke",
"modelmachine/tests/test_cpu.py::TestCPUMM2:... | [] | [] | Do What The F*ck You Want To Public License | 364 | ||
Pylons__webob-229 | 87a1254c1818859c066268755621254d2ab086a0 | 2016-01-03 07:23:46 | 9400c049d05c8ba350daf119aa16ded24ece31f6 | diff --git a/contributing.md b/contributing.md
deleted file mode 100644
index ad0ae99..0000000
--- a/contributing.md
+++ /dev/null
@@ -1,111 +0,0 @@
-Contributing
-============
-
-All projects under the Pylons Projects, including this one, follow the
-guidelines established at [How to
-Contribute](http://www.pylonsproj... | Possible HTTP Response Splitting Vulnerability
Hi,
Please review the published advisory, probably it's in the API WebOb which is not documented here: http://docs.webob.org/en/latest/api/exceptions.html
Probably there are other WebOb applications with similar issues.
Here is the advisory: http://www.zeroscience... | Pylons/webob | diff --git a/tests/test_descriptors.py b/tests/test_descriptors.py
index 7bf229f..eb3d316 100644
--- a/tests/test_descriptors.py
+++ b/tests/test_descriptors.py
@@ -155,6 +155,14 @@ def test_header_getter_fset_text():
desc.fset(resp, text_('avalue'))
eq_(desc.fget(resp), 'avalue')
+def test_header_getter_fs... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_removed_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
... | 1.5 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"nose",
"coverage",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "... | coverage==7.8.0
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
nose==1.3.7
packaging @ file:///croot/packaging_1734472117206/work
pluggy @ file:///croot/pluggy_1733169602837/work
pytest @ file:///croot/pytest_1738938843180/work
to... | name: webob
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_im... | [
"tests/test_descriptors.py::test_header_getter_fset_text_control_chars",
"tests/test_exc.py::test_HTTPMove_location_newlines"
] | [] | [
"tests/test_descriptors.py::test_environ_getter_docstring",
"tests/test_descriptors.py::test_environ_getter_nodefault_keyerror",
"tests/test_descriptors.py::test_environ_getter_nodefault_fget",
"tests/test_descriptors.py::test_environ_getter_nodefault_fdel",
"tests/test_descriptors.py::test_environ_getter_d... | [] | null | 365 | ||
pika__pika-685 | 8be81a21d8b554ee9af4fae08907956e5b8b138f | 2016-01-04 01:56:37 | f73f9bbaddd90b03583a6693f6158e56fbede948 | vitaly-krugl: Can anyone help me figure out why `assert_any_call` is failing in the python 2.6 build https://travis-ci.org/pika/pika/jobs/100035773 ? Many thanks
CC @gst, @gmr
gst: having a look into that..
gst: can't reproduce directly on my side..
gst: the only error I can trigger (in python2.6 but I think it's ... | diff --git a/docs/version_history.rst b/docs/version_history.rst
index 349fbe7..06530b7 100644
--- a/docs/version_history.rst
+++ b/docs/version_history.rst
@@ -10,6 +10,8 @@ Next Release
- In BaseConnection.close, call _handle_ioloop_stop only if the connection is
already closed to allow the asynchronous close o... | Pika drops Connection.Close from broker before Connection.Open-Ok
When running in Fedora with RabbitMQ 3.6.0, I noticed that the test async_adapter_tests.TestZ_AccessDenied times out. This test attempts to open a connection using a non-existent vhost. In this scenario, RabbitMQ eventually closes the socket connection (... | pika/pika | diff --git a/tests/unit/blocking_connection_tests.py b/tests/unit/blocking_connection_tests.py
index 70dc065..2888525 100644
--- a/tests/unit/blocking_connection_tests.py
+++ b/tests/unit/blocking_connection_tests.py
@@ -3,6 +3,10 @@
Tests for pika.adapters.blocking_connection.BlockingConnection
"""
+
+# Suppress p... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 11
} | 0.10 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"coverage",
"codecov",
"mock",
"nose",
"tornado",
"twisted",
"pytest"
],
"pre_install": [
... | attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
codecov==2.1.13
coverage==6.2
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
mock==5.2.0
nose==1.3.7
packaging==21.3
-e git+https://github.com/pika/pika.git@8be81a21d8b554ee9af4fae08907956e5b8b138f#egg=pika
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pyte... | name: pika
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libff... | [
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_flush_output_server_initiated_no_error_close",
"tests/unit/connection_tests.py::ConnectionTests::test_on_connection_close",
"tests/unit/connection_tests.py::ConnectionTests::test_on_connection_close_ok",
"tests/unit/connection_tests.py::C... | [
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_connection_attempts_with_timeout",
"tests/unit/heartbeat_tests.py::HeartbeatTests::test_setup_timer_called"
] | [
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_channel",
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_close",
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_constructor",
"tests/unit/blocking_connection_tests.py::BlockingConnectionTe... | [] | BSD 3-Clause "New" or "Revised" License | 366 | |
ntoll__uflash-9 | 28bc481b67d67cc20aacc1191c87ac1e4c59bb34 | 2016-01-04 21:42:12 | 28bc481b67d67cc20aacc1191c87ac1e4c59bb34 | ntoll: I'll try to get this reviewed and merged this evening.
funkyHat: I've pushed another branch which fixes the test coverage (although one of the new tests is a bit of a beast...)
Also removed `uflash help` as mentioned above: https://github.com/funkyHat/uflash/tree/unhexlify-plus
ntoll: Can you merge the new bran... | diff --git a/uflash.py b/uflash.py
index 61fe83d..f5cd8a6 100644
--- a/uflash.py
+++ b/uflash.py
@@ -3,6 +3,7 @@
This module contains functions for turning a Python script into a .hex file
and flashing it onto a BBC micro:bit.
"""
+import argparse
import sys
import os
import struct
@@ -19,8 +20,6 @@ _SCRIPT_ADDR ... | Add ability to extract Python code from a .hex file.
Because sometimes, you don't save the source file... ;-) | ntoll/uflash | diff --git a/tests/test_uflash.py b/tests/test_uflash.py
index 5434084..eb0c87c 100644
--- a/tests/test_uflash.py
+++ b/tests/test_uflash.py
@@ -39,6 +39,15 @@ def test_hexlify():
assert len(lines) == 5
+def test_unhexlify():
+ """
+ Ensure that we can get the script back out using unhexlify
+ """
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 0
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements.txt"
],
"test_cmd": "pytest --... | alabaster==0.7.16
babel==2.17.0
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
docutils==0.21.2
exceptiongroup==1.2.2
idna==3.10
imagesize==1.4.1
importlib_metadata==8.6.1
iniconfig==2.1.0
Jinja2==3.1.6
MarkupSafe==3.0.2
packaging==24.2
pep8==1.7.1
pluggy==1.5.0
pyflakes==3.3.1
Pygments==2.19.1
pytest==8.... | name: uflash
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_uflash.py::test_unhexlify",
"tests/test_uflash.py::test_extract",
"tests/test_uflash.py::test_extract_not_valid_hex",
"tests/test_uflash.py::test_extract_no_python",
"tests/test_uflash.py::test_extract_command",
"tests/test_uflash.py::test_extract_paths",
"tests/test_uflash.py::test_extract_... | [] | [
"tests/test_uflash.py::test_get_version",
"tests/test_uflash.py::test_hexlify",
"tests/test_uflash.py::test_hexlify_empty_script",
"tests/test_uflash.py::test_embed_hex",
"tests/test_uflash.py::test_embed_no_python",
"tests/test_uflash.py::test_embed_no_runtime",
"tests/test_uflash.py::test_find_microbi... | [] | MIT License | 368 | |
networkx__networkx-1908 | e0479d2e090ec301de9612330585e9bc8d1f967c | 2016-01-05 18:21:56 | e0479d2e090ec301de9612330585e9bc8d1f967c | diff --git a/networkx/algorithms/matching.py b/networkx/algorithms/matching.py
index afc505e5f..6bb064dee 100644
--- a/networkx/algorithms/matching.py
+++ b/networkx/algorithms/matching.py
@@ -46,7 +46,7 @@ def maximal_matching(G):
for u,v in G.edges():
# If the edge isn't covered, add it to the matching
... | maximal_matching and self loops
`maximal_matching` does allow self-loops
```py
>>> G = nx.Graph([[1,1]])
>>> nx.matching.maximal_matching(G)
{(1, 1)}
```
whereas `max_weight_matching` does not
```py
>>> nx.matching.max_weight_matching(G)
{}
```
Is this expected behaviour? If not, a simple `u != v` check shou... | networkx/networkx | diff --git a/networkx/algorithms/tests/test_matching.py b/networkx/algorithms/tests/test_matching.py
index 05fa8c1b1..ac86da9bc 100644
--- a/networkx/algorithms/tests/test_matching.py
+++ b/networkx/algorithms/tests/test_matching.py
@@ -247,6 +247,20 @@ def test_maximal_matching():
vset = set(u for u, v in matchin... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 2,
"test_score": 1
},
"num_modified_files": 1
} | 1.111 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y libgdal-dev graphviz"
],
"pyth... | attrs==22.2.0
certifi==2021.5.30
decorator==5.1.1
importlib-metadata==4.8.3
iniconfig==1.1.1
-e git+https://github.com/networkx/networkx.git@e0479d2e090ec301de9612330585e9bc8d1f967c#egg=networkx
nose==1.3.7
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
tomli==1.2.3
typing_extensions==4.1.1
zip... | name: networkx
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- l... | [
"networkx/algorithms/tests/test_matching.py::test_maximal_matching"
] | [] | [
"networkx/algorithms/tests/test_matching.py::TestMatching::test_trivial1",
"networkx/algorithms/tests/test_matching.py::TestMatching::test_trivial2",
"networkx/algorithms/tests/test_matching.py::TestMatching::test_trivial3",
"networkx/algorithms/tests/test_matching.py::TestMatching::test_trivial4",
"network... | [] | BSD 3-Clause | 369 | ||
geowurster__tinymr-13 | a387cf72cfc2a18978b77058e1e28f532258ae49 | 2016-01-07 05:12:23 | a387cf72cfc2a18978b77058e1e28f532258ae49 | diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..9c9f9fb
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,2 @@
+[run]
+omit: tinymr/_backport_heapq.py
diff --git a/README.rst b/README.rst
index 853c011..d653294 100644
--- a/README.rst
+++ b/README.rst
@@ -105,7 +105,7 @@ implementation with parallel... | Parallel mapping with a chunksize
The inputer iterable can be read in chunks and shoved off into `mapper()` subprocesses would be extremely helpful. | geowurster/tinymr | diff --git a/tests/conftest.py b/tests/conftest.py
index c9ec77e..569196d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -39,7 +39,7 @@ def tiny_text_wc_output():
@pytest.fixture(scope='function')
def mr_wordcount_memory_no_sort():
- class WordCount(mr.memory.MRSerial):
+ class WordCount(mr.memory.... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 0,
"test_score": 3
},... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --col... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
charset-normalizer==2.0.12
coverage==6.2
coveralls==3.3.1
docopt==0.6.2
idna==3.10
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work... | name: tinymr
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- importlib-... | [
"tests/test_base.py::test_not_implemented_methods",
"tests/test_base.py::test_default_settings",
"tests/test_base.py::test_default_methods",
"tests/test_memory.py::test_MapReduce_init_reduce",
"tests/test_memory.py::test_MapReduce_sort",
"tests/test_memory.py::test_MapReduce_no_sort",
"tests/test_memory... | [
"tests/test_tools.py::test_sorter_unorderable",
"tests/test_tools.py::test_sorter_exceptions"
] | [] | [] | New BSD License | 370 | ||
m-lab__bigsanity-17 | 7bb4df0ddb204026af693e91f33e13a039f66a3d | 2016-01-11 18:53:45 | 7bb4df0ddb204026af693e91f33e13a039f66a3d | diff --git a/bigsanity/query_construct.py b/bigsanity/query_construct.py
index 58e1b2d..cead3cd 100644
--- a/bigsanity/query_construct.py
+++ b/bigsanity/query_construct.py
@@ -102,6 +102,26 @@ def _project_has_intermediate_snapshots(project):
project == constants.PROJECT_ID_NPAD)
+def _project_to_time... | paris_traceroute uses log_time
paris_traceroute data uses `log_time` rather than `web100_log_entry.log_time` since Paris Traceroute is not web100 based. We need to adjust the query construction to address this. | m-lab/bigsanity | diff --git a/tests/test_query_construct.py b/tests/test_query_construct.py
index 22441d3..a64f523 100644
--- a/tests/test_query_construct.py
+++ b/tests/test_query_construct.py
@@ -284,8 +284,8 @@ class TableEquivalenceQueryGeneratorTest(unittest.TestCase):
plx.google:m_lab.2015_01.all
WHE... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -r requirements.txt && pip install -r test-requirements.txt",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov"
],
"pre_install": null,
"python": "3.... | coverage==7.8.0
exceptiongroup==1.2.2
iniconfig==2.1.0
mock==5.2.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==6.0.0
python-dateutil==2.9.0.post0
six==1.17.0
tomli==2.2.1
| name: bigsanity
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/test_query_construct.py::TableEquivalenceQueryGeneratorTest::test_correct_query_generation_for_paris_traceroute"
] | [] | [
"tests/test_query_construct.py::TableEquivalenceQueryGeneratorTest::test_correct_query_generation_for_ndt_across_months",
"tests/test_query_construct.py::TableEquivalenceQueryGeneratorTest::test_correct_query_generation_for_ndt_full_month",
"tests/test_query_construct.py::TableEquivalenceQueryGeneratorTest::tes... | [] | Apache License 2.0 | 373 | ||
ARMmbed__yotta-656 | 16cc2baeba653dc77e3ce32c20018b32ab108bf4 | 2016-01-12 15:29:25 | 16cc2baeba653dc77e3ce32c20018b32ab108bf4 | diff --git a/yotta/lib/pack.py b/yotta/lib/pack.py
index ade5aae..f7ef9d0 100644
--- a/yotta/lib/pack.py
+++ b/yotta/lib/pack.py
@@ -257,6 +257,12 @@ class Pack(object):
else:
return None
+ def getKeywords(self):
+ if self.description:
+ return self.description.get('keywords... | Discourage accidental use of mbed-official keyword
There have been several cases where target descriptions have been published with descriptions and keywords indicating that they are officially supported, when in fact they aren't.
yotta should warn when these keywords are used, to make sure that their use is intenti... | ARMmbed/yotta | diff --git a/yotta/test/cli/test_publish.py b/yotta/test/cli/test_publish.py
index de93d77..11b713e 100644
--- a/yotta/test/cli/test_publish.py
+++ b/yotta/test/cli/test_publish.py
@@ -13,7 +13,7 @@ import tempfile
# internal modules:
from yotta.lib.fsutils import rmRf
from . import cli
-
+from . import util
Test... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 3
} | 0.12 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc cmake ninja-build"
],
"python": "3.9",
"r... | argcomplete==1.0.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
colorama==0.3.9
cryptography==44.0.2
Deprecated==1.2.18
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
future==1.0.0
hgapi==1.7.4
idna==3.10
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
intelhex==2.... | name: yotta
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_im... | [
"yotta/test/cli/test_publish.py::TestCLIPublish::test_warnOfficialKeywords"
] | [
"yotta/test/cli/test_publish.py::TestCLIPublish::test_publishNotAuthed"
] | [
"yotta/test/cli/test_publish.py::TestCLIPublish::test_publishPrivate"
] | [] | Apache License 2.0 | 375 | ||
Pylons__webob-230 | 9400c049d05c8ba350daf119aa16ded24ece31f6 | 2016-01-12 17:50:01 | 9400c049d05c8ba350daf119aa16ded24ece31f6 | diff --git a/webob/exc.py b/webob/exc.py
index 57a81b5..044c00a 100644
--- a/webob/exc.py
+++ b/webob/exc.py
@@ -165,10 +165,12 @@ References:
"""
+import json
from string import Template
import re
import sys
+from webob.acceptparse import Accept
from webob.compat import (
class_types,
text_,
@@ -2... | Allow for JSON Exception Bodies
I'm currently working on several projects that provide a JSON API using WebOb. Currently, however, whenever we use a `webob.exc` exception to return an error to the user (e.g., `webob.exc.HTTPBadRequest`) the body of that message is always in a content-type other than what they're expect... | Pylons/webob | diff --git a/tests/test_exc.py b/tests/test_exc.py
index dcb1fed..8204783 100644
--- a/tests/test_exc.py
+++ b/tests/test_exc.py
@@ -1,3 +1,5 @@
+import json
+
from webob.request import Request
from webob.dec import wsgify
from webob import exc as webob_exc
@@ -119,6 +121,57 @@ def test_WSGIHTTPException_html_body_w... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 1
},
"num_modified_files": 1
} | 1.5 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[testing]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line -... | coverage==7.8.0
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
nose==1.3.7
packaging @ file:///croot/packaging_1734472117206/work
pluggy @ file:///croot/pluggy_1733169602837/work
pytest @ file:///croot/pytest_1738938843180/work
to... | name: webob
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_im... | [
"tests/test_exc.py::test_WSGIHTTPException_json_body_no_comment",
"tests/test_exc.py::test_WSGIHTTPException_respects_application_json",
"tests/test_exc.py::test_WSGIHTTPException_allows_custom_json_formatter"
] | [] | [
"tests/test_exc.py::test_noescape_null",
"tests/test_exc.py::test_noescape_not_basestring",
"tests/test_exc.py::test_noescape_unicode",
"tests/test_exc.py::test_strip_tags_empty",
"tests/test_exc.py::test_strip_tags_newline_to_space",
"tests/test_exc.py::test_strip_tags_zaps_carriage_return",
"tests/tes... | [] | null | 376 | ||
ross__requests-futures-28 | cd3acaf2731eb7e48feb927d80615977a3ba8ede | 2016-01-12 22:40:53 | cd3acaf2731eb7e48feb927d80615977a3ba8ede | diff --git a/README.rst b/README.rst
index 5a25b22..2cc5149 100644
--- a/README.rst
+++ b/README.rst
@@ -68,6 +68,15 @@ As a shortcut in case of just increasing workers number you can pass
from requests_futures.sessions import FuturesSession
session = FuturesSession(max_workers=10)
+FutureSession will use a... | Allow FuturesSession to take a session object to defer to
I'd like to use requests-futures with my own session object (in my case an instance of requests-oauthlib's `OAuth2Session`). The way grequests handles this is to add an __init__ kwarg which will take a session object and, if provided, defer requests calls to it.... | ross/requests-futures | diff --git a/test_requests_futures.py b/test_requests_futures.py
index f9f6844..876ef6f 100644
--- a/test_requests_futures.py
+++ b/test_requests_futures.py
@@ -4,7 +4,7 @@
"""Tests for Requests."""
from concurrent.futures import Future
-from requests import Response
+from requests import Response, session
from os... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 2
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": [
"requirements-python-3.txt"
],
"test_cmd": "... | attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
requests==2.27.1
-e git+https://github.com/ross/requests-futures.git@cd3acaf2731eb7e48feb927d80615977a3ba8ede#egg=requests_futures
tom... | name: requests-futures
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557... | [
"test_requests_futures.py::RequestsTestCase::test_supplied_session"
] | [] | [
"test_requests_futures.py::RequestsTestCase::test_context",
"test_requests_futures.py::RequestsTestCase::test_futures_session",
"test_requests_futures.py::RequestsTestCase::test_max_workers",
"test_requests_futures.py::RequestsTestCase::test_redirect"
] | [] | Apache License 2.0 | 377 | ||
jupyter-incubator__sparkmagic-115 | e29c15bf11fbada311796c36e1f5c9d7091b2667 | 2016-01-13 04:06:38 | e29c15bf11fbada311796c36e1f5c9d7091b2667 | diff --git a/remotespark/datawidgets/autovizwidget.py b/remotespark/datawidgets/autovizwidget.py
index f0b6405..f166c2e 100644
--- a/remotespark/datawidgets/autovizwidget.py
+++ b/remotespark/datawidgets/autovizwidget.py
@@ -3,20 +3,14 @@
import pandas as pd
from ipywidgets import FlexBox
-from IPython.display impo... | Incorrect visualizations on some sample data
Ran the following code:
hvac = sc.textFile('wasb:///HdiSamples/HdiSamples/SensorSampleData/hvac/HVAC.csv')
from pyspark.sql import Row
Doc = Row("TargetTemp", "ActualTemp", "System", "SystemAge", "BuildingID")
def parseDocument(line):
values = ... | jupyter-incubator/sparkmagic | diff --git a/tests/datawidgetstests/test_plotlygraphs.py b/tests/datawidgetstests/test_plotlygraphs.py
index 6506b65..72b21b0 100644
--- a/tests/datawidgetstests/test_plotlygraphs.py
+++ b/tests/datawidgetstests/test_plotlygraphs.py
@@ -1,4 +1,5 @@
import pandas as pd
+from mock import MagicMock
from remotespark.da... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_media",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 3
... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements.txt"
],
"test_cmd"... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/datawidgetstests/test_plotlygraphs.py::test_pie_graph_get_values_labels",
"tests/datawidgetstests/test_plotlygraphs.py::test_data_graph_render"
] | [
"tests/datawidgetstests/test_plotlygraphs.py::test_graphbase_get_x_y_values"
] | [
"tests/datawidgetstests/test_plotlygraphs.py::test_graph_base_display_methods",
"tests/datawidgetstests/test_plotlygraphs.py::test_pie_graph_display_methods",
"tests/datawidgetstests/test_plotlygraphs.py::test_data_graph_display_methods"
] | [] | Modified BSD License | 378 | ||
jupyter-incubator__sparkmagic-121 | cb87d63ab3268c1c5bd63c9fc1f1e971d5a1fe31 | 2016-01-14 01:30:02 | cb87d63ab3268c1c5bd63c9fc1f1e971d5a1fe31 | diff --git a/remotespark/livyclientlib/livyclient.py b/remotespark/livyclientlib/livyclient.py
index 5559856..eab5eed 100644
--- a/remotespark/livyclientlib/livyclient.py
+++ b/remotespark/livyclientlib/livyclient.py
@@ -10,16 +10,15 @@ class LivyClient(object):
def __init__(self, session):
self.logger ... | Shutdown pyspark kernel doesn't gaurantee that session has been deleted
Repro Steps:
- Open Pyspark kernel
- Do any operation, 1+1 for example
- shutdown it before getting the answer (while creating the SQL context & Hive one)
- SSH the cluster, you'll find the session still existing
For now, to delete it, y... | jupyter-incubator/sparkmagic | diff --git a/tests/test_livyclient.py b/tests/test_livyclient.py
index 57870fa..1a2931a 100644
--- a/tests/test_livyclient.py
+++ b/tests/test_livyclient.py
@@ -6,16 +6,23 @@ from remotespark.utils.utils import get_connection_string
from remotespark.utils.constants import Constants
-def test_create_sql_context_aut... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 2
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_livyclient.py::test_doesnt_create_sql_context_automatically",
"tests/test_livyclient.py::test_start_creates_sql_context",
"tests/test_livyclient.py::test_execute_code",
"tests/test_livyclient.py::test_execute_sql",
"tests/test_livyclient.py::test_execute_hive",
"tests/test_livyclient.py::test_... | [
"tests/test_sparkcontroller.py::test_add_session",
"tests/test_sparkcontroller.py::test_add_session_skip",
"tests/test_sparkcontroller.py::test_delete_session",
"tests/test_sparkcontroller.py::test_cleanup",
"tests/test_sparkcontroller.py::test_run_cell",
"tests/test_sparkcontroller.py::test_get_client_ke... | [] | [] | Modified BSD License | 379 | ||
joblib__joblib-297 | 4a9c63d7984bc5e630722b8bf72c0c720a6bd5c0 | 2016-01-14 10:30:19 | 40341615cc2600675ce7457d9128fb030f6f89fa | ogrisel: LGTM, can you please add a changelog entry and merge? | diff --git a/CHANGES.rst b/CHANGES.rst
index e08fc89..66531c1 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -4,6 +4,11 @@ Latest changes
Release 0.9.4
-------------
+Loïc Estève
+
+ FIX for raising non inheritable exceptions in a Parallel call. See
+ https://github.com/joblib/joblib/issues/269 for more detail... | Error propagating exceptions on-non subclassable types
I was using joblib to run 8 optimizations using nlopt in parallel, and got this error:
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1... | joblib/joblib | diff --git a/joblib/test/test_my_exceptions.py b/joblib/test/test_my_exceptions.py
index 7c396ca..b283434 100644
--- a/joblib/test/test_my_exceptions.py
+++ b/joblib/test/test_my_exceptions.py
@@ -42,6 +42,16 @@ def test_inheritance_special_cases():
assert_true(my_exceptions._mk_exception(exception)[0] is
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 0
},
"num_modified_files": 2
} | 0.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"nose",
"coverage",
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null,
"test_cmd": "pytest --no-hea... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
coverage==6.2
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
-e git+https://github.com/joblib/joblib.git@4a9c63d7984bc5e630722b8b... | name: joblib
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- importlib-... | [
"joblib/test/test_my_exceptions.py::test_inheritance_special_cases"
] | [] | [
"joblib/test/test_my_exceptions.py::test_inheritance",
"joblib/test/test_my_exceptions.py::test__mk_exception"
] | [] | BSD 3-Clause "New" or "Revised" License | 380 | |
OnroerendErfgoed__pyramid_urireferencer-11 | b9c5617a6f21cc081232826cee80fa7b2bf050e2 | 2016-01-14 15:13:21 | 067293d191dc9dd4f7c2554f71bf0c730786a872 | diff --git a/pyramid_urireferencer/models.py b/pyramid_urireferencer/models.py
index 8ef53f0..9bbd245 100644
--- a/pyramid_urireferencer/models.py
+++ b/pyramid_urireferencer/models.py
@@ -14,12 +14,13 @@ class RegistryResponse:
:param int count: How many references were found?
:param list applications: A lis... | Error message when a resource can't be deleted.
Currently, when the protected resources decorator finds that a resource is still in use, it raise a 409 Conflict with a text string as body.
The current error message looks like:
*Urireferencer: The uri https://id.erfgoed.net/actoren/1 is still in use by other applica... | OnroerendErfgoed/pyramid_urireferencer | diff --git a/tests/test_protected_resources.py b/tests/test_protected_resources.py
index dc47a81..1989235 100644
--- a/tests/test_protected_resources.py
+++ b/tests/test_protected_resources.py
@@ -2,23 +2,34 @@
import unittest
from pyramid import testing
from pyramid_urireferencer.protected_resources import protecte... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 2
},
"num_... | 0.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov",
"webtest",
"httpretty",
"coveralls",
"wheel"
],
"pre_install": [
"ap... | beautifulsoup4==4.13.3
coverage==7.8.0
coveralls==4.0.1
docopt==0.6.2
exceptiongroup==1.2.2
httpretty==1.1.4
iniconfig==2.1.0
packaging==24.2
PasteDeploy==3.1.0
pluggy==1.5.0
pyramid==1.5.7
-e git+https://github.com/OnroerendErfgoed/pyramid_urireferencer.git@b9c5617a6f21cc081232826cee80fa7b2bf050e2#egg=pyramid_urirefer... | name: pyramid_urireferencer
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
... | [
"tests/test_protected_resources.py::ProtectedTests::test_protected_operation_409_json"
] | [] | [
"tests/test_protected_resources.py::ProtectedTests::test_protected_operation",
"tests/test_protected_resources.py::ProtectedTests::test_protected_operation_409",
"tests/test_protected_resources.py::ProtectedTests::test_protected_operation_409_2",
"tests/test_protected_resources.py::ProtectedTests::test_protec... | [] | MIT License | 381 | ||
jupyter-incubator__sparkmagic-125 | ac43b2838efaae766a7071a79699b9b192899dd2 | 2016-01-16 02:37:09 | ac43b2838efaae766a7071a79699b9b192899dd2 | diff --git a/remotespark/livyclientlib/livyclient.py b/remotespark/livyclientlib/livyclient.py
index eab5eed..6d56323 100644
--- a/remotespark/livyclientlib/livyclient.py
+++ b/remotespark/livyclientlib/livyclient.py
@@ -22,6 +22,12 @@ class LivyClient(object):
def serialize(self):
return self._session.ge... | Provide %logs for session and in wrapper kernels
This should query `/sessions/ID/log?from=0` and return output nicely formatted. | jupyter-incubator/sparkmagic | diff --git a/tests/test_livyclient.py b/tests/test_livyclient.py
index 1a2931a..b0d89c2 100644
--- a/tests/test_livyclient.py
+++ b/tests/test_livyclient.py
@@ -118,3 +118,27 @@ def test_session_id():
i = client.session_id
assert i == session_id
+
+
+def test_get_logs_returns_session_logs():
+ logs = "hi... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -r requirements.txt -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements.tx... | anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.3
bleach==6.2.0
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
comm==0.2.2
decorator==5.2.1
defusedxml==0.7.1
exceptiongroup==1.2.2
fastjsonschema==2.21.1
fqdn==1.5.1
h... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/test_livyclient.py::test_get_logs_returns_session_logs",
"tests/test_livyclient.py::test_get_logs_returns_false_with_value_error"
] | [
"tests/test_remotesparkmagics.py::test_info_command_parses",
"tests/test_remotesparkmagics.py::test_info_endpoint_command_parses",
"tests/test_remotesparkmagics.py::test_add_sessions_command_parses",
"tests/test_remotesparkmagics.py::test_add_sessions_command_extra_properties",
"tests/test_remotesparkmagics... | [
"tests/test_livyclient.py::test_doesnt_create_sql_context_automatically",
"tests/test_livyclient.py::test_start_creates_sql_context",
"tests/test_livyclient.py::test_execute_code",
"tests/test_livyclient.py::test_execute_sql",
"tests/test_livyclient.py::test_execute_hive",
"tests/test_livyclient.py::test_... | [] | Modified BSD License | 382 | ||
joshvillbrandt__wireless-9 | 03fe4987e50aae45132ad3f4c2f6cb3ff2263adc | 2016-01-17 14:02:20 | 7d62e873cb2c69185494a2ba037a9e1cc3a74e6f | diff --git a/wireless/Wireless.py b/wireless/Wireless.py
index d9bb653..389dee9 100644
--- a/wireless/Wireless.py
+++ b/wireless/Wireless.py
@@ -8,7 +8,8 @@ from time import sleep
def cmd(cmd):
return subprocess.Popen(
cmd, shell=True,
- stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.rea... | Python3 support
Traceback (most recent call last):
File "/home/xayon/.virtualenvs/smoothie/lib/python3.4/site-packages/rq/worker.py", line 568, in perform_job
rv = job.perform()
File "/home/xayon/.virtualenvs/smoothie/lib/python3.4/site-packages/rq/job.py", line 495, in perform
self._result = self.fun... | joshvillbrandt/wireless | diff --git a/tests/TestWireless.py b/tests/TestWireless.py
index 0ca7ec0..941d8d3 100644
--- a/tests/TestWireless.py
+++ b/tests/TestWireless.py
@@ -2,6 +2,7 @@
import unittest
from wireless import Wireless
+from wireless.Wireless import cmd
class TestWireless(unittest.TestCase):
@@ -12,3 +13,26 @@ class TestW... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 2,
"test_score": 1
},
"num_modified_files": 1
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "",
"pip_packages": [
"nose",
"flake8",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y pandoc"
],
"python": "3.9",
"r... | exceptiongroup==1.2.2
flake8==7.2.0
iniconfig==2.1.0
mccabe==0.7.0
nose==1.3.7
packaging==24.2
pluggy==1.5.0
pycodestyle==2.13.0
pyflakes==3.3.1
pytest==8.3.5
tomli==2.2.1
-e git+https://github.com/joshvillbrandt/wireless.git@03fe4987e50aae45132ad3f4c2f6cb3ff2263adc#egg=wireless
| name: wireless
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/TestWireless.py::TestCMD::test_cmdcomparission"
] | [] | [
"tests/TestWireless.py::TestWireless::test_import",
"tests/TestWireless.py::TestCMD::test_cmdlen"
] | [] | Apache License 2.0 | 383 | ||
jupyter-incubator__sparkmagic-128 | c3fd225a599345175240d8e96673102aacf3f624 | 2016-01-19 04:02:31 | c3fd225a599345175240d8e96673102aacf3f624 | diff --git a/remotespark/wrapperkernel/codetransformers.py b/remotespark/wrapperkernel/codetransformers.py
index 41136ad..1cec56a 100644
--- a/remotespark/wrapperkernel/codetransformers.py
+++ b/remotespark/wrapperkernel/codetransformers.py
@@ -157,3 +157,14 @@ class LogsTransformer(UserCodeTransformerBase):
... | Expose %python for wrapper kernels
So that user can execute custom python code, maybe in conjunction with -o for %sql results. | jupyter-incubator/sparkmagic | diff --git a/tests/test_codetransformers.py b/tests/test_codetransformers.py
index c03390e..698a763 100644
--- a/tests/test_codetransformers.py
+++ b/tests/test_codetransformers.py
@@ -227,3 +227,17 @@ def test_logs_transformer_no_session():
assert_equals(begin_action, Constants.do_nothing_action)
assert_equa... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files": 3
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": [
"mkdir ~/.sparkmagic",
"cp remotespark/default_config.json ~/.sparkmagic... | anyio==3.7.1
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
attrs==24.2.0
beautifulsoup4==4.13.3
bleach==6.0.0
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi==1.15.1
charset-normalizer==3.4.1
comm==0.1.4
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
exceptiongroup==1.2.2
fastjsonschema==2.21.1
... | name: sparkmagic
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
-... | [
"tests/test_codetransformers.py::test_python_transformer",
"tests/test_sparkkernelbase.py::test_returns_right_transformer"
] | [] | [
"tests/test_codetransformers.py::test_not_supported_transformer",
"tests/test_codetransformers.py::test_config_transformer_no_session",
"tests/test_codetransformers.py::test_config_transformer_session_no_flag",
"tests/test_codetransformers.py::test_config_transformer_session_flag",
"tests/test_codetransform... | [] | Modified BSD License | 389 | ||
wong2__pick-3 | 38bab1f33ff03936906435d5458765493e4c2c1c | 2016-01-20 08:40:03 | 38bab1f33ff03936906435d5458765493e4c2c1c | diff --git a/example/scroll.py b/example/scroll.py
new file mode 100644
index 0000000..6f34b22
--- /dev/null
+++ b/example/scroll.py
@@ -0,0 +1,10 @@
+#-*-coding:utf-8-*-
+
+from __future__ import print_function
+
+from pick import pick
+
+title = 'Select:'
+options = ['foo.bar%s.baz' % x for x in range(1, 71)]
+option... | Long lists issue
I have an issue with `pick` while passing a long list, here is an example you can try it:
```python
from pick import pick
title = 'Select: '
options = ['foo.bar1.baz', 'foo.bar2.baz', 'foo.bar3.baz', 'foo.bar4.baz', 'foo.bar5.baz', 'foo.bar6.baz', 'foo.bar7.baz','foo.bar8.baz', 'foo.bar9.baz', ... | wong2/pick | diff --git a/tests/test_pick.py b/tests/test_pick.py
index f5b7dd4..21eecc4 100644
--- a/tests/test_pick.py
+++ b/tests/test_pick.py
@@ -1,12 +1,12 @@
#-*-coding:utf-8-*-
import unittest
-from pick import pick, Picker
+from pick import Picker
class TestPick(unittest.TestCase):
- def test_pick(self):
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_added_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=lin... | exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
nose==1.3.7
packaging @ file:///croot/packaging_1734472117206/work
-e git+https://github.com/wong2/pick.git@38bab1f33ff03936906435d5458765493e4c2c1c#egg=pick
pluggy @ file:///croot/pl... | name: pick
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_imp... | [
"tests/test_pick.py::TestPick::test_get_lines",
"tests/test_pick.py::TestPick::test_no_title"
] | [] | [
"tests/test_pick.py::TestPick::test_default_index",
"tests/test_pick.py::TestPick::test_move_up_down"
] | [] | MIT License | 390 | ||
phobson__paramnormal-24 | 9e0395b03e042d0ad4f0d6be12c768103233dc27 | 2016-01-21 15:07:30 | 9e0395b03e042d0ad4f0d6be12c768103233dc27 | diff --git a/docs/tutorial/fitting.ipynb b/docs/tutorial/fitting.ipynb
index b5434fa..364bccb 100644
--- a/docs/tutorial/fitting.ipynb
+++ b/docs/tutorial/fitting.ipynb
@@ -11,6 +11,17 @@
"Again, we'll demonstrate with a lognormal distribution and compare parameter estimatation with scipy."
]
},
+ {
+ "c... | add exponential distribution
seems pretty critical | phobson/paramnormal | diff --git a/paramnormal/tests/test_paramnormal.py b/paramnormal/tests/test_paramnormal.py
index 8fde0c3..73de100 100644
--- a/paramnormal/tests/test_paramnormal.py
+++ b/paramnormal/tests/test_paramnormal.py
@@ -342,3 +342,36 @@ class Test_pareto(CheckDist_Mixin):
(params.loc, 0),
(params.sca... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 0
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": [],
"python": "3.5",
"reqs_path": [
"requirements.txt"
],
"test_cmd": ... | attrs==22.2.0
certifi==2021.5.30
importlib-metadata==4.8.3
iniconfig==1.1.1
nose==1.3.7
numpy==1.19.5
packaging==21.3
-e git+https://github.com/phobson/paramnormal.git@9e0395b03e042d0ad4f0d6be12c768103233dc27#egg=paramnormal
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
scipy==1.5.4
tomli==1.2.3
typing_extens... | name: paramnormal
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
... | [
"paramnormal/tests/test_paramnormal.py::Test_exponential::test_random_0010",
"paramnormal/tests/test_paramnormal.py::Test_exponential::test_random_0037",
"paramnormal/tests/test_paramnormal.py::Test_exponential::test_random_0100",
"paramnormal/tests/test_paramnormal.py::Test_exponential::test_random_3737",
... | [
"paramnormal/tests/test_paramnormal.py::Test_exponential::test_fit"
] | [
"paramnormal/tests/test_paramnormal.py::Test_normal::test_random_0010",
"paramnormal/tests/test_paramnormal.py::Test_normal::test_random_0037",
"paramnormal/tests/test_paramnormal.py::Test_normal::test_random_0100",
"paramnormal/tests/test_paramnormal.py::Test_normal::test_random_3737",
"paramnormal/tests/t... | [] | MIT License | 391 | ||
cdent__wsgi-intercept-35 | 3048a0921675822f5f27567d63ecca094077dc25 | 2016-01-21 19:21:32 | 3048a0921675822f5f27567d63ecca094077dc25 | diff --git a/wsgi_intercept/__init__.py b/wsgi_intercept/__init__.py
index 487cd76..b659d75 100644
--- a/wsgi_intercept/__init__.py
+++ b/wsgi_intercept/__init__.py
@@ -50,6 +50,11 @@ Note especially that ``app_create_fn`` is a *function object* returning a WSGI
application; ``script_name`` becomes ``SCRIPT_NAME`` in ... | kwarg error when $http_proxy is set in environ
```bash
$ echo $http_proxy
some_proxy.com:1234
```
and run the [requests example](http://wsgi-intercept.readthedocs.org/en/latest/requests.html), I got this error:
```
Traceback (most recent call last):
File "test.py", line 20, in <module>
resp = requests.get... | cdent/wsgi-intercept | diff --git a/test/install.py b/test/install.py
index 225e109..65262cd 100644
--- a/test/install.py
+++ b/test/install.py
@@ -1,9 +1,10 @@
+import os
import wsgi_intercept
class BaseInstalledApp(object):
def __init__(self, app, host, port=80, script_name='',
- install=None, uninstall=None):
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_files": 3
} | 1.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[testing]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "",
"pip_packages": [
"pytest>=2.4",
"httplib2",
"requests>=2.0.1",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get instal... | attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
httplib2==0.22.0
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
requests==2.27.1
six==1.17.0
tomli==1.2.3
typing_extensions==4.1.1
urllib3==1.26.20
-e git+https://github.com/cdent/w... | name: wsgi-intercept
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0... | [
"test/test_requests.py::test_proxy_handling",
"test/test_urllib.py::test_proxy_handling"
] | [
"test/test_httplib2.py::test_bogus_domain",
"test/test_httplib2.py::test_https",
"test/test_httplib2.py::test_https_default_port",
"test/test_requests.py::test_bogus_domain",
"test/test_requests.py::test_https",
"test/test_requests.py::test_https_default_port",
"test/test_requests.py::test_https_not_int... | [
"test/test_http_client.py::test_http",
"test/test_http_client.py::test_https",
"test/test_http_client.py::test_other",
"test/test_http_client.py::test_proxy_handling",
"test/test_http_client.py::test_app_error",
"test/test_http_client.py::test_http_not_intercepted",
"test/test_http_client.py::test_https... | [] | null | 392 | ||
PyCQA__mccabe-38 | c9bb16e5c66997153e0347ab5a1ee39e7d2a2e76 | 2016-01-24 03:31:04 | c9bb16e5c66997153e0347ab5a1ee39e7d2a2e76 | diff --git a/mccabe.py b/mccabe.py
index f5ef5d9..72b8bdd 100644
--- a/mccabe.py
+++ b/mccabe.py
@@ -133,6 +133,8 @@ class PathGraphingAstVisitor(ASTVisitor):
self.graphs["%s%s" % (self.classname, node.name)] = self.graph
self.reset()
+ visitAsyncFunctionDef = visitFunctionDef
+
def ... | Not working with python 3.5 "async def ..."
It looks like mccabe is ignoring python 3.5 coroutines defined like
```python
async def foobar(a, b, c):
whatever(a, b, c)
```
I tried it via flake8 version:
2.5.1 (pep8: 1.7.0, pyflakes: 1.0.0, mccabe: 0.3.1) CPython 3.5.0+ on Linux | PyCQA/mccabe | diff --git a/test_mccabe.py b/test_mccabe.py
index 07d8d78..44fb565 100644
--- a/test_mccabe.py
+++ b/test_mccabe.py
@@ -5,6 +5,8 @@ try:
except ImportError:
from io import StringIO
+import pytest
+
import mccabe
from mccabe import get_code_complexity
@@ -84,6 +86,19 @@ else:
print(4)
"""
+async_key... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 4
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"flake8"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path"... | exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
flake8==7.2.0
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
-e git+https://github.com/PyCQA/mccabe.git@c9bb16e5c66997153e0347ab5a1ee39e7d2a2e76#egg=mccabe
packaging @ file:///croot/packaging_1734472117206/work
pluggy @ file:///cr... | name: mccabe
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld_i... | [
"test_mccabe.py::McCabeTestCase::test_async_keywords"
] | [] | [
"test_mccabe.py::McCabeTestCase::test_for_else_snippet",
"test_mccabe.py::McCabeTestCase::test_for_loop_snippet",
"test_mccabe.py::McCabeTestCase::test_if_elif_else_dead_path_snippet",
"test_mccabe.py::McCabeTestCase::test_nested_functions_snippet",
"test_mccabe.py::McCabeTestCase::test_print_message",
"t... | [] | Expat License | 395 | ||
guykisel__inline-plz-20 | f0fb68fa031c40920731a6f31526f6b455768f37 | 2016-01-25 06:19:06 | f0fb68fa031c40920731a6f31526f6b455768f37 | diff --git a/.travis.yml b/.travis.yml
index 74e2d43..9f6e2d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,8 +21,7 @@ install:
# command to run tests, e.g. python setup.py test
script:
- tox
- - prospector --zero-exit > lint.txt
- - inline-plz --parser=prospector --filename=lint.txt
+ - inline-plz
# Aft... | detect when running in ci and run/configure automatically
if CI envvars (jenkins/travis/etc) are present, then automatically look up the current console log, find linter command line invocations, and parse them. | guykisel/inline-plz | diff --git a/tests/parsers/test_prospector.py b/tests/parsers/test_prospector.py
index 2913435..f673b81 100644
--- a/tests/parsers/test_prospector.py
+++ b/tests/parsers/test_prospector.py
@@ -17,10 +17,14 @@ prospector_path = os.path.join(
def test_prospector():
with open(prospector_path) as inputfile:
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 3
},... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"numpy>=1.16.0",
"pandas>=1.0.0",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y... | certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
cryptography==44.0.2
exceptiongroup==1.2.2
github3.py==4.0.1
idna==3.10
iniconfig==2.1.0
-e git+https://github.com/guykisel/inline-plz.git@f0fb68fa031c40920731a6f31526f6b455768f37#egg=inlineplz
numpy==2.0.2
packaging==24.2
pandas==2.2.3
pluggy==1.5.0
pycparser==... | name: inline-plz
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/parsers/test_prospector.py::test_prospector"
] | [] | [] | [] | ISC License | 396 | ||
abh1nav__gnippy-16 | f9fc42bf37cb9f415df18fd7f72a238d1cbd69e0 | 2016-01-28 04:30:48 | f9fc42bf37cb9f415df18fd7f72a238d1cbd69e0 | diff --git a/gnippy/rules.py b/gnippy/rules.py
index 0309b5d..f5f1d04 100644
--- a/gnippy/rules.py
+++ b/gnippy/rules.py
@@ -2,6 +2,11 @@
import json
+try:
+ from urllib.parse import urlparse
+except:
+ from urlparse import urlparse
+
import requests
from six import string_types
@@ -82,6 +87,17 @@ def _p... | Rules URL is incorrectly generated if endpoint URL has parameters
This does not work if `conf['url']` has params.
```
rules_url = _generate_rules_url(conf['url']) + "?_method=delete"
```
Example generated URL:
```
https://api.gnip.com:443/accounts/XXX/publishers/twitter/streams/track/prod/rules.json?client=... | abh1nav/gnippy | diff --git a/gnippy/test/test_rules.py b/gnippy/test/test_rules.py
index 4310376..a79a857 100644
--- a/gnippy/test/test_rules.py
+++ b/gnippy/test/test_rules.py
@@ -258,6 +258,20 @@ class RulesTestCase(unittest.TestCase):
r = rules.get_rules(config_file_path=test_utils.test_config_path)
self.assertEqu... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 1
},
... | 0.5 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements-dev.txt"
],
"test_cmd": "pytes... | cachetools==5.5.2
chardet==5.2.0
colorama==0.4.6
distlib==0.3.9
exceptiongroup==1.2.2
filelock==3.18.0
-e git+https://github.com/abh1nav/gnippy.git@f9fc42bf37cb9f415df18fd7f72a238d1cbd69e0#egg=gnippy
iniconfig==2.1.0
mock==1.0.1
nose==1.3.0
packaging==24.2
platformdirs==4.3.7
pluggy==1.5.0
pyproject-api==1.9.0
pytest==... | name: gnippy
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"gnippy/test/test_rules.py::RulesTestCase::test_generate_delete_url_normal_case",
"gnippy/test/test_rules.py::RulesTestCase::test_generate_delete_url_with_query"
] | [] | [
"gnippy/test/test_rules.py::RulesTestCase::test_add_many_rules_no_creds",
"gnippy/test/test_rules.py::RulesTestCase::test_add_many_rules_not_ok",
"gnippy/test/test_rules.py::RulesTestCase::test_add_many_rules_ok",
"gnippy/test/test_rules.py::RulesTestCase::test_add_one_rule_no_creds",
"gnippy/test/test_rule... | [] | Apache License 2.0 | 400 | ||
docker__docker-py-911 | 446e6d08dd569194a27bb354a184b7d94ecf5e48 | 2016-01-29 00:27:19 | 4c34be5d4ab8a5a017950712e9c96b56d78d1c58 | diff --git a/docker/client.py b/docker/client.py
index fb186cc7..7d1f7c46 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -45,17 +45,17 @@ class Client(
timeout=constants.DEFAULT_TIMEOUT_SECONDS, tls=False):
super(Client, self).__init__()
- if tls and (not base_url or not bas... | Problem when using the DOCKER_HOST variable in combination with docker-compose and https://
Hi,
I'm trying to use docker & docker-compose with the DOCKER_HOST env-variable to control a remote docker-host.
at first I configured the variables on the docker client machine as follows:
export DOCKER_CERT_PATH=/... | docker/docker-py | diff --git a/tests/unit/utils_test.py b/tests/unit/utils_test.py
index 83d2a98d..63ea10e7 100644
--- a/tests/unit/utils_test.py
+++ b/tests/unit/utils_test.py
@@ -360,6 +360,11 @@ class ParseHostTest(base.BaseTestCase):
assert parse_host(val, 'win32') == tcp_port
+ def test_parse_host_tls(self):
+ ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 2
} | 1.7 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path... | -e git+https://github.com/docker/docker-py.git@446e6d08dd569194a27bb354a184b7d94ecf5e48#egg=docker_py
exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
requests==2.5.3
six==1.17.0
tomli==2.2.1
websocket_client==0.32.0
| name: docker-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/unit/utils_test.py::ParseHostTest::test_parse_host_tls"
] | [] | [
"tests/unit/utils_test.py::HostConfigTest::test_create_endpoint_config_with_aliases",
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types",
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_no_options",
"tests/unit/utils_test.py::HostConfigTest::test_creat... | [] | Apache License 2.0 | 401 | ||
networkx__networkx-1963 | ec6dfae2aaebbbbf0a4620002ab795efa6430c25 | 2016-01-29 18:00:19 | ec6dfae2aaebbbbf0a4620002ab795efa6430c25 | diff --git a/networkx/algorithms/core.py b/networkx/algorithms/core.py
index 2091bb97f..c98c7d77c 100644
--- a/networkx/algorithms/core.py
+++ b/networkx/algorithms/core.py
@@ -4,30 +4,41 @@
# Pieter Swart <swart@lanl.gov>
# All rights reserved.
# BSD license.
+#
+# Authors: Dan Schult (dschult@colgate.edu)... | k-core algorithm produces incorrect output for DiGraph
As per title, calling `nx.k_core(G, k = x)` does not return the x-core of a graph, if `G` is a `DiGraph`.
See attached file.
[6954_2011.txt](https://github.com/networkx/networkx/files/105086/6954_2011.txt)
To reproduce, run:
```python
import netw... | networkx/networkx | diff --git a/networkx/algorithms/tests/test_core.py b/networkx/algorithms/tests/test_core.py
index 48399aeed..7119159c8 100644
--- a/networkx/algorithms/tests/test_core.py
+++ b/networkx/algorithms/tests/test_core.py
@@ -2,8 +2,8 @@
from nose.tools import *
import networkx as nx
-class TestCore:
+class TestCore:
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 1
} | 1.112 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y libgdal-dev graphviz"
],
"pyth... | attrs==22.2.0
certifi==2021.5.30
decorator==5.1.1
importlib-metadata==4.8.3
iniconfig==1.1.1
-e git+https://github.com/networkx/networkx.git@ec6dfae2aaebbbbf0a4620002ab795efa6430c25#egg=networkx
nose==1.3.7
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
tomli==1.2.3
typing_extensions==4.1.1
zip... | name: networkx
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- l... | [
"networkx/algorithms/tests/test_core.py::TestCore::test_directed_find_cores"
] | [
"networkx/algorithms/tests/test_core.py::TestCore::test_find_cores",
"networkx/algorithms/tests/test_core.py::TestCore::test_core_number",
"networkx/algorithms/tests/test_core.py::TestCore::test_find_cores2",
"networkx/algorithms/tests/test_core.py::TestCore::test_main_core",
"networkx/algorithms/tests/test... | [
"networkx/algorithms/tests/test_core.py::TestCore::test_trivial"
] | [] | BSD 3-Clause | 403 | ||
falconry__falcon-698 | 4f5d704c6f2ffa168846641afb8acad1101ee394 | 2016-01-29 23:52:19 | b78ffaac7c412d3b3d6cd3c70dd05024d79d2cce | jmvrbanac: lgtm :+1: | diff --git a/doc/api/cookies.rst b/doc/api/cookies.rst
index 84d8669..69c89d8 100644
--- a/doc/api/cookies.rst
+++ b/doc/api/cookies.rst
@@ -84,7 +84,7 @@ You can also instruct the client to remove a cookie with the
# Clear the bad cookie
resp.unset_cookie('bad_cookie')
-.. _cookie-secure-at... | Missing Content-Type on 404 Response
Greetings,
I've started [testing my webapps with wsgiref.validate](http://blog.dscpl.com.au/2015/05/returning-string-as-iterable-from-wsgi.html), and discovered that Falcon's 404 responses (and possible others) don't conform to the WSGI spec. The `Content-Type` header is require... | falconry/falcon | diff --git a/doc/api/testing.rst b/doc/api/testing.rst
new file mode 100644
index 0000000..5f4d4b5
--- /dev/null
+++ b/doc/api/testing.rst
@@ -0,0 +1,28 @@
+.. _testing:
+
+Testing
+=======
+
+.. autoclass:: falcon.testing.TestCase
+ :members:
+
+.. autoclass:: falcon.testing.Result
+ :members:
+
+.. autoclass:: ... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 1
},
"num_... | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"coverage",
"ddt",
"pyyaml",
"requests",
"testtools",
"pytest"
],
"pre_install": [
"a... | certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
ddt==1.7.2
exceptiongroup==1.2.2
-e git+https://github.com/falconry/falcon.git@4f5d704c6f2ffa168846641afb8acad1101ee394#egg=falcon
idna==3.10
iniconfig==2.1.0
nose==1.3.7
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
python-mimeparse==2.0.0
PyYAML==6.0.2
reques... | name: falcon
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_after_hooks.py::TestHooks::test_output_validator",
"tests/test_after_hooks.py::TestHooks::test_wrapped_resource",
"tests/test_after_hooks.py::TestHooks::test_wrapped_resource_with_hooks_aware_of_resource",
"tests/test_after_hooks.py::TestGlobalHooks::test_global_after_hooks_run_after_exception",
... | [
"tests/test_utils.py::TestFalconUtils::test_deprecated_decorator"
] | [
"tests/test_after_hooks.py::TestHooks::test_hook_as_callable_class",
"tests/test_after_hooks.py::TestHooks::test_serializer",
"tests/test_after_hooks.py::TestGlobalHooks::test_customized_options",
"tests/test_after_hooks.py::TestGlobalHooks::test_global_hook",
"tests/test_after_hooks.py::TestGlobalHooks::te... | [] | Apache License 2.0 | 404 | |
ifosch__accloudtant-52 | 71d752b9244ff84978a83413be84035a92d5c077 | 2016-01-30 11:16:12 | 71d752b9244ff84978a83413be84035a92d5c077 | diff --git a/accloudtant/aws/reports.py b/accloudtant/aws/reports.py
index 26af2d1..905018e 100644
--- a/accloudtant/aws/reports.py
+++ b/accloudtant/aws/reports.py
@@ -16,10 +16,13 @@ class Reports(object):
def find_reserved_instance(self):
for instance in self.instances:
- instance.current ... | Add price information to EC2 instances information
<!---
@huboard:{"order":6.0732421875,"milestone_order":0.09375,"custom_state":""}
-->
| ifosch/accloudtant | diff --git a/tests/aws/report_expected.txt b/tests/aws/report_expected.txt
index 928efa2..f2bbb8b 100644
--- a/tests/aws/report_expected.txt
+++ b/tests/aws/report_expected.txt
@@ -1,9 +1,9 @@
-Id Name Type AZ OS State Launch time Reserved
----------- -... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 2
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": [
... | -e git+https://github.com/ifosch/accloudtant.git@71d752b9244ff84978a83413be84035a92d5c077#egg=accloudtant
boto3==1.37.23
botocore==1.37.23
certifi==2025.1.31
charset-normalizer==3.4.1
click==8.1.8
exceptiongroup==1.2.2
idna==3.10
iniconfig==2.1.0
jmespath==1.0.1
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
python-dateut... | name: accloudtant
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-... | [
"tests/aws/test_reports.py::test_reports"
] | [] | [
"tests/aws/test_instance.py::test_instance",
"tests/aws/test_instance.py::test_guess_os",
"tests/aws/test_instance.py::test_match_reserved_instance",
"tests/aws/test_prices.py::test_process_ec2",
"tests/aws/test_prices.py::test_process_model",
"tests/aws/test_prices.py::test_process_generic",
"tests/aws... | [] | null | 405 | ||
guykisel__inline-plz-28 | 59cb7f9721ca3390fa31c48583e786e3728e8f1a | 2016-01-31 22:54:38 | 59cb7f9721ca3390fa31c48583e786e3728e8f1a | diff --git a/inlineplz/linters/__init__.py b/inlineplz/linters/__init__.py
index f4b0a73..420508e 100644
--- a/inlineplz/linters/__init__.py
+++ b/inlineplz/linters/__init__.py
@@ -13,7 +13,7 @@ from inlineplz import parsers
LINTERS = {
'prospector': {
'install': ['pip', 'install', 'prospector'],
- ... | refactor prospector parser to use json formatter | guykisel/inline-plz | diff --git a/tests/parsers/test_prospector.py b/tests/parsers/test_prospector.py
index f673b81..fbba037 100644
--- a/tests/parsers/test_prospector.py
+++ b/tests/parsers/test_prospector.py
@@ -17,14 +17,12 @@ prospector_path = os.path.join(
def test_prospector():
with open(prospector_path) as inputfile:
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 2
},
"num_modified_files": 2
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"numpy>=1.16.0",
"pandas>=1.0.0",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y... | certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
cryptography==44.0.2
exceptiongroup==1.2.2
github3.py==4.0.1
idna==3.10
iniconfig==2.1.0
-e git+https://github.com/guykisel/inline-plz.git@59cb7f9721ca3390fa31c48583e786e3728e8f1a#egg=inlineplz
numpy==2.0.2
packaging==24.2
pandas==2.2.3
pluggy==1.5.0
pycparser==... | name: inline-plz
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/parsers/test_prospector.py::test_prospector"
] | [] | [] | [] | ISC License | 407 | ||
guykisel__inline-plz-29 | 3cfa8f2c3f0fd814c105ca4d51f0727659a45fa8 | 2016-01-31 23:15:58 | 3cfa8f2c3f0fd814c105ca4d51f0727659a45fa8 | diff --git a/inlineplz/interfaces/github.py b/inlineplz/interfaces/github.py
index 005b8ff..4dd4397 100644
--- a/inlineplz/interfaces/github.py
+++ b/inlineplz/interfaces/github.py
@@ -26,14 +26,14 @@ class GitHubInterface(InterfaceBase):
def post_messages(self, messages):
messages_to_post = 0
fo... | move message formatting logic from message module into interface modules | guykisel/inline-plz | diff --git a/tests/parsers/test_eslint.py b/tests/parsers/test_eslint.py
index d8e765b..289099d 100644
--- a/tests/parsers/test_eslint.py
+++ b/tests/parsers/test_eslint.py
@@ -15,7 +15,7 @@ eslint_path = os.path.join(
def test_eslint():
with open(eslint_path) as inputfile:
- messages = eslint.ESLintPars... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 3,
"test_score": 2
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.5",
"reqs_path": null,
... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
cryptography==40.0.2
github3.py==3.2.0
idna==3.10
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_16109830196... | name: inline-plz
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- import... | [
"tests/parsers/test_eslint.py::test_eslint",
"tests/parsers/test_jscs.py::test_jscs",
"tests/parsers/test_jshint.py::test_jshint",
"tests/parsers/test_prospector.py::test_prospector"
] | [] | [] | [] | ISC License | 408 | ||
JonathonReinhart__scuba-42 | 9aa705d7d0419f1930ae034e2210d69f66f5bf2a | 2016-02-01 13:01:13 | 9aa705d7d0419f1930ae034e2210d69f66f5bf2a | diff --git a/scuba/__main__.py b/scuba/__main__.py
index 57f8671..4a54fae 100755
--- a/scuba/__main__.py
+++ b/scuba/__main__.py
@@ -217,7 +217,7 @@ def main(argv=None):
if g_verbose or scuba_args.dry_run:
appmsg('Docker command line:')
- print(format_cmdline(run_args))
+ print('$ ' + form... | utils.format_cmdline misses last line
It appears that utils.format_cmdline fails to yield the last accumulated line.
This also means that a better test could be written, which splits the result back out, and compares it to the list of input arguments. | JonathonReinhart/scuba | diff --git a/tests/test_utils.py b/tests/test_utils.py
new file mode 100644
index 0000000..ff9ad97
--- /dev/null
+++ b/tests/test_utils.py
@@ -0,0 +1,49 @@
+from __future__ import print_function
+
+from nose.tools import *
+from unittest import TestCase
+
+import logging
+import shlex
+from itertools import chain
+
+fr... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 1
},
"num_modified_files": 2
} | 1.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.5",
"re... | attrs==22.2.0
certifi==2021.5.30
coverage==3.7.1
importlib-metadata==4.8.3
iniconfig==1.1.1
nose==1.3.7
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
PyYAML==6.0.1
-e git+https://github.com/JonathonReinhart/scuba.git@9aa705d7d0419f1930ae034e2210d69f66f5bf2a#egg=SCUBA
tomli==1.2.3
typing_extens... | name: scuba
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libf... | [
"tests/test_utils.py::TestUtils::test_basic"
] | [] | [] | [] | MIT License | 409 | ||
geowurster__tinymr-17 | 5dbf46845a8caba995916f76d1e681860f1e198f | 2016-02-02 06:14:38 | 5dbf46845a8caba995916f76d1e681860f1e198f | diff --git a/.travis.yml b/.travis.yml
index 8813f7b..04f68af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,7 @@ python:
- pypy3
install:
+ - pip install pip setuptools --upgrade
- pip install -e .\[dev\]
script:
diff --git a/tinymr/_mrtools.py b/tinymr/_mrtools.py
index 1a200db..ce3f9ef 100644
-... | ReduceJob().chunksize is populated with reduce_jobs | geowurster/tinymr | diff --git a/tests/test_base.py b/tests/test_base.py
index 7468888..47309ac 100644
--- a/tests/test_base.py
+++ b/tests/test_base.py
@@ -5,6 +5,7 @@ Unittests for tinymr.base
import pytest
+from tinymr import _mrtools
from tinymr import base
from tinymr import errors
@@ -36,6 +37,48 @@ def test_default_methods... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 3,
"test_score": 2
},
"num_modified_files"... | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --col... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
charset-normalizer==2.0.12
coverage==6.2
coveralls==3.3.1
docopt==0.6.2
idna==3.10
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work... | name: tinymr
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- importlib-... | [
"tests/test_base.py::test_reduce_job_confs"
] | [] | [
"tests/test_base.py::test_not_implemented_methods",
"tests/test_base.py::test_default_settings",
"tests/test_base.py::test_default_methods"
] | [] | New BSD License | 410 | ||
mmerickel__pyramid_services-12 | 85f423102ec14195698b1e44b12fccf30650679d | 2016-02-03 20:48:38 | 85f423102ec14195698b1e44b12fccf30650679d | diff --git a/CHANGES.txt b/CHANGES.txt
index 8d05981..6240712 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,8 +1,21 @@
unreleased
==========
+Backward Incompatibilities
+--------------------------
+
- Drop Python 3.2 support.
+- Use the original service context interface as the cache key instead
+ of the cur... | Singleton per request object
One issue I ran into with your **dbsession** service example (that uses a service factory) is the following:
When looking for the service different sessions are returned depending on the context. This is by design. Citing the documentation:
> The factory will be used at most once per ... | mmerickel/pyramid_services | diff --git a/pyramid_services/tests/test_it.py b/pyramid_services/tests/test_it.py
index 1e482a3..5abeec3 100644
--- a/pyramid_services/tests/test_it.py
+++ b/pyramid_services/tests/test_it.py
@@ -256,6 +256,25 @@ class TestIntegration_register_service_factory(unittest.TestCase):
self.assertEqual(resp.body, b'... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 1
},
"num_modified_files": 2
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[testing]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.5",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line -... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
beautifulsoup4==4.12.3
certifi==2021.5.30
coverage==6.2
hupper==1.10.3
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
more-itertools @ file:///tmp/b... | name: pyramid_services
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ... | [
"pyramid_services/tests/test_it.py::TestIntegration_register_service_factory::test_context_does_not_affect_cache"
] | [] | [
"pyramid_services/tests/test_it.py::TestIntegration_register_service::test_context_sensitive",
"pyramid_services/tests/test_it.py::TestIntegration_register_service::test_iface",
"pyramid_services/tests/test_it.py::TestIntegration_register_service::test_introspectable",
"pyramid_services/tests/test_it.py::Test... | [] | MIT License | 411 | ||
networkx__networkx-1976 | 293632863d5e895691b56dff4b12c937b2ea77dc | 2016-02-05 18:54:35 | 3f4fd85765bf2d88188cfd4c84d0707152e6cd1e | diff --git a/networkx/algorithms/connectivity/kcutsets.py b/networkx/algorithms/connectivity/kcutsets.py
index 2ad8bdfb4..c3457139a 100644
--- a/networkx/algorithms/connectivity/kcutsets.py
+++ b/networkx/algorithms/connectivity/kcutsets.py
@@ -3,6 +3,7 @@
Kanevsky all minimum node k cutsets algorithm.
"""
from oper... | all_node_cuts returns too few and incorrect cuts.
This could be a documentation issue, a bug or a user understanding issue. Are these cases pathological for the algorithm?
Given a square graph:
a -- b
| |
c -- d
Based on a cursory reading of the documentation, I would have expected all_node... | networkx/networkx | diff --git a/networkx/algorithms/connectivity/tests/test_kcutsets.py b/networkx/algorithms/connectivity/tests/test_kcutsets.py
index e11547faf..9ca49698a 100644
--- a/networkx/algorithms/connectivity/tests/test_kcutsets.py
+++ b/networkx/algorithms/connectivity/tests/test_kcutsets.py
@@ -241,3 +241,27 @@ def test_non_r... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 1
},
"num_modified_files": 1
} | help | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"nose",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y libgdal-dev graphviz"
],
"pyth... | attrs==22.2.0
certifi==2021.5.30
decorator==5.1.1
importlib-metadata==4.8.3
iniconfig==1.1.1
-e git+https://github.com/networkx/networkx.git@293632863d5e895691b56dff4b12c937b2ea77dc#egg=networkx
nose==1.3.7
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
tomli==1.2.3
typing_extensions==4.1.1
zip... | name: networkx
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- l... | [
"networkx/algorithms/connectivity/tests/test_kcutsets.py::test_cycle_graph",
"networkx/algorithms/connectivity/tests/test_kcutsets.py::test_complete_graph"
] | [] | [
"networkx/algorithms/connectivity/tests/test_kcutsets.py::test_torrents_and_ferraro_graph",
"networkx/algorithms/connectivity/tests/test_kcutsets.py::test_example_1",
"networkx/algorithms/connectivity/tests/test_kcutsets.py::test_random_gnp",
"networkx/algorithms/connectivity/tests/test_kcutsets.py::test_shel... | [] | BSD 3-Clause | 412 | ||
unified-font-object__ufoNormalizer-23 | f14d55967d4621114ff598a4407ee839f5387ff4 | 2016-02-06 21:19:33 | f14d55967d4621114ff598a4407ee839f5387ff4 | anthrotype: thank you Denis! This looks much better than my hotfix :+1:
can you remind me why we can't read/write plist files as unicode strings and we need to use bytes? | diff --git a/normalization/ufonormalizer.py b/normalization/ufonormalizer.py
index 7d0fa56..c4f15fb 100644
--- a/normalization/ufonormalizer.py
+++ b/normalization/ufonormalizer.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
-from __future__ import print_function
+from __future__ import print_funct... | String encoding issue
When using the latest version, I am getting this error. It seems to relate to © symbol in font info area.
```
File "/Users/…/bin/FDK/Tools/osx/Python/Current/lib/python2.7/site-packages/ufonormalizer-0.1-py2.7.egg/ufonormalizer.py", line 109, in tobytes
return s.encode(encoding, errors)
... | unified-font-object/ufoNormalizer | diff --git a/normalization/test_ufonormalizer.py b/normalization/test_ufonormalizer.py
index 42957dc..6631c7d 100644
--- a/normalization/test_ufonormalizer.py
+++ b/normalization/test_ufonormalizer.py
@@ -11,10 +11,13 @@ from io import open
from xml.etree import cElementTree as ET
from ufonormalizer import (
nor... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_files": 1
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"coverage"
],
"pre_install": null,
"python": "3.4",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb... | attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
coverage==6.2
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
more-itertools @ file:///tmp/build/80754af9/more-itertools_163773355... | name: ufoNormalizer
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- attrs=21.4.0=pyhd3eb1b0_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- imp... | [
"normalization/test_ufonormalizer.py::SubpathTest::test_subpathReadFile",
"normalization/test_ufonormalizer.py::SubpathTest::test_subpathWriteFile"
] | [] | [
"normalization/test_ufonormalizer.py::UFONormalizerErrorTest::test_str",
"normalization/test_ufonormalizer.py::UFONormalizerTest::test_convert_plist_Element_to_object",
"normalization/test_ufonormalizer.py::UFONormalizerTest::test_normalizeFontInfoPlist_guidelines",
"normalization/test_ufonormalizer.py::UFONo... | [] | BSD-3-Clause | 413 | |
pika__pika-701 | c467ad22fb8f2fd2bc925fa59d3b082fd035302b | 2016-02-07 08:43:01 | f73f9bbaddd90b03583a6693f6158e56fbede948 | vitaly-krugl: @gmr, please take a look when you have a moment | diff --git a/docs/examples/asynchronous_publisher_example.rst b/docs/examples/asynchronous_publisher_example.rst
index e1267ad..6cba07c 100644
--- a/docs/examples/asynchronous_publisher_example.rst
+++ b/docs/examples/asynchronous_publisher_example.rst
@@ -162,7 +162,7 @@ publisher.py::
different parameter... | Connection blocked events do not get processed when calling `consume()`
If RabbitMQ is below a resource limit when I connect, the BlockingConnection can end up in a hanging state if I first publish a message and then directly go into `consume()`, even when using the `inactivity_timeout` parameter.
As far as I can se... | pika/pika | diff --git a/tests/acceptance/async_adapter_tests.py b/tests/acceptance/async_adapter_tests.py
index 9a44208..39446b8 100644
--- a/tests/acceptance/async_adapter_tests.py
+++ b/tests/acceptance/async_adapter_tests.py
@@ -15,6 +15,9 @@ import uuid
from pika import spec
from pika.compat import as_bytes
+import pika.c... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_added_files",
"has_many_modified_files",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 2
},
"num... | 0.10 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"yapf",
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc libev-dev"
],
"python... | attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
codecov==2.1.13
coverage==6.2
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
mock==5.2.0
nose==1.3.7
packaging==21.3
-e git+https://github.com/pika/pika.git@c467ad22fb8f2fd2bc925fa59d3b082fd035302b#egg=pika
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pyte... | name: pika
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libff... | [
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_close_with_channel_closed_exception",
"tests/unit/channel_tests.py::ChannelTests::test_on_close_warning",
"tests/unit/connection_tests.py::ConnectionTests::test_blocked_connection_timeout_teminates_connection",
"tests/unit/connection_test... | [
"tests/acceptance/blocking_adapter_test.py::TestCreateAndCloseConnection::test",
"tests/acceptance/blocking_adapter_test.py::TestMultiCloseConnection::test",
"tests/acceptance/blocking_adapter_test.py::TestConnectionContextManagerClosesConnection::test",
"tests/acceptance/blocking_adapter_test.py::TestConnect... | [
"tests/acceptance/blocking_adapter_test.py::TestConnectWithDownedBroker::test",
"tests/acceptance/blocking_adapter_test.py::TestDisconnectDuringConnectionProtocol::test",
"tests/unit/blocking_connection_tests.py::BlockingConnectionTests::test_channel",
"tests/unit/blocking_connection_tests.py::BlockingConnect... | [] | BSD 3-Clause "New" or "Revised" License | 416 | |
picovico__python-sdk-13 | 5bbb1e00f64eeeb87bc682afe2b535394b1dd682 | 2016-02-08 11:51:34 | 5bbb1e00f64eeeb87bc682afe2b535394b1dd682 | diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index ca7fe0a..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-*.pyc
-__pycache__
-.cache
-.tox
-.eggs
-*.egg-info
diff --git a/picovico/__init__.py b/picovico/__init__.py
index 81dadc4..7e14d3d 100644
--- a/picovico/__init__.py
+++ b/picovico/__init... | Categorize URL config based on API endpoints.
The URL endpoints should clearly define the workflow. They should be categorized. | picovico/python-sdk | diff --git a/tests/pv_api_test.py b/tests/pv_api_test.py
index 377a51a..e368fe8 100644
--- a/tests/pv_api_test.py
+++ b/tests/pv_api_test.py
@@ -13,7 +13,7 @@ class TestPicovicoAPI:
post_call = method_calls.get('post').copy()
with pytest.raises(pv_exceptions.PicovicoAPINotAllowed):
api.me... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_removed_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 3
},
"num_modified_files": 1
} | 2.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "",
"pip_packages": [
"pytest",
"mock"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": n... | certifi==2025.1.31
charset-normalizer==3.4.1
exceptiongroup==1.2.2
idna==3.10
iniconfig==2.1.0
mock==5.2.0
packaging==24.2
-e git+https://github.com/picovico/python-sdk.git@5bbb1e00f64eeeb87bc682afe2b535394b1dd682#egg=picovico
pluggy==1.5.0
pytest==8.3.5
requests==2.32.3
six==1.17.0
tomli==2.2.1
urllib3==2.3.0
| name: python-sdk
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-n... | [
"tests/pv_api_test.py::TestPicovicoAPI::test_auth_decoration",
"tests/pv_api_test.py::TestPicovicoAPI::test_api_proxy",
"tests/pv_api_test.py::TestPicovicoAPI::test_login_authenticate",
"tests/pv_base_test.py::TestPicovicoRequest::test_properties",
"tests/pv_base_test.py::TestPicovicoRequest::test_request_a... | [] | [] | [] | null | 417 | ||
SiftScience__sift-python-34 | a9993ecae67cc4804fd572cd3ef95ec9535758a2 | 2016-02-08 22:37:17 | a9993ecae67cc4804fd572cd3ef95ec9535758a2 | diff --git a/README.rst b/README.rst
index 30404c0..4d3f726 100644
--- a/README.rst
+++ b/README.rst
@@ -68,9 +68,9 @@ Here's an example:
"$payment_gateway" : "$braintree",
"$card_bin" : "542486",
"$card_last4" : "4444"
- },
- "$currency_code" : "USD",
- "$a... | Warnings cause TypeError
I'm seeing some TypeError exceptions, it seems that the new warnings / exception handling code has some issues?
```
...
File "tasks.py", line 296, in track_sift_event
response = sift_client.track(event_type, attrs)
File "/home/ubuntu/closeio/venv/local/lib/python2.7/site-packag... | SiftScience/sift-python | diff --git a/tests/client_test.py b/tests/client_test.py
index e2d57c0..1c0b43e 100644
--- a/tests/client_test.py
+++ b/tests/client_test.py
@@ -1,4 +1,5 @@
import datetime
+import warnings
import json
import mock
import sift
@@ -303,6 +304,41 @@ class TestSiftPythonClient(unittest.TestCase):
assert(re... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 2
},
"num_modified_files": 4
} | unknown | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --color=no... | certifi==2025.1.31
charset-normalizer==3.4.1
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work
idna==3.10
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
mock==5.2.0
packaging @ file:///croot/packaging_1734472117206/work
pluggy @ file:///croot/pluggy_1733169602837/work
pytest @ fi... | name: sift-python
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
-... | [
"tests/client_test.py::TestSiftPythonClient::test_exception_during_score_call",
"tests/client_test.py::TestSiftPythonClient::test_exception_during_track_call",
"tests/client_test.py::TestSiftPythonClient::test_exception_during_unlabel_call"
] | [] | [
"tests/client_test.py::TestSiftPythonClient::test_constructor_api_key",
"tests/client_test.py::TestSiftPythonClient::test_constructor_invalid_api_url",
"tests/client_test.py::TestSiftPythonClient::test_constructor_requires_valid_api_key",
"tests/client_test.py::TestSiftPythonClient::test_event_ok",
"tests/c... | [] | MIT License | 418 | ||
docker__docker-py-928 | 575305fdba6c57f06d605920e01b5e1d6b952d3e | 2016-02-09 00:47:19 | 4c34be5d4ab8a5a017950712e9c96b56d78d1c58 | diff --git a/docker/utils/utils.py b/docker/utils/utils.py
index 4404c217..61e5a8dc 100644
--- a/docker/utils/utils.py
+++ b/docker/utils/utils.py
@@ -128,7 +128,13 @@ def exclude_paths(root, patterns, dockerfile=None):
paths = get_paths(root, exclude_patterns, include_patterns,
has_exceptio... | [1.7] regression in .dockerignore handling
If the `Dockerfile` is being ignored by a path in the `.dockerignore` file, it is incorrectly being removed from the context. There is a special case handling when the file is being excluded directly, but it should also apply when there is a path which includes the `Dockerfile... | docker/docker-py | diff --git a/tests/unit/utils_test.py b/tests/unit/utils_test.py
index df29b9d3..a0a96bbe 100644
--- a/tests/unit/utils_test.py
+++ b/tests/unit/utils_test.py
@@ -736,6 +736,7 @@ class ExcludePathsTest(base.BaseTestCase):
'foo/b.py',
'foo/bar/a.py',
'bar/a.py',
+ 'foo/Dockerfile3',
... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 1
} | 1.7 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio"
],
"pre_install": [
"apt-get update",
"apt-get instal... | attrs==22.2.0
certifi==2021.5.30
coverage==6.2
-e git+https://github.com/docker/docker-py.git@575305fdba6c57f06d605920e01b5e1d6b952d3e#egg=docker_py
execnet==1.9.0
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
pytest-asyncio==0.16.0
pytest-cov==4.0.0
... | name: docker-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- ... | [
"tests/unit/utils_test.py::ExcludePathsTest::test_exclude_custom_dockerfile",
"tests/unit/utils_test.py::ExcludePathsTest::test_exclude_dockerfile_child"
] | [
"tests/unit/utils_test.py::SSLAdapterTest::test_only_uses_tls"
] | [
"tests/unit/utils_test.py::HostConfigTest::test_create_endpoint_config_with_aliases",
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_invalid_cpu_cfs_types",
"tests/unit/utils_test.py::HostConfigTest::test_create_host_config_no_options",
"tests/unit/utils_test.py::HostConfigTest::test_creat... | [] | Apache License 2.0 | 419 | ||
docker__docker-py-929 | 575305fdba6c57f06d605920e01b5e1d6b952d3e | 2016-02-09 02:18:57 | 4c34be5d4ab8a5a017950712e9c96b56d78d1c58 | dnephin: LGTM | diff --git a/docker/auth/auth.py b/docker/auth/auth.py
index 399dae2b..eedb7944 100644
--- a/docker/auth/auth.py
+++ b/docker/auth/auth.py
@@ -46,7 +46,7 @@ def resolve_repository_name(repo_name):
def resolve_index_name(index_name):
index_name = convert_to_hostname(index_name)
- if index_name == 'index.'+IND... | Using a docker/config.json file causes "TypeError: string indices must be integers"
Using a ~/.docker/config.json file causes docker-compose to output a Python error. @dnephin in https://github.com/docker/compose/issues/2697#issuecomment-172936366 suggests that this is an issue to be raised with the docker-py project i... | docker/docker-py | diff --git a/tests/unit/auth_test.py b/tests/unit/auth_test.py
index 3fba602c..921aae00 100644
--- a/tests/unit/auth_test.py
+++ b/tests/unit/auth_test.py
@@ -433,3 +433,32 @@ class LoadConfigTest(base.Cleanup, base.BaseTestCase):
self.assertEqual(cfg['Name'], 'Spike')
self.assertEqual(cfg['... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_hunks",
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 1
},
"num_modified_files": 1
} | 1.7 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio"
],
"pre_install": null,
"python": "3.9",
"reqs_path"... | coverage==7.8.0
-e git+https://github.com/docker/docker-py.git@575305fdba6c57f06d605920e01b5e1d6b952d3e#egg=docker_py
exceptiongroup==1.2.2
execnet==2.1.1
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-mock==3.14.0
pytest-xdist==3.6.1
requests==2.5.3
six==1.... | name: docker-py
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"tests/unit/auth_test.py::LoadConfigTest::test_load_config_invalid_auth_dict",
"tests/unit/auth_test.py::LoadConfigTest::test_load_config_unknown_keys"
] | [] | [
"tests/unit/auth_test.py::RegressionTest::test_803_urlsafe_encode",
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_hub_index_library_image",
"tests/unit/auth_test.py::ResolveRepositoryNameTest::test_explicit_legacy_hub_index_library_image",
"tests/unit/auth_test.py::ResolveRepositoryNameTe... | [] | Apache License 2.0 | 420 | |
adamchainz__pretty-cron-11 | ec7be5a9f853342ded46342eb90fdc0c69c06f68 | 2016-02-09 18:37:29 | ec7be5a9f853342ded46342eb90fdc0c69c06f68 | diff --git a/HISTORY.rst b/HISTORY.rst
index 985360a..7b57b97 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -7,6 +7,8 @@ Pending Release
---------------
* New release notes here
+* Now interprets day 7 as Sunday as well as 0, like Linux crontab parsers -
+ thanks @vetyy.
1.0.0 (2015-07-28)
------------------
d... | Missing key in _WEEKDAYS
Hello,
linux crontab allows users to set sunday as 0 or 7 (its same for crontab parser). When I was parsing some of my users cron settings I got key_error exception when they were using this syntax (7 as for sunday), you might consider adding this. (I have currently monkey patched that for t... | adamchainz/pretty-cron | diff --git a/tests/test_prettify.py b/tests/test_prettify.py
index cec1af2..df46049 100644
--- a/tests/test_prettify.py
+++ b/tests/test_prettify.py
@@ -28,6 +28,9 @@ class PrettyCronTest(unittest.TestCase):
def test_weekly(self):
assert pc("0 0 * * 0") == "At 00:00 every Sunday"
+ def test_day_7_is_... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 0
},
"num_modified_files": 2
} | 1.0 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": null,
"pre_install": null,
"python": "3.5",
"reqs_path": [
"requirements.txt"
],
"test_cmd": "pytest --no-header... | bleach==4.1.0
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
colorama==0.4.5
coverage==6.2
cryptography==40.0.2
docutils==0.18.1
idna==3.10
importlib-metadata==4.8.3
importlib-resources==5.4.0
jeepney==0.7.1
keyring==23.4.1
packaging==21.3
pkginfo==1.10.0
-e git+https://github.com/adamchainz/pretty-cron.git... | name: pretty-cron
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
... | [
"tests/test_prettify.py::PrettyCronTest::test_day_7_is_sunday"
] | [] | [
"tests/test_prettify.py::PrettyCronTest::test_continuous",
"tests/test_prettify.py::PrettyCronTest::test_daily",
"tests/test_prettify.py::PrettyCronTest::test_every_day_in_month",
"tests/test_prettify.py::PrettyCronTest::test_every_specific_day_in_month",
"tests/test_prettify.py::PrettyCronTest::test_every_... | [] | MIT License | 421 | ||
box__box-python-sdk-114 | 8b6afa5cdecd1b622658542c0f4eb5e003a37258 | 2016-02-10 21:46:38 | 98f1b812cdcf53276a369213f5cb59bfb2d0e545 | diff --git a/HISTORY.rst b/HISTORY.rst
index 5c9f373..2194c18 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -6,6 +6,11 @@ Release History
Upcoming
++++++++
+1.4.1 (2016-02-11)
+++++++++++++++++++
+
+- Files now support getting a direct download url.
+
1.4.0 (2016-01-05)
++++++++++++++++++
diff --git a/boxsdk/ob... | Add support for getting file shared link download URLs
The [get_shared_link()](https://github.com/box/box-python-sdk/blob/master/boxsdk/object/item.py#L162) method returns:
```python
return item.shared_link['url']
```
However sometimes there may be a use case for getting a **direct link** to a file, which shoul... | box/box-python-sdk | diff --git a/test/unit/object/conftest.py b/test/unit/object/conftest.py
index 0d625af..65e3863 100644
--- a/test/unit/object/conftest.py
+++ b/test/unit/object/conftest.py
@@ -1,6 +1,7 @@
# coding: utf-8
from __future__ import unicode_literals
+from datetime import date
import os
from mock import Mock
import py... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_media",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 3
... | 1.4 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-xdist",
"mock",
"sqlalchemy",
"bottle",
"jsonpatch"
],
"pre_install": [
"a... | async-timeout==4.0.2
attrs==22.2.0
bottle==0.13.2
-e git+https://github.com/box/box-python-sdk.git@8b6afa5cdecd1b622658542c0f4eb5e003a37258#egg=boxsdk
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
cryptography==40.0.2
execnet==1.9.0
greenlet==2.0.2
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
json... | name: box-python-sdk
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0... | [
"test/unit/object/test_file.py::test_get_shared_link_download_url[open-shared_link_unshared_at0-hunter2-True-None]",
"test/unit/object/test_file.py::test_get_shared_link_download_url[open-shared_link_unshared_at0-hunter2-True-etag]",
"test/unit/object/test_file.py::test_get_shared_link_download_url[open-shared_... | [
"test/unit/object/test_file.py::test_update_contents_with_stream_does_preflight_check_if_specified[True-0-True]",
"test/unit/object/test_file.py::test_update_contents_with_stream_does_preflight_check_if_specified[True-0-False]",
"test/unit/object/test_file.py::test_update_contents_with_stream_does_preflight_che... | [
"test/unit/object/test_file.py::test_delete_file[None]",
"test/unit/object/test_file.py::test_delete_file[etag]",
"test/unit/object/test_file.py::test_download_to",
"test/unit/object/test_file.py::test_get_content",
"test/unit/object/test_file.py::test_update_contents[None-True-True-True]",
"test/unit/obj... | [] | Apache License 2.0 | 423 | ||
scieloorg__xylose-88 | 09b42b365b375904f5d7102277e3f4e4a3d59e7f | 2016-02-12 14:15:41 | 09b42b365b375904f5d7102277e3f4e4a3d59e7f | diff --git a/setup.py b/setup.py
index 7516cbd..d1e1950 100755
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ except ImportError:
setup(
name="xylose",
- version='0.42',
+ version='0.43',
description="A SciELO library to abstract a JSON data structure that is a product of the ISIS2JSON conversion usin... | Incluir metodo para recuperar subtitulo do periódico v110
Incluir metodo para recuperar subtitulo do periódico v110 (subtitle)
Incluir metodo para recuperar titulo do periódico concatenado com subtitulo do periódico v110 (full_title) | scieloorg/xylose | diff --git a/tests/test_document.py b/tests/test_document.py
index 6ade9eb..7405ad9 100644
--- a/tests/test_document.py
+++ b/tests/test_document.py
@@ -623,11 +623,47 @@ class JournalTests(unittest.TestCase):
def test_journal_title_nlm(self):
self.fulldoc['title']['v421'] = [{u'_': u'Acta Limnologica B... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 0
},
"num_modified_files"... | 0.42 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"pytest-cov"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc pandoc"
],
"pyt... | coverage==7.8.0
exceptiongroup==1.2.2
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
pytest-cov==6.0.0
tomli==2.2.1
-e git+https://github.com/scieloorg/xylose.git@09b42b365b375904f5d7102277e3f4e4a3d59e7f#egg=xylose
| name: xylose
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11... | [
"tests/test_document.py::JournalTests::test_journal_fulltitle",
"tests/test_document.py::JournalTests::test_journal_fulltitle_without_subtitle",
"tests/test_document.py::JournalTests::test_journal_fulltitle_without_title",
"tests/test_document.py::JournalTests::test_journal_subtitle",
"tests/test_document.p... | [] | [
"tests/test_document.py::ToolsTests::test_get_date_wrong_day",
"tests/test_document.py::ToolsTests::test_get_date_wrong_day_month",
"tests/test_document.py::ToolsTests::test_get_date_wrong_day_month_not_int",
"tests/test_document.py::ToolsTests::test_get_date_wrong_day_not_int",
"tests/test_document.py::Too... | [] | BSD 2-Clause "Simplified" License | 426 | ||
collective__icalendar-185 | 6888bbe02042cd65b12a6d855b527a964a4b823b | 2016-02-14 13:25:31 | 6888bbe02042cd65b12a6d855b527a964a4b823b | untitaker: Could be a property that checks bool value of `self.errors`.
stlaz: I would rather like to see it a property dependant on self.errors, too.
You could do something like:
~~~python
class Component:
@property
def is_broken(self):
return bool(self.errors)
~~~ | diff --git a/CHANGES.rst b/CHANGES.rst
index 5fbf217..405ebcb 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -11,6 +11,7 @@ New:
Fixes:
- Fix testsuite for use with ``dateutil>=2.5``. Refs #195.
+- Reintroduce cal.Component.is_broken that was removed with 3.9.2 [geier]
3.9.2 (2016-02-05)
diff --git a/src/icalen... | incompatible changes in 3.9.2
With 70a7b5a16748afbf0d48ca180c2b7613fdd7e7d0 we introduced some backwards incompatible changes:
* `Component.is_broken` got replaced with `Component.errors`
* events with a `RDATE;VALUE=PERIOD:19970101T180000Z/19970102T070000Z,19970109T180000Z/PT5H30M` component still had an `RDATE... | collective/icalendar | diff --git a/src/icalendar/tests/test_fixed_issues.py b/src/icalendar/tests/test_fixed_issues.py
index ae29535..6b375d3 100644
--- a/src/icalendar/tests/test_fixed_issues.py
+++ b/src/icalendar/tests/test_fixed_issues.py
@@ -200,6 +200,7 @@ X
END:VEVENT"""
event = icalendar.Calendar.from_ical(ical_str)
... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_git_commit_hash",
"has_many_modified_files"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 2
} | 3.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[test]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio"
],
"pre_install": null,
"python": "3.9",
"reqs_path... | alabaster==0.7.16
babel==2.17.0
certifi==2025.1.31
charset-normalizer==3.4.1
coverage==7.8.0
docutils==0.21.2
exceptiongroup==1.2.2
execnet==2.1.1
-e git+https://github.com/collective/icalendar.git@6888bbe02042cd65b12a6d855b527a964a4b823b#egg=icalendar
idna==3.10
imagesize==1.4.1
importlib_metadata==8.6.1
iniconfig==2.... | name: icalendar
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng... | [
"src/icalendar/tests/test_fixed_issues.py::TestIssues::test_issue_104__ignore_exceptions"
] | [] | [
"src/icalendar/tests/test_fixed_issues.py::TestIssues::test_index_error_issue",
"src/icalendar/tests/test_fixed_issues.py::TestIssues::test_issue_100",
"src/icalendar/tests/test_fixed_issues.py::TestIssues::test_issue_101",
"src/icalendar/tests/test_fixed_issues.py::TestIssues::test_issue_104__no_ignore_excep... | [] | BSD License | 430 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.