potiuk commented on PR #46891:
URL: https://github.com/apache/airflow/pull/46891#issuecomment-3065717958

   > When running S3 tests I see
   > 
   > ```
   > {"category": "DeprecationWarning", "message": "pathlib.Path.__enter__() is 
deprecated and scheduled for removal in Python 3.13; Path objects as a context 
manager is a no-op", "filename": 
"providers/amazon/src/airflow/providers/amazon/aws/hooks/s3.py", "lineno": 
1568, "when": "runtest", "node_id": 
"providers/amazon/tests/unit/amazon/aws/hooks/test_s3.py::TestAwsS3Hook::test_download_file",
 "param_id": null, "group": "providers", "count": 1}
   > {"category": "DeprecationWarning", "message": "pathlib.Path.__enter__() is 
deprecated and scheduled for removal in Python 3.13; Path objects as a context 
manager is a no-op", "filename": 
"providers/amazon/src/airflow/providers/amazon/aws/hooks/s3.py", "lineno": 
1568, "when": "runtest", "node_id": 
"providers/amazon/tests/unit/amazon/aws/hooks/test_s3.py::TestAwsS3Hook::test_download_file_exposes_lineage",
 "param_id": null, "group": "providers", "count": 1}
   > ```
   > 
   > So i think we may have some incompatibilities that we are not covering 
with tests as I would have expected test failure on 3.13 - I guess we can 
handle it seperatly
   
   Those line numbers do not match the line numbers from main so it's hard to 
say which tests and what is causing it. Are you sure you are running the latest 
main ? 
   
   "providers/amazon/src/airflow/providers/amazon/aws/hooks/s3.py", "lineno": 
1568, "when": "runtest", "node_id": 
"providers/amazon/tests/unit/amazon/aws/hooks/test_s3.py::TestAwsS3Hook::test_download_file_exposes_lineage",
 "param_id": null, "group": "providers", "count": 1}
   > ```
   
   That does not match the method that we see in main:
   
   <img width="1143" height="445" alt="Screenshot 2025-07-12 at 17 49 40" 
src="https://github.com/user-attachments/assets/9600ed06-60a4-4913-9545-3ea5c944219d";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to