forked from pool/python-trio
		
	Compare commits
	
		
			7 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| a5bcbad110 | |||
| 5398f6007a | |||
| b8d171346d | |||
| e880a436ae | |||
| 4268663a67 | |||
| 9ab2c162c6 | |||
| 87fafbf12b | 
| @@ -1,32 +0,0 @@ | ||||
| From c6e15249dc0cfe29bdbe6829ae4a3891aa147aa3 Mon Sep 17 00:00:00 2001 | ||||
| From: A5rocks <git@helvetica.moe> | ||||
| Date: Fri, 20 Jun 2025 10:13:37 -0400 | ||||
| Subject: [PATCH] Move away from RaisesContext | ||||
|  | ||||
| --- | ||||
|  src/trio/_tests/test_testing_raisesgroup.py | 5 +---- | ||||
|  1 file changed, 1 insertion(+), 4 deletions(-) | ||||
|  | ||||
| diff --git a/src/trio/_tests/test_testing_raisesgroup.py b/src/trio/_tests/test_testing_raisesgroup.py | ||||
| index b3fe2ae755..a42566d3ec 100644 | ||||
| --- a/src/trio/_tests/test_testing_raisesgroup.py | ||||
| +++ b/src/trio/_tests/test_testing_raisesgroup.py | ||||
| @@ -14,9 +14,6 @@ | ||||
|  if sys.version_info < (3, 11): | ||||
|      from exceptiongroup import BaseExceptionGroup, ExceptionGroup | ||||
|   | ||||
| -if TYPE_CHECKING: | ||||
| -    from _pytest.python_api import RaisesContext | ||||
| - | ||||
|   | ||||
|  def wrap_escape(s: str) -> str: | ||||
|      return "^" + re.escape(s) + "$" | ||||
| @@ -24,7 +21,7 @@ def wrap_escape(s: str) -> str: | ||||
|   | ||||
|  def fails_raises_group( | ||||
|      msg: str, add_prefix: bool = True | ||||
| -) -> RaisesContext[AssertionError]: | ||||
| +) -> pytest.RaisesExc[AssertionError]: | ||||
|      assert ( | ||||
|          msg[-1] != "\n" | ||||
|      ), "developer error, expected string should not end with newline" | ||||
| @@ -1,24 +1,3 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Thu Jul 17 20:26:22 UTC 2025 - Dirk Müller <dmueller@suse.com> | ||||
|  | ||||
| - add pyopenssl-25-1-compatibility.patch to ignore deprecation | ||||
|   warnings (from pyopenssl) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Jul  2 11:20:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> | ||||
|  | ||||
| - Update to 0.30.0 | ||||
|   * Add @trio.as_safe_channel, a wrapper that can be used to make async generators | ||||
|     safe. This will be the suggested fix for the flake8-async lint rule ASYNC900. (#3197) | ||||
|   * Allow trio to be a types.ModuleType and still have deprecated attributes. (#2135) | ||||
|   * Fixed socket module for some older systems which lack socket.AI_NUMERICSERV. | ||||
|   * Now trio works on legacy (pre-Lion) macOS. (#3133) | ||||
|   * Update type hints for trio.run_process and trio.lowlevel.open_process. (#3183) | ||||
|   * Don't mutate the global runner when MockClock is created. (#3205) | ||||
|   * Fix incorrect return type hint for Nursery.start(). (#3224) | ||||
|   * Update wording in documentation to more accurately reflect Trio's maturity. (#3216) | ||||
| - Update BuildRequires from pyproject.toml | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Mar  4 15:13:47 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> | ||||
|  | ||||
|   | ||||
| @@ -26,16 +26,15 @@ | ||||
| %endif | ||||
| %{?sle15_python_module_pythons} | ||||
| Name:           python-trio%{psuffix} | ||||
| Version:        0.30.0 | ||||
| Version:        0.29.0 | ||||
| Release:        0 | ||||
| Summary:        Python async/await-native I/O library | ||||
| License:        Apache-2.0 OR MIT | ||||
| URL:            https://github.com/python-trio/trio | ||||
| Source:         https://files.pythonhosted.org/packages/source/t/trio/trio-%{version}.tar.gz | ||||
| Patch1:         https://github.com/python-trio/trio/pull/3292/commits/c6e15249dc0cfe29bdbe6829ae4a3891aa147aa3.patch#/pyopenssl-25-1-compatibility.patch | ||||
| BuildRequires:  %{python_module base >= 3.8} | ||||
| BuildRequires:  %{python_module pip} | ||||
| BuildRequires:  %{python_module setuptools > 77} | ||||
| BuildRequires:  %{python_module setuptools} | ||||
| BuildRequires:  %{python_module wheel} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  netcfg | ||||
| @@ -85,7 +84,6 @@ sed -i '/\/usr\/bin\/env\ python3/d' src/trio/_tests/check_type_completeness.py | ||||
|  | ||||
| %check | ||||
| %if %{with test} | ||||
| export PYTEST_ADDOPTS="-W ignore::DeprecationWarning" | ||||
| # test_static_tool_sees_all_symbols uses jedi/pylint for static analysis, | ||||
| #   pointless for us. | ||||
| donttest="test_static_tool_sees_all_symbols" | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								trio-0.29.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								trio-0.29.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:0781c857c0c81f8f51e0089929a26b5bb63d57f927728a5586f7e36171f064df | ||||
| size 593776 | ||||
		Reference in New Issue
	
	Block a user