Skip to content

Commit b64950c

Browse files
committed
🔖 Release 3.3.1
### Changed - Optional mypyc compilation upgraded to version 1.6.0 for Python >= 3.8 - Improved the general detection reliability based on reports from the community
1 parent 66966f1 commit b64950c

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

.github/workflows/ci.yml

+58-58
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
python-version: '3.11'
2323
- name: Install dependencies
2424
run: |
25-
pip install -U pip setuptools
26-
pip install -r dev-requirements.txt
27-
pip uninstall -y charset-normalizer
25+
python -m pip install -U pip setuptools
26+
python -m pip install -r dev-requirements.txt
27+
python -m pip uninstall -y charset-normalizer
2828
- name: Type checking (Mypy)
2929
run: |
3030
mypy --strict charset_normalizer
@@ -56,13 +56,13 @@ jobs:
5656
allow-prereleases: true
5757
- name: Install dependencies
5858
run: |
59-
pip install -U pip setuptools
60-
pip install -r dev-requirements.txt
61-
pip uninstall -y charset-normalizer
59+
python -m pip install -U pip setuptools
60+
python -m pip install -r dev-requirements.txt
61+
python -m pip uninstall -y charset-normalizer
6262
- name: Install the package
6363
run: |
6464
python -m build --no-isolation
65-
pip install ./dist/*.whl
65+
python -m pip install ./dist/*.whl
6666
- name: Run tests
6767
run: |
6868
pytest
@@ -84,13 +84,13 @@ jobs:
8484
python-version: '3.11'
8585
- name: Install dependencies
8686
run: |
87-
pip install -U pip setuptools
88-
pip install -r dev-requirements.txt
89-
pip uninstall -y charset-normalizer
87+
python -m pip install -U pip setuptools
88+
python -m pip install -r dev-requirements.txt
89+
python -m pip uninstall -y charset-normalizer
9090
- name: Install the package
9191
run: |
9292
python -m build
93-
pip install ./dist/*.whl
93+
python -m pip install ./dist/*.whl
9494
- name: Clone the complete dataset
9595
run: |
9696
git clone https://github.com/Ousret/char-dataset.git
@@ -101,41 +101,41 @@ jobs:
101101
run: |
102102
python ./bin/coverage.py --coverage 95
103103
104-
integration_test:
105-
106-
needs:
107-
- tests
108-
109-
name: 🔗 Integration Tests
110-
runs-on: ubuntu-latest
111-
112-
steps:
113-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
114-
- name: Set up Python
115-
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
116-
with:
117-
python-version: '3.11'
118-
- name: Install dependencies
119-
run: |
120-
pip install -U pip setuptools
121-
pip install -r dev-requirements.txt
122-
- name: Remove Chardet & Charset-Normalizer
123-
run: |
124-
pip uninstall -y chardet
125-
pip uninstall -y charset-normalizer
126-
- name: Install the package
127-
run: |
128-
python -m build
129-
pip install ./dist/*.whl
130-
- name: Clone the complete dataset
131-
run: |
132-
git clone https://github.com/Ousret/char-dataset.git
133-
- name: Start the Flask server
134-
run: |
135-
python ./bin/serve.py &
136-
- name: Integration Tests with Requests
137-
run: |
138-
python ./bin/integration.py
104+
# integration_test:
105+
#
106+
# needs:
107+
# - tests
108+
#
109+
# name: 🔗 Integration Tests
110+
# runs-on: ubuntu-latest
111+
#
112+
# steps:
113+
# - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
114+
# - name: Set up Python
115+
# uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
116+
# with:
117+
# python-version: '3.11'
118+
# - name: Install dependencies
119+
# run: |
120+
# pip install -U pip setuptools
121+
# pip install -r dev-requirements.txt
122+
# - name: Remove Chardet & Charset-Normalizer
123+
# run: |
124+
# pip uninstall -y chardet
125+
# pip uninstall -y charset-normalizer
126+
# - name: Install the package
127+
# run: |
128+
# python -m build
129+
# pip install ./dist/*.whl
130+
# - name: Clone the complete dataset
131+
# run: |
132+
# git clone https://github.com/Ousret/char-dataset.git
133+
# - name: Start the Flask server
134+
# run: |
135+
# python ./bin/serve.py &
136+
# - name: Integration Tests with Requests
137+
# run: |
138+
# python ./bin/integration.py
139139

140140
chardet_bc:
141141

@@ -150,13 +150,13 @@ jobs:
150150
python-version: '3.11'
151151
- name: Install dependencies
152152
run: |
153-
pip install -U pip setuptools
154-
pip install -r dev-requirements.txt
155-
pip uninstall -y charset-normalizer
153+
python -m pip install -U pip setuptools
154+
python -m pip install -r dev-requirements.txt
155+
python -m pip uninstall -y charset-normalizer
156156
- name: Install the package
157157
run: |
158158
python -m build
159-
pip install ./dist/*.whl
159+
python -m pip install ./dist/*.whl
160160
- name: Clone the complete dataset
161161
run: |
162162
git clone https://github.com/Ousret/char-dataset.git
@@ -189,14 +189,14 @@ jobs:
189189
allow-prereleases: true
190190
- name: Install dependencies
191191
run: |
192-
pip install -U pip setuptools
193-
pip install -r dev-requirements.txt
194-
pip uninstall -y charset-normalizer
192+
python -m pip install -U pip setuptools
193+
python -m pip install -r dev-requirements.txt
194+
python -m pip uninstall -y charset-normalizer
195195
- name: Install the package
196196
env:
197197
CHARSET_NORMALIZER_USE_MYPYC: '1'
198198
run: |
199-
pip install .
199+
python -m pip install .
200200
- name: Clone the complete dataset
201201
run: |
202202
git clone https://github.com/Ousret/char-dataset.git
@@ -223,13 +223,13 @@ jobs:
223223
python-version: '3.11'
224224
- name: Install dependencies
225225
run: |
226-
pip install -U pip setuptools
227-
pip install -r dev-requirements.txt
228-
pip uninstall -y charset-normalizer
226+
python -m pip install -U pip setuptools
227+
python -m pip install -r dev-requirements.txt
228+
python -m pip uninstall -y charset-normalizer
229229
- name: Install the package
230230
run: |
231231
python -m build
232-
pip install ./dist/*.whl
232+
python -m pip install ./dist/*.whl
233233
- name: Clone the complete dataset
234234
run: |
235235
git clone https://github.com/Ousret/char-dataset.git

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to charset-normalizer will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44

5-
## [3.3.1](https://github.com/Ousret/charset_normalizer/compare/3.3.0...3.3.1) (2023-10-??)
5+
## [3.3.1](https://github.com/Ousret/charset_normalizer/compare/3.3.0...3.3.1) (2023-10-22)
66

77
### Changed
88
- Optional mypyc compilation upgraded to version 1.6.0 for Python >= 3.8

0 commit comments

Comments
 (0)