-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move virtual environment construction to root directory
The Protege catalog XML construction design involves review of the transitive `owl:imports` closure of UCO's graph files. To do this, RDFLib needs to be available in a Python virtual environment before descending into the `/ontology` directory. Before this patch, a virtual environment with RDFLib was constructed in `/tests` for testing, but not for other ontology-related maintenance. This patch moves the virtual environment construction to the UCO repository root directory, and sets the dependency order of `all` and `check` to include `/venv` being built before descent into `/ontology` and `/tests. All paths referencing `/tests/venv` under `/tests` have been updated. As one bit of code upgrading, the `PYTHON3` selector snippet, originally written before Python 3.10's release, now looks only for the default Python 3 if not supplied when calling Make (e.g. with `make PYTHON3=python3.11 check`). This patch isolates its effects to moving the virtual environment. A follow-on patch will integrate catalog construction using the new placement. References: * #449 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
- Loading branch information
1 parent
f44e360
commit 66d0c38
Showing
11 changed files
with
74 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
.*.ttl | ||
.git_submodule_init.done.log | ||
.lib.done.log | ||
.venv.done.log | ||
_* | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
.shapes.done.log | ||
.venv.done.log | ||
_* | ||
inheritance_review.ttl | ||
uco_monolithic.ttl | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters