 45b14be9b6
			
		
	
	
		45b14be9b6
		
	
	
	
	
		
			
			Python 3.13 is in beta and Fedora 41 is preparing to make it the default system interpreter; enable testing for it. (In the event problems develop prior to release, it should only impact the check-python-tox job, which is not run by default and is allowed to fail.) Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20240626232230.408004-5-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
		
			
				
	
	
		
			28 lines
		
	
	
		
			591 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			591 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| # Python library testing environment
 | |
| 
 | |
| FROM fedora:latest
 | |
| MAINTAINER John Snow <jsnow@redhat.com>
 | |
| 
 | |
| # Please keep this list sorted alphabetically
 | |
| ENV PACKAGES \
 | |
|     gcc \
 | |
|     make \
 | |
|     python3 \
 | |
|     python3-pip \
 | |
|     python3-tox \
 | |
|     python3-virtualenv \
 | |
|     python3.10 \
 | |
|     python3.11 \
 | |
|     python3.12 \
 | |
|     python3.13 \
 | |
|     python3.8 \
 | |
|     python3.9
 | |
| 
 | |
| RUN dnf install -y $PACKAGES
 | |
| RUN rpm -q $PACKAGES | sort > /packages.txt
 | |
| # As a final step configure the user (if env is defined)
 | |
| ARG USER
 | |
| ARG UID
 | |
| RUN if [ "${USER}" ]; then \
 | |
|   id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
 |