talklib 3.6.1__tar.gz → 3.6.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: talklib
3
- Version: 3.6.1
3
+ Version: 3.6.2
4
4
  Summary: A package to automate processing of shows/segments airing on the TL
5
5
  Author-email: Ben Weddle <ben.weddle@gmail.com>
6
6
  Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
@@ -11,7 +11,7 @@ Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE.txt
13
13
  Requires-Dist: aiohappyeyeballs==2.6.1
14
- Requires-Dist: aiohttp==3.13.5
14
+ Requires-Dist: aiohttp==3.14.1
15
15
  Requires-Dist: aiohttp-retry==2.8.3
16
16
  Requires-Dist: aiosignal==1.4.0
17
17
  Requires-Dist: annotated-types==0.7.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "talklib"
3
- version = "3.6.1"
3
+ version = "3.6.2"
4
4
  description = "A package to automate processing of shows/segments airing on the TL"
5
5
  readme = "README.md"
6
6
  license = "MIT-open-group"
@@ -1,5 +1,5 @@
1
1
  aiohappyeyeballs==2.6.1
2
- aiohttp==3.13.5
2
+ aiohttp==3.14.1
3
3
  aiohttp-retry==2.8.3
4
4
  aiosignal==1.4.0
5
5
  annotated-types==0.7.0
@@ -389,6 +389,18 @@ class TLPod(BaseModel):
389
389
 
390
390
  return self
391
391
 
392
+ @model_validator(mode='after')
393
+ def check_apache_assets_server(self):
394
+ '''check that the Assets server is reachable via HTTP and notify staff if not. Do not hault automation'''
395
+ url: str = "https://assets.library.nashville.gov"
396
+ req_get = requests.get(url=url)
397
+ req_post = requests.post(url=url)
398
+ if not (req_get.ok and req_post.ok):
399
+ to_send: str = "It looks like Apache may not be running on the Assets server. We are unable to make HTTPS requests...automation should be able to continue via SSH."
400
+ self.notifications.send_notifications(message=to_send, subject="Warning", syslog_level="Warning")
401
+
402
+ return self
403
+
392
404
  # @model_validator(mode='after')
393
405
  # def confirm_SSH_connection(self):
394
406
  # # before we carry on, make sure we can successfully connect to the server
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: talklib
3
- Version: 3.6.1
3
+ Version: 3.6.2
4
4
  Summary: A package to automate processing of shows/segments airing on the TL
5
5
  Author-email: Ben Weddle <ben.weddle@gmail.com>
6
6
  Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
@@ -11,7 +11,7 @@ Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE.txt
13
13
  Requires-Dist: aiohappyeyeballs==2.6.1
14
- Requires-Dist: aiohttp==3.13.5
14
+ Requires-Dist: aiohttp==3.14.1
15
15
  Requires-Dist: aiohttp-retry==2.8.3
16
16
  Requires-Dist: aiosignal==1.4.0
17
17
  Requires-Dist: annotated-types==0.7.0
@@ -1,5 +1,5 @@
1
1
  aiohappyeyeballs==2.6.1
2
- aiohttp==3.13.5
2
+ aiohttp==3.14.1
3
3
  aiohttp-retry==2.8.3
4
4
  aiosignal==1.4.0
5
5
  annotated-types==0.7.0
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