Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8d466db080 
								
							 
						 
						
							
							
								
								Avoid writing invalid PEP 723 scripts on tool.uv.sources ( #6706 )  
							
							 
							
							... 
							
							
							
							## Summary
We were writing empty lines between the dependencies and the
`tool.uv.sources` table, which led to the `/// script` tag being
unclosed and thus not recognized.
Closes https://github.com/astral-sh/uv/issues/6700 . 
							
						 
						
							2024-08-27 17:49:08 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a8f4e08d5b 
								
							 
						 
						
							
							
								
								Warn on unclosed script tags ( #6704 )  
							
							 
							
							... 
							
							
							
							Should this be user-facing by default? It seems annoying because then
it's unavoidable if you (for whatever reason) have an intentionally
unclosed tag.
Motivated by https://github.com/astral-sh/uv/issues/6700 . 
							
						 
						
							2024-08-27 17:47:11 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1377c6807d 
								
							 
						 
						
							
							
								
								Avoid adding extra newline for script with non-empty prelude ( #6366 )  
							
							 
							
							... 
							
							
							
							Closes  #6364  
							
						 
						
							2024-08-21 16:57:08 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5c44937742 
								
							 
						 
						
							
							
								
								Misc. edits to script parsing ( #5999 )  
							
							 
							
							
							
						 
						
							2024-08-10 22:07:05 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ahmed Ilyas 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2d53e35e39 
								
							 
						 
						
							
							
								
								Support PEP 723 scripts in uv add and uv remove ( #5995 )  
							
							 
							
							... 
							
							
							
							## Summary
Resolves https://github.com/astral-sh/uv/issues/4667 
## Test Plan
`cargo test` 
							
						 
						
							2024-08-11 01:40:59 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f10c28225c 
								
							 
						 
						
							
							
								
								Support tool.uv in PEP 723 scripts ( #5990 )  
							
							 
							
							... 
							
							
							
							## Summary
This includes both _settings_ and _sources.
Closes https://github.com/astral-sh/uv/issues/5855 . 
							
						 
						
							2024-08-09 23:11:10 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3ae75a21aa 
								
							 
						 
						
							
							
								
								Support empty dependencies in PEP 723 scripts ( #5864 )  
							
							 
							
							... 
							
							
							
							## Summary
Closes https://github.com/astral-sh/uv/issues/5859 . 
							
						 
						
							2024-08-07 10:56:05 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								24859bd3ee 
								
							 
						 
						
							
							
								
								Upgrade to Rust 1.80.0 ( #5472 )  
							
							 
							
							
							
						 
						
							2024-07-27 01:49:47 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Charlie Marsh 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bfadadefaf 
								
							 
						 
						
							
							
								
								Add PEP 723 support to uv run ( #4656 )  
							
							 
							
							... 
							
							
							
							Closes  #3096  
## Summary
Enables `uv run foo.py` to execute PEP 723-compatible scripts.
For example, given:
```python
# /// script
# requires-python = ">=3.11"
# dependencies = [
#   "requests<3",
#   "rich",
# ]
# ///
import requests
from rich.pretty import pprint
resp = requests.get("https://peps.python.org/api/peps.json ")
data = resp.json()
pprint([(k, v["title"]) for k, v in data.items()][:10])
```
 
							
						 
						
							2024-07-01 08:20:24 -04:00