
    Cd                    ,    d dl mZ d dlmZ d dlZd ZdS )    )annotations)PathNc                    t          t                    j        j        j        } | dz  dz                                  st	          j        d           | dz  dz  dz  }| dz  dz  dz  }| dz  dz  dz  }d	|||fD ]V}t          |d
          5 }t          fd|D                       sJ  d|             	 ddd           n# 1 swxY w Y   WdS )zSWhen the environment.yaml changes in CI, make sure to change it in the docs as wellz.github	workflowsz+Test can only be run on an editable installdocssourcezdevelop.rstzadditional.ymlzupstream.ymlzenvironment-3.10.yamlutf8)encodingc              3      K   | ]}|v V  	d S )N ).0line
latest_envs     4lib/python3.11/site-packages/dask/tests/test_docs.py	<genexpr>z9test_development_guidelines_matches_ci.<locals>.<genexpr>   s9        '+
d"         z not found in N)r   __file__parentexistspytestskipopenany)root_dirdevelopment_doc_fileadditional_ci_fileupstream_ci_filefilenamefr   s         @r   &test_development_guidelines_matches_cir       sv   H~~$+2Hy ;.6688 CABBB#f,x7-G!I-;>NN)+k9NJ(J)+=?OP 7 7(V,,, 	7    /0     7 766H667 7 7 7	7 	7 	7 	7 	7 	7 	7 	7 	7 	7 	7 	7 	7 	7 	77 7s   +CC
	C
	)
__future__r   pathlibr   r   r    r   r   r   <module>r#      sK    " " " " " "       7 7 7 7 7r   