Skip to content

Commit 5194a58

Browse files
authored
Merge pull request #316 from networktocode/release_v2.8.0
Release v2.8.0
2 parents 4f4a64f + 75bad6d commit 5194a58

24 files changed

+1212
-38
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: "CI"
3-
concurrency: # Cancel any existing runs of this workflow for this same PR
3+
concurrency: # Cancel any existing runs of this workflow for this same PR
44
group: "${{ github.workflow }}-${{ github.ref }}"
55
cancel-in-progress: true
6-
on: # yamllint disable
6+
on: # yamllint disable
77
push:
88
branches:
99
- "main"
@@ -13,92 +13,92 @@ on: # yamllint disable
1313
pull_request: ~
1414
jobs:
1515
black:
16-
runs-on: "ubuntu-20.04"
16+
runs-on: "ubuntu-24.04"
1717
env:
1818
INVOKE_LOCAL: "True"
1919
steps:
2020
- name: "Check out repository code"
2121
uses: "actions/checkout@v3"
2222
- name: "Setup environment"
23-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
23+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
2424
- name: "Linting: black"
2525
run: "poetry run invoke black"
2626
bandit:
27-
runs-on: "ubuntu-20.04"
27+
runs-on: "ubuntu-24.04"
2828
env:
2929
INVOKE_LOCAL: "True"
3030
steps:
3131
- name: "Check out repository code"
3232
uses: "actions/checkout@v3"
3333
- name: "Setup environment"
34-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
34+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
3535
- name: "Linting: bandit"
3636
run: "poetry run invoke bandit"
3737
needs:
3838
- "black"
3939
pydocstyle:
40-
runs-on: "ubuntu-20.04"
40+
runs-on: "ubuntu-24.04"
4141
env:
4242
INVOKE_LOCAL: "True"
4343
steps:
4444
- name: "Check out repository code"
4545
uses: "actions/checkout@v3"
4646
- name: "Setup environment"
47-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
47+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
4848
- name: "Linting: pydocstyle"
4949
run: "poetry run invoke pydocstyle"
5050
needs:
5151
- "black"
5252
flake8:
53-
runs-on: "ubuntu-20.04"
53+
runs-on: "ubuntu-24.04"
5454
env:
5555
INVOKE_LOCAL: "True"
5656
steps:
5757
- name: "Check out repository code"
5858
uses: "actions/checkout@v3"
5959
- name: "Setup environment"
60-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
60+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
6161
- name: "Linting: flake8"
6262
run: "poetry run invoke flake8"
6363
needs:
6464
- "black"
6565
mypy:
66-
runs-on: "ubuntu-20.04"
66+
runs-on: "ubuntu-24.04"
6767
env:
6868
INVOKE_LOCAL: "True"
6969
steps:
7070
- name: "Check out repository code"
7171
uses: "actions/checkout@v3"
7272
- name: "Setup environment"
73-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
73+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
7474
with:
7575
poetry-install-options: "--with dev"
7676
- name: "Linting: flake8"
7777
run: "poetry run invoke mypy"
7878
needs:
7979
- "black"
8080
yamllint:
81-
runs-on: "ubuntu-20.04"
81+
runs-on: "ubuntu-24.04"
8282
env:
8383
INVOKE_LOCAL: "True"
8484
steps:
8585
- name: "Check out repository code"
8686
uses: "actions/checkout@v3"
8787
- name: "Setup environment"
88-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
88+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
8989
- name: "Linting: yamllint"
9090
run: "poetry run invoke yamllint"
9191
needs:
9292
- "black"
9393
pylint:
94-
runs-on: "ubuntu-20.04"
94+
runs-on: "ubuntu-24.04"
9595
env:
9696
INVOKE_LOCAL: "True"
9797
steps:
9898
- name: "Check out repository code"
9999
uses: "actions/checkout@v3"
100100
- name: "Setup environment"
101-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
101+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
102102
with:
103103
poetry-install-options: "--with dev"
104104
- name: "Linting: Pylint"
@@ -118,18 +118,18 @@ jobs:
118118
include:
119119
- python-version: "3.11"
120120
pydantic: "1.x"
121-
runs-on: "ubuntu-20.04"
121+
runs-on: "ubuntu-24.04"
122122
env:
123123
INVOKE_LOCAL: "True"
124124
PYTHON_VER: "${{ matrix.python-version }}"
125125
steps:
126126
- name: "Check out repository code"
127127
uses: "actions/checkout@v3"
128128
- name: "Setup environment"
129-
uses: "networktocode/gh-action-setup-poetry-environment@v4"
129+
uses: "networktocode/gh-action-setup-poetry-environment@v6"
130130
with:
131131
python-version: "${{ matrix.python-version }}"
132-
poetry-install-options: "--with dev"
132+
poetry-install-options: "--all-extras"
133133
- name: "Run poetry Install"
134134
run: "poetry install"
135135
- name: "Run poetry Install"
@@ -141,7 +141,7 @@ jobs:
141141
- "pylint"
142142
publish_gh:
143143
name: "Publish to GitHub"
144-
runs-on: "ubuntu-20.04"
144+
runs-on: "ubuntu-24.04"
145145
if: "startsWith(github.ref, 'refs/tags/v')"
146146
steps:
147147
- name: "Check out repository code"
@@ -170,7 +170,7 @@ jobs:
170170
- "unittest"
171171
publish_pypi:
172172
name: "Push Package to PyPI"
173-
runs-on: "ubuntu-20.04"
173+
runs-on: "ubuntu-24.04"
174174
if: "startsWith(github.ref, 'refs/tags/v')"
175175
steps:
176176
- name: "Check out repository code"
@@ -199,7 +199,7 @@ jobs:
199199
- "publish_gh"
200200
- "publish_pypi"
201201
name: "Send notification to the Slack"
202-
runs-on: "ubuntu-20.04"
202+
runs-on: "ubuntu-24.04"
203203
env:
204204
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"
205205
SLACK_MESSAGE: >-

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
# Changelog
44

5+
## v2.8.0 - 2025-06-06
6+
7+
### Added
8+
9+
- [#313](https://github.com/networktocode/circuit-maintenance-parser/pull/313) - Add parsers for provider ATT
10+
11+
### Changed
12+
13+
- [#312](https://github.com/networktocode/circuit-maintenance-parser/pull/312) - Move epoch parser outside of LLM due to inconsistencies
14+
- [#314](https://github.com/networktocode/circuit-maintenance-parser/pull/314) - Add multi-windows for LLM
15+
- [#315](https://github.com/networktocode/circuit-maintenance-parser/pull/315) - Return proper impact result for parsing
16+
517
## v2.7.0 - 2025-01-10
618

719
### Added

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ By default, there is a `GenericProvider` that supports a `SimpleProcessor` using
6969
#### Supported providers based on other parsers
7070

7171
- Apple
72+
- ATT
7273
- AWS
7374
- AquaComms
7475
- BSO
@@ -134,6 +135,12 @@ The library is available as a Python package in pypi and can be installed with p
134135

135136
`pip install circuit-maintenance-parser[openai]`
136137

138+
#### Xlsx Spreadsheets
139+
140+
Some providers may attach a spreadsheet in their circuit maintenance notifications. Support for this is provided by installing the optional xlsx package.
141+
142+
`pip install circuit-maintenance-parser[xlsx]`
143+
137144
## How to use it?
138145

139146
The library requires two things:

circuit_maintenance_parser/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
AquaComms,
1515
Apple,
1616
Arelion,
17+
ATT,
1718
Cogent,
1819
Colt,
1920
CrownCastle,
@@ -44,6 +45,7 @@
4445
Apple,
4546
AquaComms,
4647
Arelion,
48+
ATT,
4749
AWS,
4850
BSO,
4951
Cogent,

0 commit comments

Comments
 (0)