AdsorPy 1.2.2a4__tar.gz → 1.2.2b3__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 (61) hide show
  1. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/PKG-INFO +1 -2
  2. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/pyproject.toml +11 -6
  3. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/sbom.cdx.json +7 -115
  4. adsorpy-1.2.2a4/.github/CODEOWNERS +0 -1
  5. adsorpy-1.2.2a4/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  6. adsorpy-1.2.2a4/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  7. adsorpy-1.2.2a4/.github/PULL_REQUEST_TEMPLATE.md +0 -19
  8. adsorpy-1.2.2a4/.github/dependabot.yml +0 -38
  9. adsorpy-1.2.2a4/.github/pr-prefix-labeller.yml +0 -17
  10. adsorpy-1.2.2a4/.github/workflows/codeql.yml +0 -77
  11. adsorpy-1.2.2a4/.github/workflows/dependency-review.yml +0 -27
  12. adsorpy-1.2.2a4/.github/workflows/docs-ci.yml +0 -76
  13. adsorpy-1.2.2a4/.github/workflows/publish_to_PyPI.yml +0 -387
  14. adsorpy-1.2.2a4/.github/workflows/scorecard.yml +0 -83
  15. adsorpy-1.2.2a4/.github/workflows/tests-ci.yml +0 -72
  16. adsorpy-1.2.2a4/.pre-commit-config.yaml +0 -10
  17. adsorpy-1.2.2a4/CHANGELOG.md +0 -138
  18. adsorpy-1.2.2a4/CODE_OF_CONDUCT.md +0 -128
  19. adsorpy-1.2.2a4/CONTRIBUTING.md +0 -151
  20. adsorpy-1.2.2a4/SECURITY.md +0 -48
  21. adsorpy-1.2.2a4/audit_trail.txt +0 -2259
  22. adsorpy-1.2.2a4/dist1/adsorpy-1.2.2a4-py3-none-any.whl +0 -0
  23. adsorpy-1.2.2a4/dist1/adsorpy-1.2.2a4.tar.gz +0 -0
  24. adsorpy-1.2.2a4/docs/Makefile +0 -20
  25. adsorpy-1.2.2a4/docs/make.bat +0 -35
  26. adsorpy-1.2.2a4/docs/source/adsorpy.molecule_lib.rst +0 -7
  27. adsorpy-1.2.2a4/docs/source/adsorpy.randomsequentialadsorption.rst +0 -7
  28. adsorpy-1.2.2a4/docs/source/adsorpy.rsa_calculator.rst +0 -7
  29. adsorpy-1.2.2a4/docs/source/adsorpy.rsa_config.rst +0 -7
  30. adsorpy-1.2.2a4/docs/source/adsorpy.rst +0 -28
  31. adsorpy-1.2.2a4/docs/source/adsorpy.run_simulation.rst +0 -7
  32. adsorpy-1.2.2a4/docs/source/adsorpy.types.rst +0 -7
  33. adsorpy-1.2.2a4/docs/source/conf.py +0 -121
  34. adsorpy-1.2.2a4/docs/source/index.rst +0 -28
  35. adsorpy-1.2.2a4/docs/source/modules.rst +0 -7
  36. adsorpy-1.2.2a4/images/AdsorPy_Covered_Surface.png +0 -0
  37. adsorpy-1.2.2a4/py.typed +0 -0
  38. adsorpy-1.2.2a4/src/__init__.py +0 -0
  39. adsorpy-1.2.2a4/src/__main__.py +0 -8
  40. adsorpy-1.2.2a4/tach.toml +0 -35
  41. adsorpy-1.2.2a4/tests/__init__.py +0 -0
  42. adsorpy-1.2.2a4/tests/rsa_test.py +0 -659
  43. adsorpy-1.2.2a4/tests/run_simulation_test.py +0 -392
  44. adsorpy-1.2.2a4/tests/test_data/config_test_hard.json +0 -56
  45. adsorpy-1.2.2a4/tests/test_data/config_test_periodic.json +0 -56
  46. adsorpy-1.2.2a4/tests/test_data/config_test_soft.json +0 -56
  47. adsorpy-1.2.2a4/tests/xyz_fuzzer_test.py +0 -134
  48. adsorpy-1.2.2a4/tox.toml +0 -44
  49. adsorpy-1.2.2a4/uv.lock +0 -3245
  50. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/LICENSE.md +0 -0
  51. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/README.md +0 -0
  52. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/VdW_Radii.csv +0 -0
  53. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/__init__.py +0 -0
  54. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/config.json +0 -0
  55. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/molecule_colour.json +0 -0
  56. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/molecule_lib.py +0 -0
  57. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/randomsequentialadsorption.py +0 -0
  58. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/rsa_calculator.py +0 -0
  59. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/rsa_config.py +0 -0
  60. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/run_simulation.py +0 -0
  61. {adsorpy-1.2.2a4 → adsorpy-1.2.2b3}/src/adsorpy/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adsorpy
3
- Version: 1.2.2a4
3
+ Version: 1.2.2b3
4
4
  Summary: Random sequential adsorption (RSA) simulation, 2D lattice-based.
5
5
  Project-URL: github, https://github.com/JoostFWMaas/AdsorPy
6
6
  Project-URL: Documentation, https://joostfwmaas.github.io/AdsorPy
@@ -50,7 +50,6 @@ Requires-Dist: sphinx-design>=0.6.0; extra == 'docs'
50
50
  Requires-Dist: sphinx-pyproject>=0.3.0; extra == 'docs'
51
51
  Requires-Dist: sphinx>=8.0; extra == 'docs'
52
52
  Provides-Extra: envs
53
- Requires-Dist: tox-gh-actions>=3.5; extra == 'envs'
54
53
  Requires-Dist: tox-uv>=1.35.2; extra == 'envs'
55
54
  Requires-Dist: tox>=4.54; extra == 'envs'
56
55
  Provides-Extra: lint
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
5
5
  [project]
6
6
  name = "adsorpy"
7
7
  #dynamic = ["version"] # The Python guide says that this will use the Git tag to fill it in.
8
- version = "1.2.2-alpha.4" # The Python guide says that this will use the Git tag to fill it in.
8
+ version = "1.2.2-beta.3" # The Python guide says that this will use the Git tag to fill it in.
9
9
  description = "Random sequential adsorption (RSA) simulation, 2D lattice-based."
10
10
  authors = [{ name = "J.F.W. Maas", email = "j.f.w.maas@tue.nl" }]
11
11
  readme = "README.md"
@@ -58,8 +58,6 @@ keywords = [
58
58
 
59
59
  dependencies = [
60
60
  "numpy>=2.2.6",
61
- # "numpy>=2.2.6; python_version=='3.10'",
62
- # "numpy>=2.4.4; python_version>='3.11'",
63
61
  "numba>=0.65.1",
64
62
  "matplotlib>=3.10.9",
65
63
  "shapely>=2.1.2",
@@ -73,8 +71,6 @@ test = [
73
71
  "pytest-cov>=7.1.0",
74
72
  "hypothesis>=6.152.4",
75
73
  "scipy>=1.15.3",
76
- # "scipy==1.15.3; python_version=='3.10'",
77
- # "scipy>=1.17.1; python_version>='3.11'",
78
74
  "codecov>=2.1.13",
79
75
  ]
80
76
  lint = [
@@ -93,7 +89,6 @@ docs = [
93
89
  ]
94
90
  envs = [
95
91
  "tox>=4.54",
96
- "tox-gh-actions>=3.5",
97
92
  "tox-uv>=1.35.2",
98
93
  ]
99
94
  dev-misc = [
@@ -120,6 +115,16 @@ deterministic = true
120
115
 
121
116
  [tool.hatch.build.targets.wheel]
122
117
  sbom-files = ["sbom.cdx.json"]
118
+ packages = ["src/adsorpy"]
119
+
120
+ [tool.hatch.build.targets.sdist]
121
+ include = [
122
+ "/src/adsorpy",
123
+ "/pyproject.toml",
124
+ "README.md",
125
+ "/LICENSE",
126
+ "sbom.cdx.json",
127
+ ]
123
128
 
124
129
  [tool.hatch.env]
125
130
  requires = [
@@ -12374,108 +12374,6 @@
12374
12374
  "type": "library",
12375
12375
  "version": "4.54.0"
12376
12376
  },
12377
- {
12378
- "bom-ref": "pkg:pypi/tox-gh-actions@3.5.0",
12379
- "description": "Seamless integration of tox into GitHub Actions",
12380
- "evidence": {
12381
- "identity": [
12382
- {
12383
- "concludedValue": "uv.lock",
12384
- "confidence": 1.0,
12385
- "field": "purl",
12386
- "methods": [
12387
- {
12388
- "confidence": 1.0,
12389
- "technique": "manifest-analysis",
12390
- "value": "uv.lock"
12391
- }
12392
- ]
12393
- }
12394
- ]
12395
- },
12396
- "externalReferences": [
12397
- {
12398
- "type": "distribution",
12399
- "url": "https://pypi.org/project/tox-gh-actions/"
12400
- },
12401
- {
12402
- "type": "issue-tracker",
12403
- "url": "https://github.com/ymyzk/tox-gh-actions/issues"
12404
- },
12405
- {
12406
- "type": "website",
12407
- "url": "https://github.com/ymyzk/tox-gh-actions"
12408
- }
12409
- ],
12410
- "group": "",
12411
- "hashes": [
12412
- {
12413
- "alg": "BLAKE2b-256",
12414
- "content": "fd9e8d50f3b3fc4af8c73154f64d4a2293bfa2d517a19000e70ef2d614254084"
12415
- },
12416
- {
12417
- "alg": "MD5",
12418
- "content": "49c9330d9a3f2769574e50cd71d1c5c6"
12419
- },
12420
- {
12421
- "alg": "SHA-256",
12422
- "content": "070790114c92f4c94337047515ca5e077ceb269a5cb9366e0a0b3440a024eca1"
12423
- }
12424
- ],
12425
- "licenses": [
12426
- {
12427
- "acknowledgement": "declared",
12428
- "expression": "MIT"
12429
- }
12430
- ],
12431
- "manufacturer": {
12432
- "contact": [
12433
- {
12434
- "email": "miyazaki.dev@gmail.com",
12435
- "name": "Yusuke Miyazaki"
12436
- }
12437
- ],
12438
- "name": "Yusuke Miyazaki"
12439
- },
12440
- "name": "tox-gh-actions",
12441
- "properties": [
12442
- {
12443
- "name": "SrcFile",
12444
- "value": "pyproject.toml"
12445
- },
12446
- {
12447
- "name": "bsi:component:archive",
12448
- "value": "archive"
12449
- },
12450
- {
12451
- "name": "bsi:component:executable",
12452
- "value": "non-executable"
12453
- },
12454
- {
12455
- "name": "bsi:component:filename",
12456
- "value": "tox_gh_actions-3.5.0-py3-none-any.whl"
12457
- },
12458
- {
12459
- "name": "bsi:component:structured",
12460
- "value": "structured"
12461
- },
12462
- {
12463
- "name": "cdx:lifecycle:milestone:generalAvailability",
12464
- "value": "2025-10-22"
12465
- },
12466
- {
12467
- "name": "sbomify:enrichment:source",
12468
- "value": "pypi.org"
12469
- }
12470
- ],
12471
- "publisher": "Yusuke Miyazaki",
12472
- "purl": "pkg:pypi/tox-gh-actions@3.5.0",
12473
- "supplier": {
12474
- "name": "Python Package Index (PyPI)"
12475
- },
12476
- "type": "library",
12477
- "version": "3.5.0"
12478
- },
12479
12377
  {
12480
12378
  "bom-ref": "pkg:pypi/tox-uv@1.35.2",
12481
12379
  "description": "Integration of uv with tox (meta package with bundled uv).",
@@ -13633,7 +13531,7 @@
13633
13531
  "pkg:pypi/rtree@1.4.1",
13634
13532
  "pkg:pypi/shapely@2.1.2"
13635
13533
  ],
13636
- "ref": "pkg:pypi/adsorpy@v1.2.2-alpha.4%2Btest.1"
13534
+ "ref": "pkg:pypi/adsorpy@v1.2.2-beta.3%2Btest.1"
13637
13535
  },
13638
13536
  {
13639
13537
  "ref": "pkg:pypi/alabaster@1.0.0"
@@ -14283,12 +14181,6 @@
14283
14181
  {
14284
14182
  "ref": "pkg:pypi/tomli@2.4.1"
14285
14183
  },
14286
- {
14287
- "dependsOn": [
14288
- "pkg:pypi/tox@4.54.0"
14289
- ],
14290
- "ref": "pkg:pypi/tox-gh-actions@3.5.0"
14291
- },
14292
14184
  {
14293
14185
  "dependsOn": [
14294
14186
  "pkg:pypi/packaging@26.2",
@@ -14383,7 +14275,7 @@
14383
14275
  "name": "J.F.W. Maas"
14384
14276
  }
14385
14277
  ],
14386
- "bom-ref": "pkg:pypi/adsorpy@v1.2.2-alpha.4%2Btest.1",
14278
+ "bom-ref": "pkg:pypi/adsorpy@v1.2.2-beta.3%2Btest.1",
14387
14279
  "description": "Random sequential adsorption (RSA) simulation, 2D lattice-based.",
14388
14280
  "licenses": [
14389
14281
  {
@@ -14404,7 +14296,7 @@
14404
14296
  "value": ">=3.10"
14405
14297
  }
14406
14298
  ],
14407
- "purl": "pkg:pypi/adsorpy@v1.2.2-alpha.4%2Btest.1",
14299
+ "purl": "pkg:pypi/adsorpy@v1.2.2-beta.3%2Btest.1",
14408
14300
  "tags": [
14409
14301
  "Monte Carlo",
14410
14302
  "RSA",
@@ -14423,7 +14315,7 @@
14423
14315
  "surface science"
14424
14316
  ],
14425
14317
  "type": "application",
14426
- "version": "v1.2.2-alpha.4+test.1"
14318
+ "version": "v1.2.2-beta.3+test.1"
14427
14319
  },
14428
14320
  "lifecycles": [
14429
14321
  {
@@ -14440,7 +14332,7 @@
14440
14332
  "value": "pypi"
14441
14333
  }
14442
14334
  ],
14443
- "timestamp": "2026-05-22T18:47:01+00:00",
14335
+ "timestamp": "2026-05-22T22:05:45+00:00",
14444
14336
  "tools": {
14445
14337
  "components": [
14446
14338
  {
@@ -14460,7 +14352,7 @@
14460
14352
  ]
14461
14353
  }
14462
14354
  },
14463
- "serialNumber": "urn:uuid:0e66226b-c10a-4e54-a621-0fe784d7fe64",
14355
+ "serialNumber": "urn:uuid:4aaa86c2-6def-4f8e-9afa-d0d5df4b2ff5",
14464
14356
  "version": 1,
14465
14357
  "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
14466
14358
  "bomFormat": "CycloneDX",
@@ -14469,7 +14361,7 @@
14469
14361
  {
14470
14362
  "aggregate": "incomplete",
14471
14363
  "assemblies": [
14472
- "pkg:pypi/adsorpy@v1.2.2-alpha.4%2Btest.1"
14364
+ "pkg:pypi/adsorpy@v1.2.2-beta.3%2Btest.1"
14473
14365
  ]
14474
14366
  }
14475
14367
  ]
@@ -1 +0,0 @@
1
- * @JoostFWMaas
@@ -1,32 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: "[BUG]"
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Desktop (please complete the following information):**
27
- - OS: [e.g. NixOS]
28
- - Python version [e.g. 3.14]
29
- - adsorpy version [e.g. 1.1.4]
30
-
31
- **Additional context**
32
- Add any other context about the problem here.
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
@@ -1,19 +0,0 @@
1
- All Submissions:
2
-
3
- * [ ] Have you followed the guidelines in our Contributing document?
4
- * [ ] Have you checked to ensure there aren't other open [Pull Requests](../../../pulls) for the same update/change?
5
-
6
- <!-- You can erase any parts of this template not applicable to your Pull Request. -->
7
-
8
- ### New Feature Submissions:
9
-
10
- 1. [ ] Does your submission pass all ``pytest`` tests?
11
- 2. [ ] Have you lint your code locally before submission?
12
- 3. [ ] Does your code pass the ``mypy``, ``pyright``, ``tach``, ``slotscheck``, and ``ruff`` checks?
13
-
14
- ### Changes to Core Features:
15
-
16
- * [ ] Have you added an explanation of what your changes do and why you'd like us to include them?
17
- * [ ] Have you written new tests for your core changes, as applicable?
18
- * [ ] Have you successfully run tests with your changes locally?
19
- * [ ] Does your code pass all checks and tests with ``tox``?
@@ -1,38 +0,0 @@
1
- # To get started with Dependabot version updates, you'll need to specify which
2
- # package ecosystems to update and where the package manifests are located.
3
- # Please see the documentation for all configuration options:
4
- # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
-
6
- version: 2
7
-
8
- updates:
9
- - package-ecosystem: "pip" # See documentation for possible values
10
- directory: "/" # Location of package manifests
11
- schedule:
12
- interval: "weekly"
13
-
14
- groups:
15
- python-dependencies:
16
- patterns:
17
- - "*"
18
-
19
- commit-message:
20
- prefix: "deps"
21
-
22
- labels:
23
- - "dependencies"
24
-
25
- rebase-strategy: "auto"
26
-
27
- ignore: # Does not automatically push major version updates. Those can break things.
28
- - dependency-name: "*"
29
- update-types: [ "version-update:semver-major" ]
30
-
31
-
32
- # Enable version updates for GitHub Actions
33
- - package-ecosystem: "github-actions"
34
- # Workflow files stored in the default location of `.github/workflows`
35
- # You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.
36
- directory: "/"
37
- schedule:
38
- interval: "weekly"
@@ -1,17 +0,0 @@
1
- "API": "30 - API"
2
- "BENCH": "28 - Benchmark"
3
- "BLD": "36 - Build"
4
- "BUG": "00 - Bug"
5
- "DEP": "07 - Deprecation"
6
- "DEV": "16 - Development"
7
- "DOC": "04 - Documentation"
8
- "ENH": "01 - Enhancement"
9
- "MAINT": "03 - Maintenance"
10
- "MNT": "03 - Maintenance"
11
- "REL": "14 - Release"
12
- "REV": "34 - Reversion"
13
- "STY": "03 - Maintenance"
14
- "TST": "05 - Testing"
15
- "TYP": "41 - Static typing"
16
- "WIP": "25 - WIP"
17
- # Copied from Numpy
@@ -1,77 +0,0 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: ["main"]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: ["main"]
20
- schedule:
21
- - cron: "0 0 * * 1"
22
-
23
- permissions: {}
24
-
25
- jobs:
26
- analyze:
27
- name: Analyze
28
- runs-on: ubuntu-latest
29
- permissions:
30
- contents: read
31
- security-events: write
32
-
33
- strategy:
34
- fail-fast: false
35
- matrix:
36
- language: ["python"]
37
- # CodeQL supports [ $supported-codeql-languages ]
38
- # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
39
-
40
- steps:
41
- - name: Harden the runner (Audit all outbound calls)
42
- uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
43
- with:
44
- egress-policy: audit
45
-
46
- - name: Checkout repository
47
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48
- with:
49
- persist-credentials: false
50
-
51
- # Initializes the CodeQL tools for scanning.
52
- - name: Initialize CodeQL
53
- uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
54
- with:
55
- languages: ${{ matrix.language }}
56
- # If you wish to specify custom queries, you can do so here or in a config file.
57
- # By default, queries listed here will override any specified in a config file.
58
- # Prefix the list here with "+" to use these queries and those in the config file.
59
-
60
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
61
- # If this step fails, then you should remove it and run the build manually (see below)
62
- - name: Autobuild
63
- uses: github/codeql-action/autobuild@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
64
- # ℹ️ Command-line programs to run using the OS shell.
65
- # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
66
-
67
- # If the Autobuild fails above, remove it and uncomment the following three lines.
68
- # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
69
-
70
- # - run: |
71
- # echo "Run, Build Application using script"
72
- # ./location_of_script_within_repo/buildscript.sh
73
-
74
- - name: Perform CodeQL Analysis
75
- uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
76
- with:
77
- category: "/language:${{matrix.language}}"
@@ -1,27 +0,0 @@
1
- # Dependency Review Action
2
- #
3
- # This Action will scan dependency manifest files that change as part of a Pull Request,
4
- # surfacing known-vulnerable versions of the packages declared or updated in the PR.
5
- # Once installed, if the workflow run is marked as required,
6
- # PRs introducing known-vulnerable packages will be blocked from merging.
7
- #
8
- # Source repository: https://github.com/actions/dependency-review-action
9
- name: 'Dependency Review'
10
- on: [pull_request]
11
-
12
- permissions:
13
- contents: read
14
-
15
- jobs:
16
- dependency-review:
17
- runs-on: ubuntu-latest
18
- steps:
19
- - name: Harden the runner (Audit all outbound calls)
20
- uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
21
- with:
22
- egress-policy: audit
23
-
24
- - name: 'Checkout Repository'
25
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26
- - name: 'Dependency Review'
27
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
@@ -1,76 +0,0 @@
1
- name: Docs
2
-
3
- on:
4
- push:
5
- branches: [ "main" ]
6
- workflow_dispatch:
7
-
8
- # Top-level permissions for Pages (recommended)
9
- permissions:
10
- contents: read
11
- pages: write
12
- id-token: write
13
-
14
- concurrency:
15
- group: "pages"
16
- cancel-in-progress: true
17
-
18
- jobs:
19
- deploy-docs:
20
- name: Build and Upload Docs Artifact
21
- runs-on: ubuntu-latest
22
- # needs: test
23
-
24
- steps:
25
- - name: Harden the runner (Audit all outbound calls)
26
- uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
27
- with:
28
- egress-policy: audit
29
-
30
- - name: Checkout
31
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32
-
33
- - name: Set up Python
34
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
35
- with:
36
- python-version: "3.14"
37
-
38
- - name: Set up uv
39
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
40
-
41
- - name: Install Sphinx and theme
42
- run: uv sync --frozen --extra docs # Installs adsorpy with [docs] optional requirements.
43
-
44
- # Optional: configure Pages (sets up base_url, etc.)
45
- - name: Configure Pages
46
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
47
-
48
- - name: Build Sphinx docs
49
- run: |
50
- mkdir -p public
51
- uv run python -m sphinx -W docs/source public
52
-
53
- - name: Upload artifact for Pages
54
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
55
- with:
56
- path: ./public
57
-
58
- deploy:
59
- name: Deploy to GitHub Pages
60
- runs-on: ubuntu-latest
61
- needs: deploy-docs
62
- environment:
63
- name: github-pages
64
- url: ${{ steps.deploy-pages.outputs.page_url }}
65
- permissions:
66
- pages: write
67
- id-token: write
68
- steps:
69
- - name: Harden the runner (Audit all outbound calls)
70
- uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
71
- with:
72
- egress-policy: audit
73
-
74
- - name: Deploy to GitHub Pages
75
- id: deploy-pages
76
- uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0