do not allow dev specs to be reused
This commit is contained in:
		| @@ -1668,13 +1668,15 @@ def define_installed_packages(self, specs, possible): | ||||
|         # Specs from local store | ||||
|         with spack.store.db.read_transaction(): | ||||
|             for spec in spack.store.db.query(installed=True): | ||||
|                 self._facts_from_concrete_spec(spec, possible) | ||||
|                 if not spec.satisfies('dev_path=*'): | ||||
|                     self._facts_from_concrete_spec(spec, possible) | ||||
| 
 | ||||
|         # Specs from configured buildcaches | ||||
|         try: | ||||
|             index = spack.binary_distribution.update_cache_and_get_specs() | ||||
|             for spec in index: | ||||
|                 self._facts_from_concrete_spec(spec, possible) | ||||
|                 if not spec.satisfies('dev_path=*'): | ||||
|                     self._facts_from_concrete_spec(spec, possible) | ||||
|         except (spack.binary_distribution.FetchCacheError, IndexError): | ||||
|             # this is raised when no mirrors had indices. | ||||
|             # TODO: update mirror configuration so it can indicate that the source cache | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gregory Becker
					Gregory Becker