pkg-about 2.4.0__tar.gz → 2.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {pkg_about-2.4.0 → pkg_about-2.4.2}/CHANGES.rst +3 -2
  2. {pkg_about-2.4.0/src/pkg_about.egg-info → pkg_about-2.4.2}/PKG-INFO +1 -1
  3. {pkg_about-2.4.0 → pkg_about-2.4.2}/noxfile.py +15 -14
  4. {pkg_about-2.4.0 → pkg_about-2.4.2}/pyproject.toml +3 -2
  5. {pkg_about-2.4.0 → pkg_about-2.4.2/src/pkg_about.egg-info}/PKG-INFO +1 -1
  6. {pkg_about-2.4.0 → pkg_about-2.4.2}/LICENSE +0 -0
  7. {pkg_about-2.4.0 → pkg_about-2.4.2}/MANIFEST.in +0 -0
  8. {pkg_about-2.4.0 → pkg_about-2.4.2}/README.rst +0 -0
  9. {pkg_about-2.4.0 → pkg_about-2.4.2}/docs/CHANGES.rst +0 -0
  10. {pkg_about-2.4.0 → pkg_about-2.4.2}/docs/README.rst +0 -0
  11. {pkg_about-2.4.0 → pkg_about-2.4.2}/docs/_static/.keep +0 -0
  12. {pkg_about-2.4.0 → pkg_about-2.4.2}/docs/_templates/.keep +0 -0
  13. {pkg_about-2.4.0 → pkg_about-2.4.2}/docs/conf.py +0 -0
  14. {pkg_about-2.4.0 → pkg_about-2.4.2}/docs/index.rst +0 -0
  15. {pkg_about-2.4.0 → pkg_about-2.4.2}/setup.cfg +0 -0
  16. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about/__about__.py +0 -0
  17. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about/__init__.py +0 -0
  18. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about/_about.py +0 -0
  19. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about/py.typed +0 -0
  20. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about.egg-info/SOURCES.txt +0 -0
  21. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about.egg-info/dependency_links.txt +0 -0
  22. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about.egg-info/requires.txt +0 -0
  23. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about.egg-info/top_level.txt +0 -0
  24. {pkg_about-2.4.0 → pkg_about-2.4.2}/src/pkg_about.egg-info/zip-safe +0 -0
  25. {pkg_about-2.4.0 → pkg_about-2.4.2}/tests/__init__.py +0 -0
  26. {pkg_about-2.4.0 → pkg_about-2.4.2}/tests/__main__.py +0 -0
  27. {pkg_about-2.4.0 → pkg_about-2.4.2}/tests/data/setup.cfg +0 -0
  28. {pkg_about-2.4.0 → pkg_about-2.4.2}/tests/test_main.py +0 -0
@@ -1,12 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- 2.4.0 (2026-05-11)
4
+ 2.4.2 (2026-05-17)
5
5
  ------------------
6
6
  - Added support for GraalPy 3.12
7
+ - Full support for Python 3.15
7
8
  - Dropped support for Python 3.10 (due to compatibility issues).
8
9
  - Fix for nox 'lint' session.
9
- - Setup update and improvement.
10
+ - Setup update, fixes and improvement.
10
11
 
11
12
  2.3.0 (2026-03-30)
12
13
  ------------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pkg_about
3
- Version: 2.4.0
3
+ Version: 2.4.2
4
4
  Summary: Unified access to Python package metadata at runtime.
5
5
  Author-email: Adam Karpierz <adam@karpierz.net>
6
6
  Maintainer-email: Adam Karpierz <adam@karpierz.net>
@@ -47,14 +47,15 @@ rmtree = partial(shutil.rmtree, ignore_errors=True)
47
47
  def prepare(session: nox.Session) -> None:
48
48
  """Preparing the repository"""
49
49
  cmd = here/".aprep.cmd"
50
- if cmd.is_file(): subprocess.run([cmd])
50
+ if cmd.is_file(): session.run(cmd, external=True)
51
51
 
52
52
  @nox.session(python=[PY_DEFAULT], default=False)
53
53
  def cleanup(session: nox.Session) -> None:
54
54
  """Cleaning the repository"""
55
- #no_package = true
55
+ # no_package = true
56
56
  cmd = here/".clean.cmd"
57
- if cmd.is_file(): subprocess.run([cmd], stderr=subprocess.DEVNULL)
57
+ if cmd.is_file():
58
+ session.run(cmd, stderr=subprocess.DEVNULL, external=True)
58
59
  rmtree(here/"build")
59
60
  rmtree(here/"dist")
60
61
  for item in here.glob("src/*.egg-info"): rmtree(item)
@@ -76,7 +77,7 @@ def coverage(session: nox.Session) -> None:
76
77
  session.install(".", "--group=coverage")
77
78
  env_dir = Path(session.virtualenv.location)
78
79
  data_file = env_dir/".coverage"
79
- html_dir = env_dir/'.coverage.html'
80
+ html_dir = env_dir/".coverage_html"
80
81
  session.py("-m", "coverage", "erase", f"--data-file={data_file}")
81
82
  session.py("-m", "coverage", "run", f"--data-file={data_file}", "-m", "tests",
82
83
  *session.posargs, success_codes=range(0, 256))
@@ -91,8 +92,8 @@ def docs(session: nox.Session) -> None:
91
92
  html_dir = here/"build/docs/html"
92
93
  session.py("-m", "sphinxlint", "-i", "#arch", "-i", ".nox", "-i", ".tox",
93
94
  "-i", "build", "-i", "dist", "-i", ".mypy_cache")
94
- #session.run("python","-m", "sphinx.apidoc", "-f", *[session.site_packages/f"{item}/"
95
- # for item in PKG.TOP_LEVELS])
95
+ # session.py("-m", "sphinx.apidoc", "-f", *[session.site_packages/f"{item}/"
96
+ # for item in PKG.TOP_LEVELS])
96
97
  session.py("-m", "sphinx.cmd.build", "-W", "-a", "-b", "html", "-E", here/"docs", html_dir)
97
98
  session.py("-m", "sphinx.cmd.build", "-W", "-a", "-b", "doctest", here/"docs", html_dir)
98
99
  session.py("-m", "sphinx.cmd.build", "-W", "-a", "-b", "linkcheck", here/"docs", html_dir)
@@ -119,9 +120,9 @@ def publish(session: nox.Session) -> None:
119
120
  env_dir = Path(session.virtualenv.location)
120
121
  gh_pages_dir = env_dir/"gh-pages"
121
122
  rmtree(gh_pages_dir)
122
- session.run("git", "worktree", "prune")
123
- #session.run("git", "worktree", "add", gh_pages_dir, "gh-pages")
124
- session.run("git", "worktree", "add", "-B", "gh-pages", gh_pages_dir)
123
+ session.git("worktree", "prune")
124
+ # session.git("worktree", "add", gh_pages_dir, "gh-pages")
125
+ session.git("worktree", "add", "-B", "gh-pages", gh_pages_dir)
125
126
  # clean old docs
126
127
  (gh_pages_dir/".nojekyll").touch()
127
128
  for fpath in gh_pages_dir.iterdir():
@@ -133,13 +134,13 @@ def publish(session: nox.Session) -> None:
133
134
  # copy new docs
134
135
  copytree(here/"build/docs/html", gh_pages_dir, dirs_exist_ok=True)
135
136
  # commit + push
136
- session.run("git", "-C", gh_pages_dir, "add", ".")
137
- session.run("git", "-C", gh_pages_dir, "commit", "-m", "Update documentation")
138
- session.run("git", "-C", gh_pages_dir, "push", "--force", "origin", "gh-pages")
137
+ session.git("-C", gh_pages_dir, "add", ".")
138
+ session.git("-C", gh_pages_dir, "commit", "-m", "Update documentation")
139
+ session.git("-C", gh_pages_dir, "push", "--force", "origin", "gh-pages")
139
140
  # remove worktree
140
- session.run("git", "worktree", "remove", "--force", gh_pages_dir)
141
+ session.git("worktree", "remove", "--force", gh_pages_dir)
141
142
  rmtree(gh_pages_dir)
142
- session.run("git", "worktree", "prune")
143
+ session.git("worktree", "prune")
143
144
 
144
145
  @nox.session(python=[PY_DEFAULT])
145
146
  def typing(session: nox.Session) -> None:
@@ -7,7 +7,7 @@ requires = [ "setuptools>=81.0.0", "packaging>=26.2.0" ]
7
7
 
8
8
  [project]
9
9
  name = "pkg_about"
10
- version = "2.4.0"
10
+ version = "2.4.2"
11
11
  description = "Unified access to Python package metadata at runtime."
12
12
  keywords = [ "pkg_about", "__about__", "packaging" ]
13
13
  license = "Zlib"
@@ -64,7 +64,8 @@ base = [
64
64
  ]
65
65
  test = [
66
66
  { include-group = "base" },
67
- "deepdiff>=9.0.0",
67
+ "deepdiff>=9.1.0; python_version<'3.15' and platform_python_implementation!='GraalVM'",
68
+ "deepdiff<=9.0.0; python_version>='3.15' or platform_python_implementation=='GraalVM'",
68
69
  "rich>=15.0.0",
69
70
  "appdirs==1.4.4",
70
71
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pkg_about
3
- Version: 2.4.0
3
+ Version: 2.4.2
4
4
  Summary: Unified access to Python package metadata at runtime.
5
5
  Author-email: Adam Karpierz <adam@karpierz.net>
6
6
  Maintainer-email: Adam Karpierz <adam@karpierz.net>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes