tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~
According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293
Change-Id: I496d3ffe65be13df80c29ac4582596be0aa4d909
			
			
This commit is contained in:
		
							
								
								
									
										1
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tox.ini
									
									
									
									
									
								
							@@ -51,7 +51,6 @@ deps =
 | 
				
			|||||||
commands = sphinx-build -W -b html doc/source doc/build/html
 | 
					commands = sphinx-build -W -b html doc/source doc/build/html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[testenv:pdf-docs]
 | 
					[testenv:pdf-docs]
 | 
				
			||||||
envdir = {toxworkdir}/docs
 | 
					 | 
				
			||||||
deps = {[testenv:docs]deps}
 | 
					deps = {[testenv:docs]deps}
 | 
				
			||||||
allowlist_externals =
 | 
					allowlist_externals =
 | 
				
			||||||
  make
 | 
					  make
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user