-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecating import via 'peakrdl.uvm' namespace package. #14
- Loading branch information
Showing
22 changed files
with
118 additions
and
114 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
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,2 +1,2 @@ | ||
recursive-include peakrdl/uvm/templates * | ||
recursive-exclude test * | ||
recursive-include src/peakrdl_uvm/templates * | ||
recursive-exclude test * |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import warnings | ||
|
||
# Load modules | ||
from peakrdl_uvm import __about__ | ||
from peakrdl_uvm import exporter | ||
from peakrdl_uvm import pre_export_listener | ||
|
||
# hoist internal objects | ||
from peakrdl_uvm.__about__ import __version__ | ||
from peakrdl_uvm.exporter import UVMExporter | ||
|
||
warnings.warn( | ||
""" | ||
================================================================================ | ||
Importing via namespace package 'peakrdl.uvm' is deprecated and will be | ||
removed in the next release. | ||
Change your imports to load the package using 'peakrdl_uvm' instead. | ||
For more details, see: https://github.com/SystemRDL/PeakRDL/issues/4 | ||
================================================================================ | ||
""", DeprecationWarning, stacklevel=2) |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "2.1.0" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.