Skip to content

Commit

Permalink
fix: ssl error for subdomains with underscores (#12)
Browse files Browse the repository at this point in the history
* fix: ssl error for subdomains with underscores

* chore: fix debugging issues

* chore: update to new toml package style
  • Loading branch information
bobbyg603 authored Oct 9, 2024
1 parent 5162ec2 commit f0c10e7
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 89 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ build
dist
.DS_Store
venv/

.vscode
.idea
.venv/
.idea
.ropeproject
6 changes: 4 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
"request": "launch",
"program": "./tests/test_bugsplat.py",
"console": "integratedTerminal",
"env": {"PYTHONPATH": "${workspaceRoot}"}
"env": {"PYTHONPATH": "${workspaceRoot}"},
"justMyCode": false
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"env": {"PYTHONPATH": "${workspaceRoot}"}
"env": {"PYTHONPATH": "${workspaceRoot}"},
"justMyCode": false
}
]
}
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@ git clone https://github.com/BugSplat-Git/bugsplat-py.git
2. Create a virtual environment

```shell
python -m venv venv
python -m venv .venv
```

3. Activate the virtual environment

```shell
# unix/macos
source venv/bin/activate
source .venv/bin/activate

# windows
.\env\Scripts\activate
.\.venv\Scripts\activate
```

4. Install the project's dependencies
Expand Down
43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "bugsplat"
version = "1.0.4"
authors = [
{ name="Bobby Galli", email="bobby@bugsplat.com" },
]
description = "A Python package for sending Unhandled Exceptions to BugSplat"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only"
]
dependencies = [
'requests<=2.29.0'
]

[project.optional-dependencies]
test = [
"certifi==2022.6.15",
"charset-normalizer==2.0.12",
"idna==3.3",
"requests==2.29.0",
"urllib3==1.26.9"
]

[project.urls]
Homepage = "https://github.com/BugSplat-Git/bugsplat-py"
Issues = "https://github.com/BugSplat-Git/bugsplat-py/issues"
Binary file modified requirements.txt
Binary file not shown.
35 changes: 0 additions & 35 deletions setup.cfg

This file was deleted.

42 changes: 0 additions & 42 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/bugsplat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
A BugSplat integration for reporting Unhandled Exceptions in Python.
'''

__version__ = '1.0.3'
__version__ = '1.0.4'
__author__ = '@bobbyg603'
__credits__ = 'BugSplat'

Expand Down

0 comments on commit f0c10e7

Please sign in to comment.