Skip to content

Commit 5014ff5

Browse files
authored
Release v5.3.0 (#309)
Signed-off-by: tdruez <[email protected]>
1 parent 6fec557 commit 5014ff5

File tree

54 files changed

+1543
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1543
-189
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release notes
22
=============
33

4-
### Version 5.3.0-dev
4+
### Version 5.3.0
55

66
- Rename ProductDependency is_resolved to is_pinned.
77
https://github.com/aboutcode-org/dejacode/issues/189

RELEASE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Release instructions for `DejaCode
2+
3+
### Automated release workflow
4+
5+
- Create a new `release-x.x.x` branch
6+
- Update the version in:
7+
- `setup.cfg`
8+
- `dejacode/__init__.py`
9+
- `CHANGELOG.rst` (set date)
10+
- Commit and push this branch
11+
- Create a PR and merge once approved
12+
- Tag and push that tag. This will trigger the `create-github-release.yml`
13+
and `publish-docker-image.yml` GitHub workflows:
14+
```
15+
VERSION=vx.x.x # <- Set the new version here
16+
git tag -a $VERSION -m ""
17+
git push origin $VERSION
18+
```
19+
- Review the GitHub release created by the workflow at
20+
https://github.com/aboutcode-org/dejacode/releases/

dejacode/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import git
1616

17-
VERSION = "5.2.1"
17+
VERSION = "5.3.0"
1818

1919
PROJECT_DIR = Path(__file__).resolve().parent
2020
ROOT_DIR = PROJECT_DIR.parent

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = dejacode
3-
version = 5.2.1
3+
version = 5.3.0
44
license = AGPL-3.0-only
55
description = Automate open source license compliance and ensure supply chain integrity
66
long_description = file:README.rst
@@ -88,7 +88,7 @@ install_requires =
8888
# Database
8989
psycopg==3.2.6
9090
# Cache
91-
redis==5.2.1
91+
redis==6.2.0
9292
# redis dependencies:
9393
packaging==24.2
9494
pyparsing==3.2.1
@@ -120,7 +120,6 @@ install_requires =
120120
charset-normalizer==3.4.1
121121
PyYAML==6.0.2
122122
Cython==3.0.12
123-
importlib_metadata==8.6.1
124123
zipp==3.21.0
125124
XlsxWriter==3.2.2
126125
# Markdown
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
about_resource: Cython-3.0.12-py2.py3-none-any.whl
2+
name: cython
3+
version: 3.0.12
4+
download_url: https://files.pythonhosted.org/packages/27/6b/7c87867d255cbce8167ed99fc65635e9395d2af0f0c915428f5b17ec412d/Cython-3.0.12-py2.py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: apache-2.0
7+
copyright: Copyright cython project contributors
8+
attribute: yes
9+
track_changes: yes
10+
checksum_md5: 656cdff54bd298e396ba06aeea7fdfc8
11+
checksum_sha1: 42f98d34cbed9ca1c4b76e4ca4efd7c72d2b2c99
12+
licenses:
13+
- key: apache-2.0
14+
name: Apache License 2.0
15+
file: apache-2.0.LICENSE

thirdparty/dist/PyYAML-6.0.tar.gz

-122 KB
Binary file not shown.

thirdparty/dist/PyYAML-6.0.tar.gz.NOTICE

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
about_resource: aboutcode_toolkit-11.1.1-py3-none-any.whl
2+
name: aboutcode-toolkit
3+
version: 11.1.1
4+
download_url: https://files.pythonhosted.org/packages/14/ee/ba139231e3de1287189c2f7940e7e0f8a135421050ff1b4f0145813ae8b9/aboutcode_toolkit-11.1.1-py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: apache-2.0
7+
copyright: Copyright aboutcode-toolkit project contributors
8+
attribute: yes
9+
track_changes: yes
10+
checksum_md5: 8b274d62b7d390eb2ae080d90035d3be
11+
checksum_sha1: a72560aac87a281507122ad580590a265b0bd17b
12+
licenses:
13+
- key: apache-2.0
14+
name: Apache License 2.0
15+
file: apache-2.0.LICENSE
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
about_resource: crispy_bootstrap5-2025.4-py3-none-any.whl
2+
name: crispy-bootstrap5
3+
version: '2025.4'
4+
download_url: https://files.pythonhosted.org/packages/b8/9a/4f1166cc82c9f777cf9a5bc2a75171d63301ac317c5de8f59bd44bfe2b7a/crispy_bootstrap5-2025.4-py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: mit
7+
copyright: Copyright crispy-bootstrap5 project contributors
8+
attribute: yes
9+
checksum_md5: e39a6ed01c8dd67e0e18bf7fb7e1b6cd
10+
checksum_sha1: 80b6c653d7706b631aeb4f5b3e8ad68a5cc3aade
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: mit.LICENSE
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
about_resource: crontab-1.0.4.tar.gz
2+
name: crontab
3+
version: 1.0.4
4+
download_url: https://files.pythonhosted.org/packages/1e/8b/3ea72ac8e26090b63779b4e0074af79b02bbbab7ddd01b36109bc0892d31/crontab-1.0.4.tar.gz
5+
description: |
6+
Parse and use crontab schedules in Python
7+
Copyright 2011-2021 Josiah Carlson
8+
9+
Released under the LGPL license version 2.1 and version 3 (you can choose
10+
which you'd like to be bound under).
11+
12+
Description
13+
===========
14+
15+
This package intends to offer a method of parsing crontab schedule entries and
16+
determining when an item should next be run. More specifically, it calculates
17+
a delay in seconds from when the .next() method is called to when the item
18+
should next be executed.
19+
20+
Comparing the below chart to http://en.wikipedia.org/wiki/Cron#CRON_expression
21+
you will note that W and # symbols are not supported.
22+
23+
============= =========== ================= ============== ===========================
24+
Field Name Mandatory Allowed Values Default Value Allowed Special Characters
25+
============= =========== ================= ============== ===========================
26+
Seconds No 0-59 0 \* / , -
27+
Minutes Yes 0-59 N/A \* / , -
28+
Hours Yes 0-23 N/A \* / , -
29+
Day of month Yes 1-31 N/A \* / , - ? L
30+
Month Yes 1-12 or JAN-DEC N/A \* / , -
31+
Day of week Yes 0-6 or SUN-SAT N/A \* / , - ? L
32+
Year No 1970-2099 * \* / , -
33+
============= =========== ================= ============== ===========================
34+
35+
If your cron entry has 5 values, minutes-day of week are used, default seconds
36+
is and default year is appended. If your cron entry has 6 values, minutes-year
37+
are used, and default seconds are prepended.
38+
39+
As such, only 5-7 value crontab entries are accepted (and mangled to 7 values,
40+
as necessary).
41+
42+
43+
Sample individual crontab fields
44+
================================
45+
46+
Examples of supported entries are as follows::
47+
48+
*
49+
*/5
50+
7/8
51+
3-25/7
52+
3,7,9
53+
0-10,30-40/5
54+
55+
For month or day of week entries, 3 letter abbreviations of the month or day
56+
can be used to the left of any optional / where a number could be used.
57+
58+
For days of the week::
59+
60+
mon-fri
61+
sun-thu/2
62+
63+
For month::
64+
65+
apr-jul
66+
mar-sep/3
67+
68+
Installation
69+
============
70+
71+
::
72+
73+
pip install crontab
74+
75+
76+
Example uses
77+
============
78+
79+
::
80+
81+
>>> from crontab import CronTab
82+
>>> from datetime import datetime
83+
>>> # define the crontab for 25 minutes past the hour every hour
84+
... entry = CronTab('25 * * * *')
85+
>>> # find the delay from when this was run (around 11:13AM)
86+
... entry.next()
87+
720.81637899999998
88+
>>> # find the delay from when it was last scheduled
89+
... entry.next(datetime(2011, 7, 17, 11, 25))
90+
3600.0
91+
92+
93+
94+
95+
Notes
96+
=====
97+
98+
At most one of 'day of week' or 'day of month' can be a value other than '?'
99+
or '*'. We violate spec here and allow '*' to be an alias for '?', in the case
100+
where one of those values is specified (seeing as some platforms don't support
101+
'?').
102+
103+
This module also supports the convenient aliases::
104+
105+
@yearly
106+
@annually
107+
@monthly
108+
@weekly
109+
@daily
110+
@hourly
111+
112+
Example full crontab entries and their meanings::
113+
114+
30 */2 * * * -> 30 minutes past the hour every 2 hours
115+
15,45 23 * * * -> 11:15PM and 11:45PM every day
116+
0 1 ? * SUN -> 1AM every Sunday
117+
0 1 * * SUN -> 1AM every Sunday (same as above)
118+
0 0 1 jan/2 * 2011-2013 ->
119+
midnight on January 1, 2011 and the first of every odd month until
120+
the end of 2013
121+
24 7 L * * -> 7:24 AM on the last day of every month
122+
24 7 * * L5 -> 7:24 AM on the last friday of every month
123+
24 7 * * Lwed-fri ->
124+
7:24 AM on the last wednesday, thursday, and friday of every month
125+
homepage_url: https://github.com/josiahcarlson/parse-crontab
126+
package_url: pkg:pypi/[email protected]
127+
license_expression: lgpl-2.1 AND (lgpl-2.0-plus AND lgpl-2.0 AND lgpl-3.0)
128+
copyright: Copyright Josiah Carlson
129+
redistribute: yes
130+
attribute: yes
131+
track_changes: yes
132+
checksum_md5: ad190b69ff4199c44a5170daf896e73f
133+
checksum_sha1: 5a7e52b3f0e84519966b370b871c0ca1d3f9c20a
134+
licenses:
135+
- key: lgpl-2.1
136+
name: GNU Lesser General Public License 2.1
137+
file: lgpl-2.1.LICENSE
138+
- key: lgpl-3.0
139+
name: GNU Lesser General Public License 3.0
140+
file: lgpl-3.0.LICENSE
141+
- key: lgpl-2.0
142+
name: GNU Library General Public License 2.0
143+
file: lgpl-2.0.LICENSE
144+
- key: lgpl-2.0-plus
145+
name: GNU Library General Public License 2.0 or later
146+
file: lgpl-2.0-plus.LICENSE

0 commit comments

Comments
 (0)